GUI: Launch Application
Description
GUI: Launch Application step starts new application at runtime.
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. The name must be unique in a single workflow. |
| 2 | Path of Application | Specify the full path (including full path and filename with extension) of an application to launch. |
| 3 | Button: Browse | Click to browse the Application path. |
| 4 | Application Startup Time (In Seconds) | Specify a waiting period in minutes for application startup as specified in the Windows Path/Title above. Note: - You may manually check time taken by the application to load and come up with a better approximation of Application startup time. - If the user specifies the value as blank or 0, then the default value is 10 |
| 5 | Fail If Error Occurs | Check Fail If Error Occurs to specify the property for application validation. Notes: 1. If Fail If Error Occurs is selected: • The Window Path/Title field will be enabled and required. • The Application Startup Time (In Seconds) will be an implicit wait time. • The Close Application on Failure will be enabled. • A run time error will occur if the Window Path/Title value or the environment variable is blank. 2. If Fail If Error Occurs is cleared: • The Window Path/Title field will be disabled and not required. • The Application Startup Time (In Seconds) will be treated as explicit wait time. • The Close Application on Failure will be disabled. |
| Properties for validation: | Note: The following fields are available only if you select the Fail If Error Occurs checkbox. Provide the following field values that you want to validate: | |
| 6 | Windows Path/Title | Windows Path and Title are explained as follows: Windows Path is the relative path of the desktop application on which element exists. Enter Windows path manually in Step Configuration. Windows path may be provided as a String or regex. Sample of Windows Path as string: w[Desktop]/w[Application Name] ORSample of Windows Path as regex: w[Desktop]/w[/Application N/], w[Desktop]/w[/Application .*/], If you are putting partial application name then put ii as a regex between / and /. Also, if the Application name changes dynamically, it is a good idea to provide it as a regex. Window Title is the title of the Windows Application. (i.e. Application Name).Note: When specifying ‘Window Path/Title’ make sure that no other application, window or folder with the same title is open, else it may lead to confusion at runtime. If you get an error like “Window is not available or not loaded in specified time”, make sure that the Windows Path/Title, Path and application startup time are correctly specified. |
| 7 | close application on failure | Select the checkbox to close the application if the property validation is unsuccessful. |