Tuesday, June 21, 2022

How to automate window operations with window & control actions

Software Environment
Version: 5.1
Edition: Standard

Brief explanation: An example of using window & control actions (The window & control actions wizard is located on Insert window & control action button of Insert group panel) to automate the installation program. 

Detailed steps:
1. Enter the Editor mode. Use Run action to run the installer (Click Insert file action button on Insert group panel and select Run program item, then select the path of the installer on the path input box of Insert run program window and click Insert button).


Action sample:

Tip: Add a delay action after each action to ensure smooth execution (Click Insert time action button on Insert group panel and Select Delay item, then fill 500 milliseconds on Insert delay window and click Insert button).


Action sample:

2. Wait for the installer window to appear and prepare to use the control action (Click Insert window & control action button on Insert group panel and select Window manager item, then choose the title of the installer window in the title list and select Wait Win action in the actions list and click Insert button).


Action sample:

3. Use control actions wizard (Click Insert window & control action button on Insert group panel and select Control manager item).

4. Identifies the control information of the Install button (Press Finder icon, drag the icon to the Install button and release the icon, then select Click Con action in the actions list and click Insert button).

Action sample:

5.Add a delay action to wait for the installation process to finish.

Action sample:

6. Identifies the control information of the Finish button (Press Finder icon, drag the icon to the Finish button and release the icon, then select Click Con action in the actions list and click Insert button).

Action sample: