GST Billing Software

What is a Listbox?

A Listbox control contains a set of values and allows a user to select multiple values at a once.

Following are the Listbox Controls:

Sl No.

Name

Description

1.

Deselect all Listbox items

Use this action, to deselect all selected list

2.

Deselect Listbox item By Index

Use this action, to deselect all selected list by Index

3.

Deselect Listbox item By Text

Use this action, to deselect all selected list by Text

4.

Deselect Listbox item By Value

Use this action, to deselect all selected list by Value

5.

Get Listbox items, Count

Use this action to read the count of the Listbox

6.

Is Listbox Item Exists

Use this action to check whether a Listbox contains any value

7.

Is Listbox Item Selected

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

8.

Is Listbox multiple selections allowed

Use this action to check multiple selections at once

9.

Select all Listbox items

Use this action to Select all Listbox items

10.

Select Listbox Item by Index

Selects an item from the Listbox by Index

11.

Select Listbox Item by Text

Selects an item from the Listbox by Text

12.

Select Listbox Item by Value

Selects an item from the Listbox by Value

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

Following are the additional properties:

Sl No.

Name

Description

1.

Select Listbox Item by Index

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

2.

Select Listbox Item by Text

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

3.

Select Listbox Item by Value

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

4.

Deselect Listbox item By Index

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

5.

Deselect Listbox item By Text

In Text property, provide the Text value of an item to deselect

6.

Deselect Listbox item By Value

In Value property, provide the Value of an item to deselect

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


 Listbox Control Properties

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


 Listbox Control Properties