Versions Compared

Key

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

ClearText

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

This action does not have any parameter.

Example:
ClearText

Click

This action clicks the specified object.

This action does not have any parameter.

Example:

Click

ClickAction

This action clicks the specified object from the web application under test.

This action does not have any parameter.

Note: ActionClick uses underlying selenium WebDriver "Action" class to perform click action. Qualitia recommends using this action for web applications.

Example:
ClickAction

ClickAt

This action clicks at the specified point on the object.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The x-coordinate of the click.

YesNo

String

Y

The y-coordinate of the click.

YesNo

String

Example

ClickAt        "5"            "10"

ClickJS

This action clicks the specified object from the web application under test.

This action does not have any parameter.

Note: ClickJS uses javascript code to perform the click action. Qualitia recommends using this action for web applications.

Example:
ClickJS

DoubleClick

ClickJSAndSelectWindowUsingURL

This action double-clicks the specified web element.

This action does not have any parameter.

Example:

DoubleClick

On this page:

Table of Contents
maxLevel2
minLevel2

MouseDown

This action simulates left-click at the specified location on the screen

is used to click the web element or object that opens single or multiple windows from which a specific window is selected.
This action accepts 'waitTimeForWindow' for the specific window to open.

This action is used in the following 2 scenarios:

  • When a single window opens after clicking the web element/object, you need to give only 'waitTimeForWindow' parameter. 
  • When multiple windows open after clicking the web element or object, then you can provide the exact URL or regex patterned URL  window. You must give the URL and 'isURLPatternString' parameters.
    Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The x-coordinate of the click.

waitTimeForWindow

Enter the wait time for the window to open.

Yes

String

URL

Enter a specific URL or regex pattern of URL for the window you want to select.

NoString

Y

The y-coordinate of the click
isURLPatternString

Enter one of the following:

  • True: If you want to apply the regex pattern to URL.
  • False: If you do not want to apply the regex pattern to URL.
NoString

Example

:
MouseDown                

1

String waitTimeForWindow : "5"

          "10"

MouseOver

This action simulates a mouse hovering over the specified object.

This action does not have any parameter. 
Example:

MouseOver

MouseUp

This action simulates the event that occurs when the user releases the mouse button.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The x-coordinate of the click.

No

String

Y

The y-coordinate of the click.

No

String

Example

MouseUp         "5"          "10"

RightClick

This action right-clicks the specified web element.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

option

The context menu option number that needs to be clicked.

No

String

Example:RightClick             "3''
This will select the third option from the context-menu.

ScrollIntoView

This action scrolls to view the specified object. 

This action does not have any parameter. 

Example:

ScrollIntoView

SecureSet

This action enters the expected value into the specified edit box. The value set in the parameter is encrypted once the focus is moved for security purposes.

,

String url : null(do not give any value)

String isURLPatternString : null(do not give any value)

Expected Result - Here you do not need to provide URL or isURLPatternString as after clicking the object or element opens. The action waits up to 5 seconds for the window to appear after clicking the web element or object and then select the window.

Example 2

String waitTimeForWindow - "5",

String url - "https://bflsme--preprod.cs57.my.salesforce.com/_ui/common/data/LookupPage?                                                             lkfm=editPage&lknm=cas3&lktp=003&lksrch=",

String isURLPatternString - "False",

The action waits for up to 5 seconds for multiple windows to appear after clicking web element or object and it selects the window with the url "https://bflsme--preprod.cs57.my.salesforce.com/_ui/common/data/LookupPage?lkfm=editPage&lknm=cas3&lktp=003&lksrch=". As the isURLPatternString parameter is 'false' , the action finds as per the given URL.  

Example 3

String waitTimeForWindow - "5",

String url - "www.([A-Z])\w+",

String isURLPatternString - "True",

Expected Result - The action waits for up to 5 seconds for multiple windows to open after clicking web element/object and it selects the window which matches the regex pattern  "www.([A-Z])\w+" as provided in the URL parameter. As the isURLPatternString parameter is 'True', the action treats the URL parameter as a regex pattern. In case there are multiple windows satisfying the regex pattern, the action selects the first window.

