Enhanced Page Object FAQ

  • Q: How can we define a Page Object class in TAF?
    A: Just extend your page class by PageClass class available with TAF.

  • Q: Why do I have to override certain methods while extending the PageClass?
    A: The methods that are required to be overridden while extending the PageClass helps in using the enhanced Page Object Model of TAF.

  • Q: Can I return a full url while overriding the “to” method?
    A: Yes you can do so. TAF will automatically identify whether the said url of the page is absolute or relative. If its not absoulute TAF will automatically append the base url to the start of the provided page url.