Unable to validate Tooltip for Error Validations

Ask general questions here.
[email protected]
Posts: 4
Joined: Fri Mar 01, 2019 2:11 pm

Unable to validate Tooltip for Error Validations

Post by [email protected] » Fri Mar 15, 2019 2:47 pm

We are working on Ranorex version 8.2.1. We test a desktop application developed using c# and WPF.
I need to validate tooltip text on the error provider, but I am unable to capture the text value of tooltip.
We have tried using instant tracking, and then while NOT moving the mouse and the tooltip is still present, hit the ScrollLock key to create a SnapShot of the current state.
Still was unable to capture the tooltip text. Please guide through this.

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

Re: Unable to validate Tooltip for Error Validations

Post by odklizec » Mon Mar 18, 2019 8:33 am


As mentioned in your other post, Ranorex 8.2.1 is too old and no longer supported. Please try to reproduce your problem with 8.3.3 or 9.0.

Also, while doing instant tracking, were you able to see some tooltip details in Spy (without saving snapshot)? If the text in tooltip is not recognizable by Ranorex, then you may be out of luck. Unfortunately, it's impossible to suggest something without seeing the snapshot. Have you tried to save the snapshot directly from recording? Simply, if you are able to track the tooltip (with instant tracking), save the xpath to tooltip to repo. Then add Create Snapshot action to recording of your choice (after an action, which invokes the tooltip) and try to run it. If the tooltip is shown and recognizable by Ranorex, It should be possible to save the snapshot as well.
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