DoubleClick

This action double-clicks the specified web element.

This action does not have any parameter.

Example:

DoubleClick

DragAndDropToOffset 

This action drags and drops the specified web element at the specified location.  

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Text

offsetX

Enter the

test that needs to be entered in the specified text box in the specified format.
Format: Encrypt(<TEXT TO BE ADDED>)Yes

offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10, and so on.

No

String

offsetY

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as -100,100 , +100, and so on.

No

String

Example:

SecureSet 

DragAndDropOffset            "

Encrypt(Abc)"When the focus is moved away from the parameter Qualitia will automatically encrypt the data ABC and result in a secured text like "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc=" Multiexcerpt macro
nameSendKeySequence

SendKeySequence

This action sends one or multiple keys specified in the parameters to the specified object. You may use the syntaxes mentioned below to send normal or modifier keys. Multiple keys should be separated by caret. 

100"              "500"

On this page:

Table of Contents
maxLevel2
minLevel2

MouseDown

This action simulates left-click at the specified location on the screen.
Input Parameters:

Adding modifiers like SHIFT, Control, and so forth perform the activity of pressing these keys only. For releasing these keys, you must add these modifiers again based on requirements as shown in the example.

Example:
sendKeySequence     

Parameter Name

Parameter Description

Mandatory

Data Type

arrayofKeys

Enter the keys you want to send.

In case you want to send a string with modifier characters (from the table mentioned below) you must use caret (^) sign as a separator between modifier characters and normal string values.

Yes

Array

X

The x-coordinate of the click.

No

String

Y

The y-coordinate of the click.

No

String

Example:
MouseDown                 "5"           "

~{SHIFT~}^w^~{SHIFT~}^elcome"

The example above will press the word Welcome. Apart from the normal alphabets, you can also send the modifier keys. When sending modifier keys, you have to send them in the syntax given.

Key

Syntax

NULL

~{NULL~}

CANCEL (Esc)

~{CANCEL~}

HELP

~{HELP~}

BACK_SPACE

~{BACK_SPACE~}

TAB

~{TAB~}

CLEAR

~{CLEAR~}

RETURN

~{RETURN~}

ENTER

~{ENTER~}

SHIFT

~{SHIFT~}

LEFT_SHIFT(SHIFT)

~{LEFT_SHIFT~}

CONTROL

~{CONTROL~}

LEFT_CONTROL(CONTROL)

~{LEFT_CONTROL~}

ALT

~{ALT~}

LEFT_ALT

~{LEFT_ALT~}

PAUSE

~{PAUSE~}

ESCAPE

~{ESCAPE~}

SPACE

~{SPACE~}

PAGE_UP

~{PAGE_UP~}

PAGE_DOWN

~{PAGE_DOWN~}

END

~{END~}

HOME

~{HOME~}

LEFT

~{LEFT~}

ARROW_LEFT

~{ARROW_LEFT~}

UP

~{UP~}

ARROW_UP

~{ARROW_UP~}

RIGHT

~{RIGHT~}

ARROW_RIGHT

~{ARROW_RIGHT~}

DOWN

~{DOWN~}

ARROW_DOWN

~{ARROW_DOWN~}

INSERT

~{INSERT~}

DELETE

~{DELETE~}

SEMICOLON

~{SEMICOLON~}

EQUALS

~{EQUALS~}

NUMPAD0

~{NUMPAD0~}

NUMPAD1

~{NUMPAD1~}

NUMPAD2

~{NUMPAD2~}

NUMPAD3

~{NUMPAD3~}

NUMPAD4

~{NUMPAD4~}

NUMPAD5

~{NUMPAD5~}

NUMPAD6

~{NUMPAD6~}

NUMPAD7

~{NUMPAD7~}

NUMPAD8

~{NUMPAD8~}

NUMPAD9

~{NUMPAD9~}

MULTIPLY

~{MULTIPLY~}

ADD

~{ADD~}

SEPARATOR

~{SEPARATOR~}

SUBTRACT

~{SUNSTRACT~}

DECIMAL

