Versions Compared

Key

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

On this Page:

Multiexcerpt fast block macro
nameClick Action

Click

This action clicks the specified object.

This action does not have any parameters.

Example:

Click

ClearText

This action clears the text present in the specified text box.

This action does not have any parameter.

Example:
ClearText

MouseOver

This action simulates a mouse hovering over the specified object.

This action does not have any parameter. 

Example:

MouseOver

Set

This action sets the focus on the specified object.

This action does not have any parameter. 

Example:

SetFocus

StorePropertyValue

This action stores the property of the specified object under the key name. The stored key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

Enter the key name under which the property value will be stored.

Yes

 String

Property

Property/attribute name whose value needs to be stored under the specified key. This can be any accessible property of Android/iOS native object mentioned above.

Yes

 String

Example:

StorePropertyValue                            "key"                     "text"

VerifyEnability

This action verifies the enability of the specified object. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

VerifyEnability      "True"

VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution

Yes

String

Example:

VerifyExistence      "True"

VerifyVisibility

This action verifies the visibility of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution

No

String

Example:

VerifyVisibility                          "True"

Multiexcerpt fast block macro
nameSetActions Action

SetFocus

This action sets the focus on the specified object.

This action does not have any parameter. 

Example:

SetFocus

SetValueAttribute

This action sets the data specified in the value attribute of the object.

Parameter Name

Parameter Description

Mandatory

Data Type

value

Enter the value for the value attribute.

Yes

String

Example:
SetValueAttribute           "#ff0990"

Multiexcerpt fast block macro
nameStoreActions Action

StoreChildCount

This action stores the child count of the specified object in the specified variable. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

Enter a variable to store the child count.

Yes

String

Example:
StoreChildCount                               "Key"

StoreCSSProperty

This action stores the CSS property value of the object in the specified variable.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyProperty

Enter a variable to store the CSS property value. 

Yes

String

propertyEnter the CSS property name whose value you want to store.YesString

Example:
StoreCSSProperty     "Key"     "display"       

StoreExistence

This action stores the existence of the object in the specified variable. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

Enter one of the folowing:

  • Stores True if the object exists.
  • Stores False if the object does not exist.

Yes

String

Example:
StoreExistence          "Key"

StoreLocation

This action stores the current location of the object in the specified variable. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyXPosition

Enter a variable to store the height of the location of the object.

Yes

String

keyYPosition

Enter a variable to store the width of the location of the object.

Yes

String

Example:
StoreLocation       "Height"            "Width"

StorePropertyValue

This action stores the property value of the specified object in the specified variable. 
Input Parameters:

ParameterName

Parameter Description

Mandatory

Data Type

Key

Enter a variable under to store the property value.

Yes

 String

Property

Property/attribute name whose value needs to be stored under the specified key.

Yes

 String

Example:

StorePropertyValue                            "key"                     "text"

StoreSize

This action stores the height and width of the specified object in the specified variables. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyXPosition

Enter a variable to store the height of the object.

Yes

String

keyYPosition

Enter a variable to store the width of the object.

Yes

String

Example:
StoreSize     "Height"                   "Width"

StoreText

This action stores the text that exists inside the specified object in the specified variable. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyText

Enter a variable to store the text from the specified object.

Yes

String

Example:
StoreText    "Key" 

StoreValueAttribute

This action stores the data present in the value attribute of the object in the specified variable.

Parameter Name

Parameter Description

Mandatory

Data Type

strKey

Enter a variable to store the data present in the value attribute of the object.

Yes

String

Example:
StoreValueAttribute        "K1"

StoreVisibility 

This action stores the visibility status for a web element under the specified key name in the following conditions:

  • True: If the web element is visible.
  • False: If the web element is not visible.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

strKey

Enter a variable to store the visibility status.No

String

Example: StoreVisibility   "Key"

Multiexcerpt fast block macro
nameVerifyActions Action

VerifyEnability

This action verifies the enability of the specified object. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

VerifyEnability      "True"

VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution

Yes

String

Example:

VerifyExistence      "True"

VerifyVisibility

This action verifies the visibility of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution

No

String

Example:

VerifyVisibility                          "True"

Multiexcerpt fast block macro
nameWaitActions Action

WaitForAttributeContains

This action waits until the value of the specified attribute changes to the expected partial value. This comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value you want to check.

Yes

String

attributeValue 

Enter the partial expected partial attribute value.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value within the specified timeout. 

No

String

keyAttributeValueContains

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report if the expected condition fails. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForAttributeContains      "id"           "we323es"        "5"          "500"     "Key"       "Defect"

WaitForAttributeNotContains

This action waits until the specified attribute's value of the object changes to other than the partial parameterized value. This comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.   
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value you want to check.

Yes

String

attributeValue 

Enter the value which should not be there in the attribute value.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the value to change. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the unexpected value before exhausting timeout.

No

String

keyAttributeValue

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report if the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForAttributeValueContains      "id"           "232waf"        "5"          "500"     "Key"       "Defect"

WaitForAttributeNotToBe

This action waits until the specified value attribute of the object changes to other than the exact parameterized value. This comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value you want to check.

