The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Compuware QARun

Pages: 1
srapin
Junior Member


Reged: 01/21/02
Posts: 35
Loc: France
How to capture ToolTip
      #153044 - 10/20/04 07:46 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
SimonFromLeeds
Member


Reged: 08/12/04
Posts: 139
Loc: Leeds
Re: How to capture ToolTip
      #153045 - 10/20/04 08:51 AM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
srapin
Junior Member


Reged: 01/21/02
Posts: 35
Loc: France
Re: How to capture ToolTip
      #153046 - 10/21/04 01:28 AM

I see.
Unfortunatly, it is not from IE or web browsers. It is a software developped in java.


Post Extras: Print Post   Remind Me!   Notify Moderator  
chiefwiggum
Active Member


Reged: 06/03/02
Posts: 713
Loc: farmington hills, MI, US
Re: How to capture ToolTip
      #153047 - 10/21/04 09:45 AM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
srapin
Junior Member


Reged: 01/21/02
Posts: 35
Loc: France
Re: How to capture ToolTip
      #153048 - 10/25/04 12:12 AM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
madh926
Newbie


Reged: 07/20/09
Posts: 3
Re: How to capture ToolTip [Re: srapin]
      #580963 - 07/20/09 06:22 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Myrtle
Awsome Member


Reged: 06/12/06
Posts: 662
Loc: Spain
Re: How to capture ToolTip [Re: madh926]
      #580987 - 07/20/09 07:34 AM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  Jim Brennan, AJ, DSquared 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 6422

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5