~{DECIMAL~}

DIVIDE

~{DIVIDE~}

F1

~{F1~}

F2

~{F2~}

F3

~{F3~}

F4

~{F4~}

F5

~{F5~}

F6

~{F6~}

F7

~{F7~}

F8

~{F8~}

F9

~{F9~}

F10

~{F10~}

F11

~{F11~}

F12

~{F12~}

META

~{META~}

COMMAND (META)

~{COMMAND~}

ZENKAKU_HANKAKU

~{ZENKAKU_HANKAKU~}

CLICK

~{CLICK~}

DOUBLECLICK

~{DOUBLECLICK~}

RIGHTCLICK

~{CONTEXTCLICK~}

Set

This action enters the specified value into the edit box.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Value

Enter the value that needs to be added into the specified edit box. You can give the alphanumeric value to be entered into the edit box. 

No

String

Example: Set                            "Qualitia"

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 to be added for the Value attribute.

Yes

String

Example:
SetValueAttribute           "#ff0990"

StoreChildCount

This action stores the child count of the specified object under the specified key. The 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 child count will be saved.

Yes

String

Example:
StoreChildCount                               "Key"

StoreCSSProperty

This action stores the CSS property value of the object under the specified key. Key value can be retrieved using the key name. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyProperty

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

Yes

String

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

Example:
StoreCSSProperty        "display"            "Key"

StoreExistence

This action stores existence of the object under the specified key. The 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 existence's Boolean value will be stored. 

  • 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 under the specified keys. The key values can be retrieved using the key names. 10"

MouseOver

This action simulates a mouse hovering over the specified object.

This action does not have any parameter. 
Example:

MouseOver

MouseUp

This action simulates the event that occurs when the user releases the mouse button.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The x-coordinate of the click.

No

String

Y

The y-coordinate of the click.

No

String

Example

MouseUp         "5"          "10"

RightClick

This action right-clicks the specified web element.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

option

The context menu option number that needs to be clicked.

No

String

Example:RightClick             "3''
This will select the third option from the context-menu.

ScrollIntoView

This action scrolls to view the specified object. 

This action does not have any parameter. 

Example:

ScrollIntoView

SecureSet

This action enters the expected value into the specified edit box. The value set in the parameter is encrypted once the focus is moved for security purposes.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Text

Enter the test that needs to be entered in the specified text box in the specified format.
Format: Encrypt(<TEXT TO BE ADDED>)

Yes

String

Example:

SecureSet    "Encrypt(Abc)"When the focus is moved away from the parameter Qualitia will automatically encrypt the data ABC and result in a secured text like "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="

Multiexcerpt macro
nameSendKeySequence

SendKeySequence

This action sends one or multiple keys specified in the parameters to the specified object. You may use the syntaxes mentioned below to send normal or modifier keys. Multiple keys should be separated by caret. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

arrayofKeys

Enter the keys you want to send.

In case you want to send a string with modifier characters (from the table mentioned below) you must use caret (^) sign as a separator between modifier characters and normal string values.

Yes

Array

Adding modifiers like SHIFT, Control, and so forth perform the activity of pressing these keys only. For releasing these keys, you must add these modifiers again based on requirements as shown in the example.

Example:
sendKeySequence               "~{SHIFT~}^w^~{SHIFT~}^elcome"

The example above will press the word Welcome. Apart from the normal alphabets, you can also send the modifier keys. When sending modifier keys, you have to send them in the syntax given.

Key

Syntax

NULL

~{NULL~}

CANCEL (Esc)

~{CANCEL~}

HELP

~{HELP~}

BACK_SPACE

~{BACK_SPACE~}

TAB

~{TAB~}

CLEAR

~{CLEAR~}

RETURN

~{RETURN~}

ENTER

~{ENTER~}

SHIFT

~{SHIFT~}

LEFT_SHIFT(SHIFT)

~{LEFT_SHIFT~}

CONTROL

~{CONTROL~}

LEFT_CONTROL(CONTROL)

~{LEFT_CONTROL~}

ALT

~{ALT~}

LEFT_ALT

