verifyDoesNotExists
The verifyDoesNotExists action in the Avo Assure is found under the @Custom Element. The functionality of this action in Avo Assure to verify whether the object is not present on that web page and save the result in dynamic variable.
Syntax
Input Value: <ObjectType>;<VisibleText(optional)>;<Index>;<abs(optional)>
Argument
Description
<ObjectType>
(Required)
Type of object that needs to be verified as does not present.
<VisibleText>
(Optional)
The visible text associated with the object (if applicable).
<Index>
(Required)
Provide the position of the element, which helps to identify the value based on the sequence in list . (starting from 0)
<abs>
(Optional)
If the abs is provided, the action is performed with absolute identification using the absolute X path
Note: The user needs to provide the type of object, its visible text of the element (if needed), its element index, and the abs.
To skip an optional input value, use an extra semicolon (;).
Output Value
Argument
Description
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable holds the result of the verification as True or False
Example
Verifies that a specified object does not exist on the application interface
The verifyDoesNotExists action takes the value from the Input Value column (e.g., Button;Delete;0) and checks for the absence of the specified object. The result of the verification operation is stored in the {Verify} variable as True or False

Example 2
The verifyDoesNotExists action takes the value from the Input Value column (e.g., Button;Delete;0;//*[@id="l1-submit"]) and checks for the absence of the specified object. The result of the verification operation is stored in the {Verify} variable as True or False

Last updated
Was this helpful?