Application Actions

The "ApplicationActions" activity assists you in minimizing, maximizing, closing,
moving, resizing, and rotating the application.

Technical Reference

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input

Action_by: Specify which action needs to be taken:

 

Minimize: This option helps you minimize the application.

Maximize: This option helps you maximize the application.

Close: This option helps you close the application.

Move: This option helps you move the application.

Resize: This option helps you resize the application.

Rotate: This option helps you rotate the application.

 

By default, it will be set to the 'Minimize' option.

DelayAfter: It assists the user to add a delay before initiating subsequent activities.

The delay duration here is in milliseconds. By default, it is set to "300" milliseconds.
When the option is left blank, the delay will not be considered.

DelayBefore: It assists the user in adding a delay before starting the execution of the activities.

The delay duration here is in milliseconds. By default, it is set to "300" milliseconds.
When the option is left blank, the delay will not be considered.

Execute_by: Gets auto-filled once the "Active Application" is selected. This contains the set of attributes for the specific spied element.

UIA3: It indicates the user to integrate "UIA3" functionality within the workflows. It accepts values in "Boolean" datatype. 

True: It will enable "UIA3" functionality within the workflow.

False:  It will disable "UIA3" functionality within the workflow.

By default, the parameter is set to false. When left empty, it will not consider UIA3 functionality. 

WaitTime: It enables the user to introduce a delay before initiating subsequent activities. The delay is specified in milliseconds.

 

By default, it is set to 10000 milliseconds. Leaving the option blank will result in no delay being applied."

 

 

 

 

 

 

 

Misc

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the "Boolean" value as "True" or "False."

 

True: Continue executing the workflow regardless of any errors thrown.

False: Halt the workflow if it encounters any errors.

None: If the option is left blank, the activity will, by default, behave as if "False" were chosen.

Version: It indicates the version of the feature being used.

 

 

 

 

Move

XPos: Provide an X coordinate for horizontal movement of the application. Decimal numbers are acceptable.
Leaving the option blank will result in no action required.

YPos: Indicate a Y coordinate for vertical movement of the application. Decimal numbers are acceptable.
Leaving the option blank will result in no action required.

Output

Result: It provides the ability to view the execution status of the activity. It returns values in "Boolean."

 

True: Indicates that the activity has been executed successfully without any errors.

False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

 

 

 

 

Resize

WindowHeight: Specify the desired window height for resizing the application. Decimal numbers are acceptable.
Leaving the option blank will result in no action required.

WindowWidth: Specify the desired window width for resizing the application. Decimal numbers are acceptable.
Leaving the option blank will result in no action required.

 

Rotate

RotateDegrees: Specify the degree of rotation for the application. Decimal numbers are acceptable.
Leaving the option blank will result in no action required.

Represents mandatory fields to execute the workflow

Here’s an example of how the “ApplicationAction” works in the workflow –

1.       Drag and drop the “ApplicationAction” activity onto the designer pane.

a.       Double click on the activity.

b.       Here we are choosing the "Select Active Application" option.

c.       Click here to know “Link from Reusable Objects.

d.       Choose the application you want to launch. Here, we selected the "Calculator"
app.

e.       Once you have chosen the "Active Application," the application's elements will
be stored in the "Spy" window, along with an "Image" of the application.

f.        If you wish to add or remove any attributes, you can edit the "AttributesEditor."
In this case, we are not making any changes in the “Editor.”

i.      Once you click on the "Save" button, the application's element will be stored in
the activity window.

ii.      Choose the preferred "ActionType"; in this case, we are selecting the "Maximize"
option.

Click here to know how the activity is used in the workflow.