Versions Compared

Key

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

...

DragAndDropToObject

This action drags the specified object and drops a specified web element to the target web element.it in the position of another specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

dragLocator

Enter the locator value of

the web

an element to be

dropped to the target web element

dragged.

Yes

String

dragLocatorType

Enter the locator type of the

web

element to be

dropped to the target web element

dragged.

Yes

String

dropToLocator

Enter the locator

value

of

the target web element to which you want to drop the web element

an element whose location (i.e., whose centre-most pixel) will be the point where dragLocator is dropped.

Yes

String

dropToLocatorType

Enter the locator type of the

target web element to which you want to drop the web element

element where the element will be dragged.

Yes

String

Example:
DragAndDropToObject “abc” “id” “xyz” “id”                  "//div/img[@alt='abx']"            "xpath"           "abc"        "id"

OpenURL

This action opens the specified URL in the browser selected in the associated execution profile.

...

This action waits until the number of open windows reaches the count specified in the parameter. You may use polling interval and timeout, if required.

Info
  • For the WaitFor actions to complete successfully, the specified object must exist.

  • Only for all the Wait actions, you can override the actual execution result with that of your choice using the statusIfConditionNotSatisfied parameter. For example, if you set the statusIfConditionNotSatisfied parameter to Pass, the action execution result will always be Pass, irrespective of whether the actual execution result was Fail or Defect.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedNumber

Enter expected number of windows.   

No

String

timeOut

Enter the timeout (in seconds) to wait. 

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check whether the specified count has reached. 

No

String

keyNumOfWindows

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

...