~{LEFT_ALT~}

PAUSE

~{PAUSE~}

ESCAPE

~{ESCAPE~}

SPACE

~{SPACE~}

PAGE_UP

~{PAGE_UP~}

PAGE_DOWN

~{PAGE_DOWN~}

END

~{END~}

HOME

~{HOME~}

LEFT

~{LEFT~}

ARROW_LEFT

~{ARROW_LEFT~}

UP

~{UP~}

ARROW_UP

~{ARROW_UP~}

RIGHT

~{RIGHT~}

ARROW_RIGHT

~{ARROW_RIGHT~}

DOWN

~{DOWN~}

ARROW_DOWN

~{ARROW_DOWN~}

INSERT

~{INSERT~}

DELETE

~{DELETE~}

SEMICOLON

~{SEMICOLON~}

EQUALS

~{EQUALS~}

NUMPAD0

~{NUMPAD0~}

NUMPAD1

~{NUMPAD1~}

NUMPAD2

~{NUMPAD2~}

NUMPAD3

~{NUMPAD3~}

NUMPAD4

~{NUMPAD4~}

NUMPAD5

~{NUMPAD5~}

NUMPAD6

~{NUMPAD6~}

NUMPAD7

~{NUMPAD7~}

NUMPAD8

~{NUMPAD8~}

NUMPAD9

~{NUMPAD9~}

MULTIPLY

~{MULTIPLY~}

ADD

~{ADD~}

SEPARATOR

~{SEPARATOR~}

SUBTRACT

~{SUNSTRACT~}

DECIMAL

~{DECIMAL~}

DIVIDE

~{DIVIDE~}

F1

~{F1~}

F2

~{F2~}

F3

~{F3~}

F4

~{F4~}

F5

~{F5~}

F6

~{F6~}

F7

~{F7~}

F8

~{F8~}

F9

~{F9~}

F10

~{F10~}

F11

~{F11~}

F12

~{F12~}

META

~{META~}

COMMAND (META)

~{COMMAND~}

ZENKAKU_HANKAKU

~{ZENKAKU_HANKAKU~}

CLICK

~{CLICK~}

DOUBLECLICK

~{DOUBLECLICK~}

RIGHTCLICK

~{CONTEXTCLICK~}


Set

This action enters the specified value into the edit box.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyXPosition

Value

Enter the

key name to store the height of the location of the object.

Yes

String

keyYPosition

Enter the key name to store the width of the location of the object.

Yes

value that needs to be added into the specified edit box. You can give the alphanumeric value to be entered into the edit box. 

No

String

Example:
StoreLocation  Set                 "Height"              "WidthQualitia"

StorePropertyValue

SetFocus

This action stores sets the property of focus on the specified object under the key name. The stored key value can be retrieved using the key name.
Some Android and iOS properties are not accessible.
List of accessible properties for Android: "name", "contentDescription", "className", "resourceId", "text", "enabled", "checkable", "checked", "clickable", "focusable", "focused", "longClickable", "scrollable", "selected", "displayed"
List of accessible properties for iOS: "name", "value", "label", "hint"
Input Parameters:

ParameterName

.

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 to be added for the Value attribute.

Yes

String

Example:
SetValueAttribute           "#ff0990"

StoreChildCount

This action stores the child count of the specified object under the specified key. The 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 child count will be saved.

Yes

String

Example:
StoreChildCount                               "Key"

StoreCSSProperty

This action stores the CSS property value of the object under the specified key. Key value can be retrieved using the key name. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyProperty

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

Yes

String

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

Example:
StoreCSSProperty      "Key"     "display"  

StoreExistence

This action stores existence of the object under the specified key. The 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 existence's Boolean value will be stored. 

  • 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 under the specified keys. The key values can be retrieved using the key names. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

keyXPosition

Enter the key name

under which the property value will be stored

to store the height of the location of the object.

Yes

 String

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

keyYPosition

Enter the key name to store the width of the location of the object.

Yes

 String

String

Example:
StorePropertyValue StoreLocation                             "key"           "Height"            "textWidth"

StoreSize

