Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note

These actions are available when working with the Android application testing only.

Select

This action selects the specified radio button.

This action does not have any input parameters. 

Example:

Select

SelectByIndex

This action selects the specified radio button based on its index number. The index starts from 1. This action should be used only when radio button is part of a radio-group and group has a valid resource ID on Android.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

groupName

Enter the resource ID of the radio group.

Yes

 String

Index

Enter the index of the radio button in the radio group. Index starts at 1.

No

String

Example:

SelectByIndex              "com.sample.app:id/radiogroup1"         "2"

On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue

IsSelected

This action verifies whether the radio button is selected or deselected.

Input Parameters:

ParameterName

Parameter Description

Mandatory

Data Type

State

Value of this parameter can be either True or False.

  • Set True if you want to check that the radio button is selected.
  • Set False if you want to check that the radio button is deselected.

No

String

If radio button is selected and state is "true", result is success. If radio button is selected and state is "false" result is failure.

If radio button is not selected and state is "true", result is failure. If radio button is not selected and state is "false" result is success.

Example:
IsSelected                    "True"

SelectIfTrue

This action selects the radio button if parameter passed is TRUE.

Input Parameters:

ParameterName

Parameter Description

Mandatory

Data Type

Select

Value of this parameter can be true or false.

  • Set True if you want to select the radio button.
  • Set False if you do not want to select the radio button.

No

String

Example:
SelectIfTrue                        "True"


Multiexcerpt include macro
nameClick
pageWebButton Actions

Multiexcerpt include macro
nameLongPress
pageMobileButton Actions

Multiexcerpt include macro
nameSwipe
pageMobileButton Actions

Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

Multiexcerpt include macro
nameVerifyEnability
pageWebButton Actions

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions