Use small unique images in your scripts. This reduces the impact of display changes to the script.
The example below provides a much smaller, unique image to use to identify the logo.
While CitraTest® has a record feature, manual scripting using the “Capture image/Insert script function” method, results in scripts that are more reliable and easier to debug. After a short learning curve, manual scripts can be created almost as quickly as recorded scripts. When creating a new CitraTest script, use the following steps.
The first step to accomplish in many CitraTest® scripts is starting the application. While it is tempting to double-click desktop icons, or use the Start menu to launch an application, the AppStart function is easier and more reliable.
1 |
3 |
Select AppStart from the CitraTest Scripting menu. Choose the executable that launches the application and the image of the title bar used to verify the application is running. |