The following pages and posts are tagged with

TitleTypeExcerpt
Creating Test Pages Page Implementation of abstract methods The BaseTestPage class contains following abstract methods that need to be implemented in test page class. protected void initParent() protected void openPage(PageLocator loc) public boolean isPageActive()...
Page Design Concepts Page Page Hierarchy One page becomes parent/launcher of another page(s) results in creating navigation hierarchy. Single navigation route This is the normal page hierarchy were a page can be launched from only one page. Consider the example where page P is home page, P11 and P12 can be navigated...
Page launch strategy Page By default page strategy is launch only if required. You can set strategy by using setLaunchStrategy method. Available launch strategies are onlyIfRequired, alwaysRelaunchFromParent and alwaysRelaunchFromRoot which are defined by enum LaunchStrategy. To set specific strategy for all test one can set appropriate strategy in page constructor. In case of test...
Page Locator and Object arguments in Launch page Page The page locator is intended for identifying exact locator when there are multiple locators available to open the page from the parent page. The ideal example is item details page which can be open from item list page. On item list page there can be list of items with available...