See: Description
AbstractSuite like this:
AbstractSuite provides suites with a getPageFactory
method to create the page factories passed in as a type parameter. In this example,
the page factory passed as a generic type on line 7 is returned by
getPageFactory.
MyPageFactory:
PageFactory should return a sub class of
Page. This allows testng-selenium to initialize your page objects,
by doing some cool things, like navigating to them when WebDriver
has been created. See
Page Initialization for more details.
Copyright © 2015. All rights reserved.