Hi everyone,
I would want to validate a tooltip that appears after hovering mouse over a link that has title attribute. In FireFox it appears under form element and I was able to add it to repository as it follows:
/form[@processname='firefox' and @accessiblerole='ToolTip' and @accessiblestate~'ReadOnly']
Text is also reachable, so I can validate it.
However, in Edge/Chrome when I hover over the link and the tooltip appears, I can only see a container element appearing without any kind of details, child element, or text within. Attached are the screenshots of the new element appearing in Ranorex Spy, directly under Host.
Do you have info about, if its possible to add and validate text of a tooltip in Chrome/Edge with the following versions?
Ranorex Version: 10.2.2 (32-bit)
Chrome version: Version 111.0.5563.65 (official build) (64-Bit)
Edges version: Version 111.0.1661.41 (official build) (64-Bit)
Thank you in advance,
Zoltan
Validating ToolTip in Edge/Chrome
Validating ToolTip in Edge/Chrome
You do not have the required permissions to view the files attached to this post.
Re: Validating ToolTip in Edge/Chrome
Without having a snapshot for deeper insight it is hard to tell.
Usually I can validate tooltips fine in Chrome, but there are tons of different implementations of tooltips out there...
Your container is named "dropdown".
So this looks like the element is a dropdown (maybe the one you are hovering on?), and not a tooltip
What you could try is to open Chrome DevTools console (F12) and watch the DevTools while you hover onf/off the element, most likely you will see the tooltip showing and disappearing.
Usually I can validate tooltips fine in Chrome, but there are tons of different implementations of tooltips out there...
Your container is named "dropdown".
So this looks like the element is a dropdown (maybe the one you are hovering on?), and not a tooltip
What you could try is to open Chrome DevTools console (F12) and watch the DevTools while you hover onf/off the element, most likely you will see the tooltip showing and disappearing.
Re: Validating ToolTip in Edge/Chrome
Thank you for the tips, I will give it a go!