Yes

String

attributeValue 

Enter the value which should not be there in the attribute value.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the value to change. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyAttributeValueNotToBe

Enter a variable to store the step result.

After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForAttributeNotToBe      "id"           "232waf"        "5"          "500"     "Key"       "Defect"

WaitForAttributeNotToBeEmpty

This action waits until the specified value attribute of the object gets filled with some value. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value you want to check.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the attribute value.  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. 

No

String

keyAttributeValue

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForAttributeNotToBeEmpty      "id"           "5"          "500"     "Key"       "Defect"

WaitForAttributeToBe

This action waits until the value of the specified attribute changes to the exact expected value. This comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.   
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value you want to check.

Yes

String

attributeValue 

Enter the exact expected value.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the expected value. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. 

No

String

keyAttributeValue

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForAttributeToBe         "id"           "232waf"        "5"          "500"     "Key"       "Defect"

WaitForAttributeToBeEmpty

This action waits until the specified value attribute of the object gets empty. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value you want to check.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the attribute value to be empty.  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. 

No

String

keyAttributeValue

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForAttributeToBeEmpty      "id"           "5"          "500"     "Key"       "Defect"

WaitForChildElement

This action waits for the child elements of the specified object to appear. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

childLocatorType

Enter the locator type of the object whose child you want to check.

Yes

String

childLocatorValue

Enter the locator value of the child you want to check. 

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the elements to appear. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. 

No

String

keyExistence

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForChildElement      "id"       "2"         "5"          "500"     "Key"       "Defect"

WaitForClickability

This action waits until the specified object is clickable. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the object to be clickable.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the object clickability before exhausting timeout. 

No

String

keyClickability

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForClickability     "5"          "500"     "Key"       "Defect"

WaitForExistence

This action waits until the specified object exists on the page. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the existence of the object.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the existence of the object before exhausting timeout. 

No

String

keyExistence

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForExistence    "5"          "500"     "Key"       "Defect"

WaitForInnerTextContains

This action waits until the object contains the expected partial text. The comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Enter the expected text you want to wait for.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the expected text.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. 

No

String

keyInnerTextContains

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForInnerTextContains "Connect"       "5"       "500"     "Key"       "Defect"

WaitForInnerTextMatchesPattern

This action waits until the inner text from the specified object matches with the expected text regular expression pattern. The comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerTextRegXPattern

Enter the expected pattern for the inner text. Pattern should be regular expression. Step fails in case the pattern is invalid.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the expected text.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. 

No

String

keyInnerText

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForInnerTextMatchesPattern    ".[My]text."       "5"       "500"     "Key"       "Defect"

WaitForInnerTextNotContains

This action waits until the specified attribute's value of the object changes to other than the parameterized value. The comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Enter the text which should not be there in the attribute value. 

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the inner text to disappear.    

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. 

No

String

keyInnerTextNotContains

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForInnerTextNotContains "Connect"       "5"       "500"     "Key"       "Defect"

WaitForInnerTextNotToBe

This action waits until the inner text of the object changes from the specified text. The comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Enter the text which should not be there in the object.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the text to change.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. 

No

String

keyInnerTextNotToBe

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForInnerTextNotToBe   "Connect"       "5"       "500"     "Key"       "Defect"

WaitForInnerTextToBe

This action waits until the object contains the expected exact text. The comparison is case-sensitive. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Enter the expected text you want to wait for.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the expected text.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. 

No

String

keyInnerText

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForInnerTextToBe "Connect"       "5"       "500"     "Key"       "Defect"

WaitForInvisibility

This action waits until the specified object is invisible. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the object to go invisible.    

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the invisibility before exhausting timeout. 

No

String

keyInvisibility

Enter a variable to store the step result. 
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForInvisibility"5"          "500"     "Key"       "Defect"

WaitForNonClickability

This object waits until the specified object becomes non-clickable. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the object to become non clickable.     

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the clickability before exhausting timeout. 

No

String

keyNonClickability

Enter a variable to store the step result. After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report if the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForNonClickability"5"          "500"     "Key"       "Defect"

WaitForNonExistence

This action waits until the specified object does not exist on the page anymore. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the non existence of the object.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for non existence of the object before exhausting timeout. 

No

String

keyNonExistence

Enter a variable to store the step result. After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail 
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForNonExistence     "5"          "500"     "Key"       "Defect"

WaitForNumberOfElementsToBe

This action waits until the number of elements of the specified object locator on the page matches with the expected number that you have specified. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedNumOfElements

Enter the expected number of elements to wait for.

No

Integer

timeOut

Enter the timeout (in seconds) to wait for the number elements to appear. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. 

No

String

keyNumberOfElements

Enter a variable to store the step result. 
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForNumberOfElementsToBe"2"         "5"          "500"     "Key"       "Defect"

WaitForNumberOfElementsToBeLessThan

This action waits until the number of elements of the specified object locator on the page is less than the specified number. Optionally, you can specify the timeout and polling interval.
 Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedNumOfElements

Enter the expected number of elements to wait for.