StorePropertyValue

This action stores the size property of the specified object under keysthe key name. The stored key values value can be retrieved using key names.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyXPosition

Enter the key name under which you want to store the height of the object.

Yes

String

keyYPosition

Enter the key name under which you want to store the width of the object.

Yes

String

Example:
StoreSize           "Height"                   "Width"

StoreText

This action stores the text entered in an edit box under the specified key. The key value can be retrieved using the key name.  
Input Parameters:

Parameter Name

the key name.
Some Android and iOS properties are not accessible.
List of accessible properties for Android: "name", "contentDescription", "className", "resourceId", "text", "enabled", "checkable", "checked", "clickable", "focusable", "focused", "longClickable", "scrollable", "selected", "displayed"
List of accessible properties for iOS: "name", "value", "label", "hint"
Input Parameters:

ParameterName

Parameter Description

Mandatory

Data Type

key

Key

Enter the key name under which

you want to store the text

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

 String

Example:

StoreText StorePropertyValue                            "key"                     "textKeytext"

StoreValueAttribute

StoreSize

This action stores the data present in the 'value' attribute the size of the specified object under keys. The key values can be retrieved using key names.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

strKey

keyXPosition

Enter the key name under which

the value will be stored. Enter the value to be added for the Value attribute. Key value can be retried using the key name

you want to store the height of the object.

Yes

String

keyYPosition

Enter the key name under which you want to store the width of the object.

Yes

String

Example:
StoreValueAttribute  StoreSize           "Height"                   "KeyWidth"

VerifyEnability

StoreText

This action verifies the enability of the specified object. stores the text entered in an edit box under the specified key. The key value can be retrieved using the key name.  
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Value for this parameter can be true or false.

  • Set True if you want to verify that the object is enabled. 
  • Set False if you want 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.

Nokey

Enter the key under which you want to store the text.

Yes

String

Example:

VerifyEnability     StoreText                       "TruetextKey"

VerifyExistence

StoreValueAttribute

This action verifies the existence stores the data present in the 'value' attribute of the specified object. 
Input Parameters:

No

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Value for this parameter can be true or false.

  • Set True if you want to check the existence.
  • Set False if you want to check the non-existence.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

strKey

Enter the key name under which the value will be stored. Enter the value to be added for the Value attribute. Key value can be retried using the key name.

Yes

String

Example:
VerifyExistence                 StoreValueAttribute        "TrueKey"

VerifyVisibility

VerifyEnability

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

Parameter Name

Parameter Description

Mandatory

Data Type

visibilityenability

Value for this parameter can be true True or falseFalse.

  • Set True if you want to check the visibility.verify that the object is enabled. 
  • Set False if  if you want to check the invisibilityverify 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 VerifyEnability                            "True"

WaitForAttributeContains

VerifyExistence

This action waits till verifies the value existence of the specified attribute changes to the expected partial value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  object. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

attributeName

Enter the attribute name whose value

existence

Value for this parameter can be True or False.

  • Set True if you want to check the existence.

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 before exhausting timeout. 

No

String

keyAttributeValueContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect
  • Set False if you want to check the non-existence.
    Note: If you do not enter any value, the default value is set to True during the test case execution.


No

String

Example:

VerifyExistence                      "True"

VerifyVisibility

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

Parameter Name

Parameter Description

Mandatory

Data Type

visibility

Value for this parameter can be True or False.

  • Set True if you want to check the visibility.
  • Set False if you want to check the invisibility.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

WaitForAttributeContains  VerifyVisibility     "id"            "we323es"          "5"          "500"     "Key"       "Defect"

WaitForAttributeNotContains

"True"

WaitForAttributeContains

This action waits until till the specified attribute's value of the object specified attribute changes to other than the expected partial parameterized value.  This This comparison is case-sensitive. You may specify the timeout and polling interval, if required.     
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

partial expected partial attribute value.

Yes

String

timeOut

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

to change

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the

unexpected

expected value before exhausting timeout. 

No

String

keyAttributeValue

keyAttributeValueContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

