Hot answers tagged page-objects
3
Read this ( scroll down to the page objects section though the whole page us good ) and this for some background
Or from this page
Taking it back to basics, essentially there are three functions I see
a page object pattern provides:
Ability to easily instantiate pages in a consistent manner
Ability to concisely describe elements on a page, ...
3
There are times when using the Page Object Pattern makes a lot of sense and times where it doesn't make as much sense. If you have a web application where it is basically one single dynamic page then it makes less sense, however you can still use "page" objects that are really more like "section" objects for common pieces, for example if you have a Left ...
1
Is a page URL a property of the Page Object ? What if a number of different URLs lead to the same page ? Also, what if the URL is used to pass some parameters, do you if at all deal with that ?
Most of my pages don't know (or care) about the URLs that lead to them. When I have pages that I want to jump to directly (rather than navigating to by ...
Only top voted, non community-wiki answers of a minimum length are eligible
