Get Full Window Title

This activity helps you retrieve the window title of the desktop-based application
for use in further validation steps within the workflow.

Technical Reference

 

 

 

 

Input

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.

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.

 

 

 

Output

FullWindowTitle:  It helps to view the output of the activity, displaying the specified “window's” title for the spied element. It returns the values in a “String” data type.

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.

Represents mandatory fields to execute the workflow

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

1.       Drag and drop the “GetFullWindowTitle” 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.

2.       Declare a variable to store the 'Result' of 'WindowTitle,' which only accepts the
'String' data type. Here, I am using the variable name 'GetWindowName.'

a.       Drag and drop the 'Write Line' activity to view the result of 'GetWindowTitle.'
It will return the application name. Based on this result, we can add validation
to the workflow.

3.       Now, execute the workflow to view the application name.