Example:
WaitForAttributeValueContains  WaitForAttributeContains      "id"           "232wafwe323es"        "5"          "500"     "Key"       "Defect"

WaitForAttributeNotToBe

WaitForAttributeNotContains

This action waits until the specified attribute's value of the object changes to other than the exact partial parameterized value. This  This comparison is case-sensitive. You may specify the timeout and polling interval, if required.     
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

unexpected value before exhausting timeout.

 

No

String

keyAttributeValueNotToBe

keyAttributeValue

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForAttributeNotToBeEmpty

WaitForAttributeNotToBe

This action waits until the specified attribute's value of the object gets filled with some valuechanges to other than the exact parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.  
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

attribute

value to change.

  

 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the

attribute

expected value before exhausting timeout. 

No

String

keyAttributeValue

keyAttributeValueNotToBe

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForAttributeToBe

WaitForAttributeNotToBeEmpty

This action waits till until the specified attribute's value of the specified attribute changes to the exact expected value. This comparison is case-sensitiveobject gets filled with some value. You may specify the timeout and polling interval, if required.   
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

attribute value.

 

  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for

existence of

the

expected

attribute value before exhausting timeout. 

No

String

keyAttributeValue

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForAttributeToBeEmpty

WaitForAttributeToBe

This action waits until till the value of the specified attribute 's value of the object gets empty. You changes to the exact expected value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.     
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

attribute

expected value

to be empty

.

  

 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the

attribute

expected value before exhausting timeout. 

No

String

keyAttributeValue

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForChildElement

WaitForAttributeToBeEmpty

This action waits for the child elements until the specified attribute's value of the specified object to appeargets empty. You  You may specify the timeout and polling interval, if required.
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

.  
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

elements

attribute value to

appear

be empty.

 

  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the

objects

attribute value before exhausting timeout. 

No

String

keyExistence

keyAttributeValue

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForClickability

WaitForChildElement

This action waits for the child elements of the specified object to be clickableappear.  You You may specify the timeout and polling interval, if required.  
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

polling interval, if required.
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

object

elements to

be clickable

appear.

 

 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the

object clickability

objects before exhausting timeout. 

No

String

keyClickability

keyExistence

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForExistence

WaitForClickability

This action waits for the existence of the specified object to be clickable. You  You may specify the timeout and polling interval, if required.  
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for

the existence of

the object to be clickable.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for

the existence of

the object clickability before exhausting timeout. 

No

String

keyExistence

keyClickability

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForInnerTextContains

WaitForExistence

This action waits for the object to contain the expected partial text. The comparison is case-sensitive. You existence of the specified object. You may specify the timeout and polling interval, if required. 
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 existence of the

expected text

object.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the existence of the

expected text

object before exhausting timeout. 

No

String

keyInnerTextContains

keyExistence

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForInnerTextMatchesPattern

WaitForInnerTextContains

This action waits for inner text from the specified object to match contain the expected partial text regular expression pattern.  The The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerTextRegXPattern

innerText

Enter the expected

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

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

keyInnerTextContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForInnerTextNotContains

WaitForInnerTextMatchesPattern

This action waits until for inner text from the specified attribute's value of the object changes to other than the parameterized valuematch the expected text regular expression pattern. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

innerTextRegXPattern

Enter the expected pattern for the inner text

which

. Pattern should

not

be

there

regular expression. Step fails in case the

attribute value

pattern is invalid.

 

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the

inner

expected 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

keyInnerText

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForInnerTextNotToBe

WaitForInnerTextNotContains

This action waits till the inner text until the specified attribute's value of the object changes from the specified textto other than the parameterized value. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Enter the text which should not be there in the

object

attribute value. 

Yes

String

timeOut

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

to change

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

keyInnerTextNotToBe

keyInnerTextNotContains

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForInnerTextToBe

WaitForInnerTextNotToBe

This action waits for till the inner text of the object to contain the expected exact changes from the specified text. The  The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Enter the

expected text you want to wait for

text which should not be there in the object.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the

expected

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

keyInnerText

keyInnerTextNotToBe

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForInvisibility

