Note: The Select and Check tasks are two distinct actions that serve different purposes when interacting with web elements. The Select task focuses on setting a value to a dropdown field, while the Check task interacts with the checkbox. Learn more.select(<locator>, <text>, <select_type>);
Parameter | Data Type | Description |
<locator> | STRING | Address to locate the dropdown containing the options you want to choose from. Note: You can inspect from the webpage to find the locators of the elements or record and store the elements. Learn more about Elements. |
<text> | STRING | The text or attribute value to be selected based on the select type |
<select_type> | STRING | The type of select used to interact with dropdowns based on their index, displayed text, or attribute value.
|
ui.zwatch.checkout-dropdown | The stored locator for the dropdown element that lists the available shipping countries on the website. |
"US" | The text associated with one of the options within the dropdown, in this case, the shipping country. |
select.VALUE | The select type chosen as the attribute value associated with the option was used inside as the parameter for the task. |
Note: The Deselect and Uncheck tasks are two distinct actions that serve different purposes when interacting with web elements. The Deselect task focuses on deselecting the currently selected value from a dropdown field, while the Uncheck task interacts with the checkbox. Learn more. deselect(<locator>,<text>,<select_type>);
Parameter | Data Type | Description |
<locator> | STRING | Address to locate the dropdown containing the options you want to choose from. Note: You can inspect from the webpage to find the locators of the elements or record and store the elements. Learn more about Elements. |
<text> | STRING | The text or attribute value to be deselected based on the select type |
<select_type> | STRING | The type of select used to interact with dropdowns based on their index, displayed text, or attribute value.
|
ui.zwatch.checkout-dropdown | The stored locator for the dropdown element that lists the available shipping countries on the website. |
"US" | The text associated with one of the options within the dropdown, in this case, the shipping country. |
select.VALUE | The select type chosen as the attribute value associated with the option was used inside as the parameter for the task. |
Note: The Select and Check tasks are two distinct actions that serve different purposes when interacting with web elements. The Select task focuses on setting a value to a dropdown field, while the Check task interacts with the checkbox. Learn more.
Parameter | Data Type | Description |
<locator> | STRING | Address to locate the checkbox on the webpage. Note: You can inspect from the webpage to find the locators of the elements or record and store the elements. Learn more about Elements. |
ui.zwatch.GMT.discount | The stored locator for the discount checkbox element. |
Note: The Deselect and Uncheck tasks are two distinct actions that serve different purposes when interacting with web elements. The Deselect task focuses on deselecting the currently selected value from a dropdown field, while the Uncheck task interacts with the checkbox. Learn more.
Parameter | Data Type | Description |
<locator> | STRING | Address to locate the checkbox on the webpage.
Note: You can inspect from the webpage to find the locators of the elements or record and store the elements. Learn more about Elements. |
where:
ui.zwatch.GMT.discount | The stored locator for the discount checkbox element. |
Parameter | Data Type | Description |
<locator> | STRING | Address to locate the element you want to clear.
Note: You can inspect from the webpage to find the locators of the elements or record and store the elements. Learn more about Elements. |
"https://www.zwatch.com" | URL of the website that needs to be opened. |
"same window" | This represents that the URL needs to be opened in the same window. |
"#login_id" | The locator of the element "login ID" of the login form. Here, the '#' is used to refer to the ID of the element. |
$Email | The variable where the email value is stored. <Learn more about Variables> |
upload(<locator>, files.<filename>);
Parameter | Data Type | Description |
<locator> | STRING | Address to locate the input element you want to upload the file.
Note: You can inspect from the webpage to find the locators of the elements or record and store the elements. Learn more about Elements. |
<filename> | OBJECT | Name of the file to be uploaded.
Note: The files are accessed from Files inside Settings for each project. |
where:
ui.blue_bay_gmt.h | The stored locator for the input element the file has be uploaded. |
files.Blue_Bay_GMT | Name of the file to be uploaded. |