GST Billing Software

What are Common Controls?

Common Controls are those, which will be used in most Scenarios.

Following are the Common Controls:

Sl. No.

Name

Description

1.

Press Enter Key

This action invokes keyboard ENTER key press

2.

Quit web driver

Use this action to stop the selenium driver. All subsequent actions will not be executed

3.

Wait

Wait for action allows the user to wait for some time. The duration is given in seconds

4.

Log

Use this action to log custom message to the report

5.

Capture screenshot

Use this action to capture screenshot of the web page displayed on the browser. It only captures web content displayed inside the browser

6.

Is Displayed

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


Common properties among all the Action 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, otherwise, 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 for providing comments

6.

XPath

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

In the image below, you can view the configurations/controls added in the Project Configuration Section, as a TestMethod.


Test Case Control Properties

The image below shows the properties of a control.


Common Actions