GST Billing Software

What is a Random function/control?

Random control always returns an unexpected number within a specified range.

Following are the Random Controls:

Sl. No.

Name

Description

1.

Get GUID

Use this action to get a unique random alphanumeric value

2.

Get Random Number

Use this action to get a random number with the given number range (i.e. Maximum Range and Minimum Range)

Common properties among all the Random 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.


Random Control

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


Random Control