Element
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to click on the element.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
clickElement | NA | (Optional) | NA |
Note: HTML tags that 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}.
Description: This keyword or action instructs Avo Assure Client to perform a double click on the visible element.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
doubleClick | NA | (Optional) | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, a double click operation will be performed on the element, and the execution status “True”/ “False” will be stored in variable {doubleClick}.
Description: This keyword or action instructs Avo Assure Client to fetch the element's text 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}.
Description: This keyword or action instructs Avo Assure Client to upload the specified files.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
uploadFile | <file path>; <file name>; <wait (in seconds> | (Optional) |
|
Note:
The upload file works correctly only if the AUT is in the foreground.
If the ‘wait (in seconds)’ input is specified, then the action will be performed after the duration of the specified wait time.
Find the snippet of the keyword below:
In the above example, after the test case debug, it uploads the specified file, and the execution status “True” / “False” will be stored in variable {upload}.
Description: This keyword or action instructs Avo Assure Client 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 {VerifyElmnyTxt}.
Description: This keyword or action is used to get the child element tags present in the parent element as output.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getChildElements | <tag> | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will fetch the child element tags present in the parent element, and the output will be stored in the variable {variable1}. And the execution status “True”/ “False” will be stored in variable {status1}.
Description: This keyword or action is used to get the count of the child elements present in the parent element.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getChildElementCount | <tag name>(Optional) | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will fetch the total number of child elements present in the parent element, and the output will be stored in the variable {variable1}. And the execution status “True”/ “False” will be stored in variable {status1}.
Note: If the user gives different input (tag name), such as li, etc., the output will be the total number of child elements (input) present in the parent element. and the output will be stored in the variable {variable2}. Moreover, the execution status “True”/ “False” will be stored in variable {status2}.