Welcome to the new Ranorex Support Portal

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.

In this chapter

Test definition

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

Further reading

Recorder hotkeys are explained in Ranorex Studio fundamentals > Ranorex Recorder> ⇢ Recorder control center & hotkeys.

Validate the tooltip

  1. Place the cursor over the UI element whose tooltip you want to validate.

  2. When the tooltip appears, press T.

Specifying tooltip validation
  1. In the next screen, check whether the correct tooltip element has been selected and click Next to confirm.

  2. 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
  1. Actions table and tooltip validation action.

  2. 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.


Sample solution

Theme: Tooltip validation
Time: 15 minutes

Install the sample solution:

  1. Unzip to any folder on your computer.

  2. Start Ranorex Studio and open the solution file TooltipValidation.rxsln



Get the latest test automation information right in your mailbox.


© 2024 Ranorex GmbH. All Rights Reserved