VerifyPageTitle
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Browser Element Name, instructs the Avo Assure to fetch the page title and compare it with the expected page title which is given in Input Value and save the result in the dynamic variable.
Input Value: <page title>
<page title> (Required)
Specify the expected page title to be verified during execution.
Output Value:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
The dynamic variable holds the status as True or False.
Example
Verifies if the current page title matches the expected value
The VerifyPageTitle action takes the value from the Input Value column (e.g., Login) and compares it with the title of the currently loaded web page. The result of the comparison is stored in the {PageTitleMatch} variable, with the following possible values:
True –if the page title matches the expected value.
False – if the page title does not match or an error occurs.