Tooltip validation

Ask general questions here.
Hardeep
Posts: 5
Joined: Thu Jun 30, 2016 8:43 am

Tooltip validation

Post by Hardeep » Thu Jun 30, 2016 8:52 am

I am trying to validate tooltip text but I am fail to capture the text value of tooltip.
please help!!!



Thanks
Hardeep kaur

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3922
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Tooltip validation

Post by odklizec » Thu Jun 30, 2016 9:48 am

Hi,

To automate/validate tooltips, you need to use "Instant Tracking" feature, as described here:
http://www.ranorex.com/support/user-gui ... html#c3181
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Hardeep
Posts: 5
Joined: Thu Jun 30, 2016 8:43 am

Re: Tooltip validation

Post by Hardeep » Thu Jun 30, 2016 10:02 am

Hi odklizec

Hi have tried "Instant Tracking" feature but its not capture the tooltip text.
Please provide me any alternative

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3922
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Tooltip validation

Post by odklizec » Thu Jun 30, 2016 11:19 am

I'm afraid, I don't know any alternative. It's hard to say what could be wrong without more details about the app in question and its tooltip implementation.

What kind of technology is the app in question (wpf, java, mfc, qt, etc...)?
Could you please post a Ranorex snapshot (not screenshot) of the application, specifically the element with tooltip?
Ideally, could you please post a sample app with problematic tooltip (something like "hello world" with one button and tooltip)?
Also, what version of Ranorex do you use (latest is 6.0.1)?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
Aracknid
Posts: 342
Joined: Tue Aug 10, 2010 3:23 pm
Location: Toronto, Ontario, Canada

Re: Tooltip validation

Post by Aracknid » Thu Jun 30, 2016 3:49 pm

Use instant tracking, and then while NOT moving your mouse and the tooltip is still present, hit the ScrollLock key to create a SnapShot of the current state. This will capture the tooltip properly. If you move the mouse, or switch to Spy before it is done creating the snapshot, your snapshot will not contain the tooltip. Either wait about 15 seconds (or more) for the snap shot to be created, or resize your app to take up part of the screen and Spy to take up part of the screen, and you can see what is going on.

Aracknid.