WaitForInnerTextToBe

This action waits for the object to invisible. You contain the expected exact text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 
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

object to go invisible.    

expected text.   

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the

invisibility

expected text before exhausting timeout. 

No

String

keyInvisibility

keyInnerText

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForNonClickability

WaitForInvisibility

This object action waits for the object to become non clickableinvisible.  You You may specify the timeout and polling interval, if required. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

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

become non clickable

go invisible

   

  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the

clickability

invisibility before exhausting timeout. 

No

String

keyNonClickability

keyInvisibility

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForNonExistence

WaitForNonClickability

This action object waits for the non existence of the specified object. You object to become non clickable. You may specify the timeout and polling interval, if required. 
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the

non existence of the object

object to become non clickable.     

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for

non existence of

the

object

clickability before exhausting timeout. 

No

String

keyNonExistence

keyNonClickability

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForNumberOfElementsToBe

WaitForNonExistence

This action waits for the number of elements non existence of the specified object locator on the page to be same as the expected number. You may specify the timeout and polling interval, if required. 
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

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

objects

object before exhausting timeout. 

No

String

keyNumberOfElements

keyNonExistence

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForNumberOfElementsToBeLessThan

WaitForNumberOfElementsToBe

This action waits for the number of elements of the specified object locator on the page to be less than same as the specified expected number. You may specify the timeout and polling interval, if required.
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedNumOfElements

Enter the expected number of elements to wait for.

No

String

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

Integer

String

keyNumOfElementsLessThan

keyNumberOfElements

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForNumberOfElementsToBeMoreThan

WaitForNumberOfElementsToBeLessThan

This action waits for the number of elements of the specified object locator on the page to be more less than the specified number. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedNumOfElements

Enter the expected number of elements to wait for.

No

Integer

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

String

Integer

keyNumOfElementsLessThan

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForStaleness

WaitForNumberOfElementsToBeMoreThan

This action waits until the element gets detached from the DOM. for the number of elements of the specified object locator on the page to be more than the specified number. You may specify the timeout and polling interval, if required.

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

value

number elements to

be detached

appear.

  

 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for

existence of

the

element

objects before exhausting timeout. 

No

String

keyStatus

keyNumOfElementsLessThan

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WaitForVisibility

WaitForStaleness

This action waits for the object to be visible. You may specify the timeout and polling interval, if requireduntil the element gets detached from the DOM

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the

object visibility. 

value to be detached.  

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for existence of the

object visibility

element before exhausting timeout. 

No

String

keyVisibility

keyStatus

Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

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

WebObject.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

"Defect"

WaitForVisibility

This action waits for the object to be visible. You may specify the timeout and polling interval, if required. 

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 the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 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. value for this parameter can be Pass, Fail, and Defect.

No

String

Example: WebObject.StoreVisibility   "Key"

ClickAndWait (Deprecated)

This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window.

Default value is 20 seconds. If the page loads before reaching the maximum sync time execution continues to the next 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.

DragAndDropToOffset (Deprecated)

This action drags and drops the specified web element at the specified location.  You are recommended to use DragAndDropToObject
WaitForVisibility     "5"          "500"     "Key"       "Defect"

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

offsetX

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10, and so on.

No

String

offsetY

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as -100,100 , +100, and so on.

No

String

Example:

DragAndDropOffset            "100"              "500"

WaitForObject

strKey

Enter a variable to store the visibility status.No

String

Example: StoreVisibility   "Key"

ClickAndWait (Deprecated)

This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window.

Default value is 20 seconds. If the page loads before reaching the maximum sync time execution continues to the next 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.

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 shall be the "Sync Time" set under the Configuration Settings (Execution) windowassociated execution profile.

Input Parameters:


Parameter Name

Parameter Description

Mandatory

Data Type

waitTime

Timeout

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

Yes

No

String

existence

Value for this parameter can be

true

True or

false

False.

  • Set
true
  •  True if you want to check for the appearance of the object.
  • Set
false
  •  False if you want to check for the disappearance of the object.
Yes

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.

WaitForObject         "15"          "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.