maumrm
5 years agoContributor
How to verify text while hovering mouse over object?
I am trying to verify text that appears when the cursor is hovered over an object. For example an object of a trash can which when hovered over displays "Delete". The word delete can not be navigated...
- 5 years ago
Hi,
The easiest solution for you is to use ImageRepository in your script.
Example:
1) Hover your mouse cursor over the icon
2) Wait until the hit appears
3) Check ImageRepository if the image already exists on the screen
4) Look for the image in the repository
5) check the image value
6) Log resultsOf course you can try to dynamically search for an object using .wait() or .find(), but you must write your own function for it.
Another solution is to enable this option:
and you can use this option to search for a textObject.