No

String

timeOut

Enter the timeout (in seconds) to wait for the number elements to appear. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. 

No

Integer

keyNumOfElementsLessThan

Enter a variable to store the step result. 
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForNumberOfElementsToBeLessThan       "2"         "5"          "500"     "Key"       "Defect"

WaitForStaleness

This action waits until the specified object is detached from the DOM. 
Input Parameters:

On this Page:

Table of Contents


All the SFDCEdit class actions work for the following SFDC components:

  • input
  • inputCurrency
  • inputEmail
  • inputNumber
  • inputPhone
  • inputRichText
  • inputText
  • inputTextArea
  • inputURL
  • inputSecret

Click

This action clicks the specified object.

This action does not have any parameters.

Example:

Click

Clear

This action clears the text present in the specified text box.

This action does not have any parameters.

Example:
Clear

MouseOver

This action hovers over the specified object.

This action does not have any parameters. 

Example:

MouseOver


Set

This action sets the value on the associated object.


Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the value to be detached.  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout. 

No

String

keyStatus

Enter a variable to store the step result. 
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForStaleness        "5"          "500"     "Key"       "Defect"

WaitForVisibility

This action waits until the specified object is visible. Optionally, you can specify the timeout and polling interval.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the object visibility.    

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout. 

No

String

keyVisibility

Enter a variable to store the step result.
After the step is executed, the action stores the values as:

  • 0 for Pass
  • 1 for Fail
  • 2 for Defect

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to show in the report in case the expected condition is not satisfied. You can specify the value for this parameter as Pass, Fail, or Defect.

No

String

Example:
WaitForVisibility     "5"          "500"     "Key"       "Defect"

ClickAndWait (Deprecated)

This action clicks the specified object and waits for the seconds specified in Sync Time in the associated execution profile.Its default value is 20 seconds. If the page loads before reaching the maximum sync time, the test case execution continue with the remaining steps. 

This action does not have any parameter. 

Example:

ClickAndWait
Webdriver waits for the document to come in ready state. If it is in ready state it is assumed that the page is loaded completely and Webdriver stops waiting. The condition to wait till the document to load in ready state and assume that the page is loaded could however not work as expected at all times.

ClickandchooseOkOnNextConfirmation (Deprecated)

This action handles the alert or confirmation that comes up post clicking the OK button. This action fails if the button is clicked and no alert or confirmation comes up.

This action does not have any parameter.

Example:

ClickandchooseOkOnNextConfirmation

WaitForObject (Deprecated)

This action waits for the object to appear or disappear for the maximum number of seconds specified.

If the object is found or not found before the maximum time specified, execution continues to the next steps.

If the wait time is "" then the wait time is the "Sync Time" specified in the associated execution profile

value

Enter the value you want to set on the associated object. 

Note: If the object already has a default value, the action clears the value.

Yes

String


Example:

Set       "India"

SecureSet

This action encrypts the value you enter. It helps to hide the value for security purposes, such as the password that is used to log in to the application.

Input Parameters:


Parameter Name

Parameter Description

Mandatory

Data Type

text

Enter the text you want to enter in the specified object.
Format: Encrypt(TEXT TO BE ADDED)

Yes

String


Example:

SecureSet    "Encrypt(Abc)"    "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="

In this case, QAS encrypts the data ABC to a secured text, such as shown above. The text is encrypted immediately when you move the focus from the Text parameter in the Test Case Editor screen after entering ABC as the Text parameter value. 

StorePropertyValue

This action stores the property of the specified object using  property names, such as class, id, name, and role, and parameter value, such as the actual value of the property.

Input Parameters:


Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the key name to store the property name.

Yes

 String

propertyName

Enter the property or attribute name whose value you want to store.

Yes

 String


Example:

StorePropertyValue       "key"       "class"

VerifyEnability

This action verifies the enability of the specified object. 
Input Parameters:


Parameter Name

Parameter Description

Mandatory

Data Type

enability

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, by default the value is set to True during the test case execution.

No

String


Example:

VerifyEnability      "True"


VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:


Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, by default the value is set to True during the test case execution

No

String


Example:

VerifyExistence      "True"

VerifyPropertyValue

This action verifies the property of the specified object using property names, such as class, id, name, and role, and parameter value, such as the actual value of the property.

Input Parameters:

WaitForObject         "15


Parameter Name

Parameter Description

Mandatory

Data Type

Timeout

Enter the number of seconds to wait for the object to appear or disappear. This has to be 0 or any positive number.

No

String

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

WaitForObject           "10"            "True"

The action waits for maximum 10 seconds for the object to appear. If the object appears before 10 seconds elapses, the execution continues to the next steps.

propertyName

Enter the property or attribute name as specified in the DOM structure.

Yes

String

valueEnter the property value you want to verify.YesString


Example:

VerifyPropertyValue      "class"         "False"The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.fr small"

VerifyVisibility

This action verifies the visibility of the specified object. 

Input Parameters:


Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.
  • False to verify that the object is disabled.
    Note: If you do not enter any value, by default the value is set to True during the test case execution.

No

String


Example:

VerifyVisibility    "True"