Tips
June 19, 2024

Tip of the Day 10

Tip 10

Execute Faster on Windows Application by Ignoring Elements

How to use this Tip?

1. To find an element during Playback on a Windows application, Sahi Pro internally iterates through all the elements on the application screen.

2. This iteration can be made faster by ignoring the hidden and/or disabled elements in your application.

To achieve this, configure the following properties in <SahiPro>/userdata/config/userdata.properties file.

1. Add below property to ignore hidden elements in your application

sahi.desktop_automation.windows_automation.ignore_hidden_elements=true

2. Add below property to ignore disabled elements in your application

sahi.desktop_automation.windows_automation.ignore_disabled_elements=true

Download this Tip as a PDF

Continue reading