Versions Compared

Key

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

Multiexcerpt include macro
nameScrollIntoView
pageWebButton Actions

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue

Multiexcerpt include macro
nameVerifyVisibility
pageWebButton Actions

Multiexcerpt macro
nameIsChecked

IsChecked

This action verifies whether the specified check box is selected.

Input Parameters:

Parameter Name

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 checkbox is selected
  • Set False if you want to check that the checkbox is deselected

Yes

String

Example:
IsChecked                           "True"

Check

This action selects the specified check box.

This action does not have any parameter.

Example:
Check

UnCheck

This action deselects the specified check box. 

This action does not have any parameter.

Example:
UnCheck


Multiexcerpt include macro
nameClick
pageWebButton Actions

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

Multiexcerpt include macro
nameSetFocus
pageWebButton Actions

SelectByIndex

This action selects the specified checkbox based on its index number. The indexes start from 1.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

groupName

Enter the group name to which the check box belongs to. This is the name attribute in html.

Yes

String

index

Enter the index of the check box in the group to be selected. Index starts from 1.

Yes

String

Example:

SelectByIndex                             "Occupation"                  "3"

Multiexcerpt include macro
nameVerifyEnability
pageWebButton Actions

Multiexcerpt include macro
nameClickAt
pageWebButton Actions

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions

CheckIfTrue

This action selects the specified check box, only if the parameter passed is true.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

check

Value of this parameters can be true or false.

Yes

String

Example
CheckIfTrue                        "TRUE"


Multiexcerpt include macro
nameClickAndWait
pageWebButton Actions

Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions

Multiexcerpt include macro
nameStoreChildCount-withoutlocator
pageWebButton Actions

Multiexcerpt include macro
nameClickJS
pageWebButton Actions

Multiexcerpt include macro
nameActionClick
pageWebButton Actions


Multiexcerpt macro
nameWaitForSelectionStateToBe

WaitForSelectionStateToBe

This action waits for the object to go to the specified state. You may specify the timeout and polling interval, if required.

 Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
expectedSelectionStateEnter the expected selection state. Set True for selection and False for deselection.YesBoolean
timeOutEnter the timeout (in seconds) to wait for the object to get selected.     NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the selection of the object before exhausting timeout. NoInteger
keySelectionStateEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForSelectionStateToBe          "False"        "5"          "500"       "Key"       "Defect"