ClickLinkAtCellandchooseOkOnConfirmation
Instead of using this action, you can divide this into 2 steps;
- ClickLinkAtCell and
- WaitForAlertAndSpecifyBehavior.
The WaitForAlertAndSpecifyBehavior allows you specifying the action to be taken on the next pop up window as a first parameter (accept or dismiss). This action gives you more control by its ability to provide timeout and polling interval for the expected condition to be achieved.
ClickAndWait
We strongly recommend not to use this action. Instead of using this action, we recommend you dividing it into 2 steps;
- Click and
- WaitForExistence or WaitForVisibility (based on the object class).
These actions give you more control by its ability to provide timeout and polling interval for the expected condition to be fulfilled.
You can also configure maximum wait time for the page to load using Page timeout (under Configuration Settings) or using the SetPageLoadTimeOut action.
This action drags and drops the specified web element at the specified location. You are recommended to use DragAndDropToObject.
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. | Yes | 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. | Yes | String |
Example:
DragAndDropOffset "100" "500"
StoreSubString
This action should be replaced with StoreSubStringNew. This new action does not have any change in the functionality but you will have better control and consistency during the test case execution.
SelectItemAndWait
We strongly recommend not to use this action. Instead of using this action, we recommend you dividing it into 2 steps;
This action can be divided into 2 different steps for better performance and consistency:
- SelectItems and
- WaitForExistence or WaitForVisibility based on the next object you are going to operate on.
These actions give you more control by its ability to provide timeout and polling interval for the expected condition to be fulfilled.
WaitForPageToLoad
We strongly recommend not to use this action. Instead of using this action, we recommend using WaitForExistence or WaitForVisibility based on the next object you are going to operate on. Developing the test case this way gives you better control over your test case and help you find defects more effectively saving your time when debugging the test case.
WaitForObject
We strongly recommend not to use this action. Replace this action with WaitForExistence. Using WaitForExistence gives you better control over the test case resulting consistent test case execution.