While competing in the exacting modern software market, many companies find integrating automated testing into their overall testing process beneficial. This guide will help you better understand the different types of automated test solutions and how developers...
Validation of tooltips
Validating tooltips is a bit more challenging than validating other types of UI elements. In this chapter, you’ll learn how to do it.
We want to validate that the tooltip shown in the image below appears properly when a user hovers the mouse over the Shuffle button.
Activate tooltip validation
To activate tooltip validation:
Recorder hotkey activation
Activate Enable hotkeys.
Validate the tooltip
When the tooltip appears, press T.
Specifying tooltip validation
Ensure the attribute Exists is checked and click OK to confirm.
There are two recorded actions in the actions table. Action #2 is the tooltip validation.
Tooltip validation result
Linked repository item representing the tooltip UI element.
Download the sample solution
You can download the sample solution for this chapter here. It contains the finished solution with all recorded actions.
Install the sample solution:
Unzip to any folder on your computer.
Start Ranorex Studio and open the solution file
The sample solution is available for Ranorex Studio versions 8.0 or higher. You must agree to the automatic solution upgrade for versions 8.2 and higher.