GST Billing Software

What is Dropdown Control?

A Dropdown control contains more than one value and allows a user to select only one value at a time.

Following are the Dropdown Controls:

Sl. No.

Name

Description

1.

Get Dropdown Items count

Use this action to read the count of the Dropdown

2.

Is Dropdown Item Exists

Use this action to check whether a dropdown contains any value

3.

Is Dropdown Item selected

Use this action to check whether Dropdown is selected with a value

4.

Select by Index

Selects an item from the dropdown by Index

5.

Select by Text

Selects an item from the dropdown by Text

6.

Select by Value

Selects an item from the dropdown by Value

Following are the additional properties:

Sl. No.

Name

Description

1.

Select by Index

In Index property, provide the Index value of an item to select

2.

Select by Text

In Index property, provide the Text value of an item to select

3.

Select by Value

In Index property, provide the Value of an item to select

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


Dropdown Control

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


Dropdown Control