Element
Keyword: CLICKELEMENT
Description: This keyword or action instructs ICE to click on the element.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
clickElement | NA | (Optional) | NA |
Note: HTML tags which are not of type “text box”, “link”, “button”, “radio button”, “checkbox”, “dropdown”, “table”, “table-cell”, “list box” and “image” are being considered as elements. Example: div, span…
Find the snippet of the keyword below:
In the above example, after the test case debug, the Click operation will be performed on the element and the execution status “True”/ “False” will be stored in variable {ClickElement}.
Keyword: GETELEMENTTEXT
Description: This keyword or action instructs ICE to fetch the text of the element and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getElementText | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will fetch the element text and store it in variable {GetElmntTxt} and the execution status “True”/ “False” will be stored in variable {Status}.
Keyword: VERIFYELEMENTTEXT
Description: This keyword or action instructs ICE to verify if the element text is the same as that given in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
verifyElementText | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will verify the input text and the execution status “Fail”/ “Pass” will be stored in variable {VerifyElmntTxt}.
Last updated