User case

There may be situations where an element of a specific type and property will need to be located. The distinguishing factor may not be known before the test run, so we need a solution that would be able to locate these controls on-the-fly.


Solution

Dynamic identification can be used to find these controls using information defined within the test itself. The example below will showcase this functionality.



In that example, the “login” window is searched for a button control with the caption “Login”. This control does not need to be predefined in the Interface Viewer. That button is found and then clicked. More information regarding dynamic identification can be found in the Dynamic Identification help article.