ToolTipTitle : Automation Tools

ToolTipTitle

Ranorex Spy, Recorder, and Studio.

ToolTipTitle

Postby SanMan » Wed Feb 23, 2011 3:32 pm

Hi,

with
string text = Ranorex.ToolTip.Current.Text;
I can easily find the tooltip text.

But how I can find the ToolTipTitle (/ ToolTipIcon) ?
SanMan
 
Posts: 49
Joined: Tue Apr 13, 2010 10:59 am

Re: ToolTipTitle

Postby Support Team » Wed Feb 23, 2011 11:01 pm

A tooltip normally doesn't have title or icon.
What kind of tooltip is that you are dealing with?
Tooltip normally is a top level window.
If you press <Ctrl>+<Window Key> the spy is refreshed. The tooltip might be visible in the top level.
You can look at the tooltip's structure there.

Regards
Roland
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: ToolTipTitle

Postby SanMan » Thu Feb 24, 2011 1:46 pm

I have got information that it should be like under:
http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.tooltiptitle.aspx

When I try to do <Ctrl>+<Window Key> while tooltip is shown, I do not get any information to Spy.

I got the ToolTipIcon with:

System.Drawing.Bitmap icon_a = Ranorex.ToolTip.Current.CaptureCompressedImage();
It will be enough for now...

Thank you for the help.
SanMan
 
Posts: 49
Joined: Tue Apr 13, 2010 10:59 am


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests

cron