VerifyPageTitle
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Browser Element Name. It instructs the Avo Assure Client 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 output variable. By using VerifyPageTitle Action in your automated test scripts, a user can easily confirm that page titles are set correctly across different pages of the web application
Input: <page title>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
When testing a web application and you need to ensure that the page title displayed in the browser matches the expected title for specific pages. The VerifyPageTitle Action helps automate this validation process to confirm that the correct page title appears after navigating to a page.
Page Title: Home
Expected page title for the homepage: Home
When the home page is loaded (https://www.example.com/home), this Action needs to compare the Current Web page title with the string which is given as Input in the Input Value and if the page title "Home" is same with Input string then shouldstore the status as True or else False in Output Variable.
The VerifyPageTitle Action is comparing the current web page’s title with the string which is given as Input in Input Value and Store the result in the {status} Output variable as True which means that the actual and the expected value of page title match, which can be utilized for display or other purposes.