Popup Handler

This activity allows you to automate the actions that you want to perform on a popup dialog window that appears in front of the web and  excel application. Examples of a pop up window are authentication pop up, confirmation alert and others.


NOTE:  

 This activity must be used inside an Application activity or the system displays an error.

  

Using Popup Handler Activity

1.    In the Canvas Tools pane, click Process Components to expand the tool and view the associated activities.

2.    Drag the Application activity and drop on to the Flowchart designer on the  Canvas.

 

 

3.    Double click the Application activity, drag the Popup Handler and drop inside the Application activity.

4.    Click the (Settings) icon, to configure the controls of the pop up. The Popup Configurator dialog box appears. The configuration of control differs based upon the type of application and the type of browser used to open the application. Following are the steps to configure the control based on the type of application and browser:

 

·       If the Popup Handler activity is used for an IE based web application or an Excel application:

 

 

a.    Click Add to add the control.

b.    In the Popup Window Caption, enter the name of the pop up window you want to handle.

c.     In the Control Type list, select the type of control to be automated. Currently, text box and button type are supported. A text box needs user input while a button needs while a button needs an action. For example, while creating Sign-in process, if popup prompt for credentials appear, you can use the text box option of the Popup Handler activity to provide the inputs.

d.    In the Control Id field, enter the Id of the control to automate. The Id attribute is an identifier by which the selected control is accessed in the code, for example, ffnf. This option is disabled if the Control Type selected is Button.

e.    In the Field To Map list, select the available argument in the process workflow to map the value set in the text box. You must define the parameter in the Parameter bar to make it available for selection. This option is not available if Control Type selected is Button.

 

·       If the Popup Handler activity is used for a Chrome or a Firefox based web application:

 

 

a.    In the Popup Window Caption, enter the name of the popup window you want to handle. This field is not relevant when the application opens in a Chrome or a Firefox browser but the caption must be set as a dummy value.

b.    In the Control Type list, select the type of control to be automated. Currently, text box and button type are supported. A text box needs user input while a button needs while a button needs an action. For example, while creating Sign-in process, if popup prompt for credentials appear, you can use the text box option of the Popup Handler activity to provide the inputs.

c.     In the Control Id list, select the action to perform on the popup handler. Available options are Accept and Cancel. This option is disabled if the Control Type selected is Textbox.

d.    In the Field To Map list, select the available argument in the process workflow to map the value set in the text box. You must define the parameter in the Parameter bar to make it available for selection. This option is not available if Control Type selected is Button.

The Popup Handler activity is created.

 

Popup Handler Properties

The properties of a Focus Window activity are listed in the following table and can be edited in the Properties grid on the right panel.


Property Name

Usage

Control Execution

Ignore Error

When this option is set to Yes, the application ignores any error while executing the activity.

If set to NA, it bypasses the exception (if any) to let the automation flow continue; however, it marks the automation status as failure, in case of an exception.

By default, this option is set to No.

Delay

Wait After

Specify the time delay that must occur after the activity is executed. The value must be in milliseconds.

Wait Before

Specify the time delay that must occur before the activity is executed. The value must be in milliseconds.

Misc

Breakpoint

Select this option to mark this activity as the pause point while debugging the process. At this point, the process freezes during execution allowing you to examine if the process is functioning as expected.

In large or complex processes, breakpoints help in identifying the error, if any.

Commented

Select this option to mark this activity as inactive in the entire process. When an activity is commented, it is ignored during the process execution.

DisplayName

The display name of the activity in the flowchart designer. By default, the name is set as Popup Handler. You can change the name as required.

Window Title

Name of the pop up window. Is same as Popup Window Caption.

On This Page Hide

   

   Related Topics

Win Popup Handler