Hybrid framework in selenium part 2

preview_player
Показать описание
Page Layer design:

Design the page layer by using the POM (page object model) design pattern within the page Object package.
Create an object repository at the page level.
Write an action method within the page layer class.

Test Layer Design :

Create a test layer within the test Cases package.
Write test case for the login page
Extends base class so that we can use driver instance within test cases.
Pass valid test data to login action method of the login Page class

Test Base :
Create base class within test Cases package which will load the browser and navigate to Application under test page.
The base class will help us as a mediator between the test layer and the page layer.
Рекомендации по теме
visit shbcf.ru