Hello,
I assume that you have opened your recording in Ranorex Studio. In the recording file view, there is the actions table in the upper part, in the lower part, there is your repository.
Add actions according to a repository item with drag&drop.
Simply take e.g. FORM1 with the mouse, move it to the upper part (action table), and drop it there. Now, Ranorex pops up a context menu.
Select Validate for validation or InvokeAction for activating the form.
If selecting Validate, define the way of validation (Exists, NotExists, AttributeEqual....).
If selection InvokeAction, select the action (Activate, Maximize, Minimize...).
If you also want to have some logic within your operation (if exists then activate....), you have to write this within the code. Therefore, convert your action to user code.
For more information on this, go to
Code Examples.
Best Regards,
Martin
Ranorex Support Team