srapin
Junior Member
Reged: 01/21/02
Posts: 35
Loc: France
|
|
Hi,
Is it possible to capture Tooltip text that appear when pointing with aa mouse on an object? I have a java application and when I point to it with the mouse, a Tooltip appears. And I need to capture the text displayed.
QARun (4.9.0 build 181) Thanks in advance
|
SimonFromLeeds
Member
Reged: 08/12/04
Posts: 37
Loc: Leeds
|
|
Shirley your best bet is to check the HTML source of the application generates and look for the tag and the tag title which controls the tools tip?
Eg using IE do menu > View > Source. Then in notepad do menu > Search > Find > look for the tag of the object and then the title.
|
srapin
Junior Member
Reged: 01/21/02
Posts: 35
Loc: France
|
|
I see. Unfortunatly, it is not from IE or web browsers. It is a software developped in java.
|
chiefwiggum
Active Member
Reged: 06/03/02
Posts: 712
Loc: farmington hills, MI, US
|
|
Try using a mousemove to get the mouse into the position to display the tooltip and then use a capturebox in the location of the tooltip to see if you can get the text from the tooltip. This may require some tweaking and string manipulation to get the exact result that you are hopeing for.
|
srapin
Junior Member
Reged: 01/21/02
Posts: 35
Loc: France
|
|
OK. I will try this. The only thing I hope is that coordinates of tooltip will always be the same cause I don't know how to get them by a command instead of "by hand".
Anyway Thank you everyone.
|
madh926
Newbie
Reged: 07/20/09
Posts: 3
|
|
Hi,
I'm trying to capture tooltip when mouse hovering an object. I've tried mouse hover method and tooltip is displayed, and I'm able to capture the tooltip, but each time I playback the script, it can't find the object. When I used object properties to capture the tool tip, it displayed: Aliases.java.mainFrame.RootPane.null_layeredPane.SwingObject("JPanel", "", 0).SwingObject("JToolTip", "", 0);
Is there a way to capture the tooltip? Thanks
|
Myrtle
Awsome Member
Reged: 06/12/06
Posts: 660
Loc: Spain
|
|
There's a patch for the latest QARun to enable Capturebox with Windows NT SP4 and XP SP2 (I think, from memory). Compuware will let you have it if you ask them. I think it's in ccalib.dll. Without this patch the text looks as if it's captured OK but in fact it hasn't been retained by QArun.
|