verifyDoesNotExists
Last updated
Was this helpful?
Last updated
Was this helpful?
The verifyDoesNotExists action in the Avo Assure is found under the @Custom Element. It instructs the Avo Assure Client to verify whether the object is not present on that web page and save the result (True/False) in the given output variable.
Syntax:
Input: <ObjectType>;<VisibleText(optional)>;<Index>;<abs(optional)>
Note: The user needs to provide the type of object, its visible text of the element (if needed), its element index, and the abs.
Output: <Dynamic Variable>;<Dynamic Variable>(optional)
When a user is verifying the user registration page of a banking application. The page has different sections for “Individual Account” and “Business Account.” If the user selects “Individual Account” during registration, the “Business Type” radio button should not be present on the page. The user uses the “Verify Object Not Present” action to confirm that the “Business Type” radio button does not exist when “Individual Account” is selected, ensuring the page displays only relevant options.
radiobutton;1
The verifyDoesNotExists action needs to verify the Business Type radio button is available or not, as button is not available it should store True in Output variable.
The result of the verifyDoesNotExists action verify the Business Type radio button is not available and stores in the {result} output variable as “True”, which can be utilized for display or other purposes.