GST Billing Software

What is Alert Control?

Alert Control displays a specific validation message in an application.

Following are the Alert Controls:

Sl. No.

Name

Description

1.

Accept Alert

Use this action to Accept alert message displayed

2.

Cancel Alert

Use this action to Cancel alert message displayed

3.

Get Alert Text

Use this action to Get alert text displayed

4.

Is Alert Displayed

Use this action to check Alert displayed in the application in a specific location

Common properties among all the Alert Controls:

Sl. No.

Name

Description

1.

Font style

Affects font style appearance in the code

2.

Enabled

If true, then this line of code will be executed, else, this line of code will not be executed

3.

If Condition

If Condition can be used to perform some operations based on some conditions.

This property can be used with Variables control.

4.

Value

This property can be used to give input to the controls

5.

Description

Description can be used as comment

6.

XPath

The Xpath is used to locate a web element based on its XML path.

When you double click on the controls in the configuration options, they are added to the TestMethod.


Alert Control

The Control properties can be set in the Properties Panel on the right side of the window as shown below.


Alert Control Properties