Class_Lecture _PageObject: What is Page Object Pattern? How to use Page Object model in Selenium?

Описание к видео Class_Lecture _PageObject: What is Page Object Pattern? How to use Page Object model in Selenium?

What is Page Object Pattern?
+How to use Page Object model in Selenium?
-------------------------------------------------------------------------
Page Object pattern: Is the up to date smart framework or design pattern as
-Easy to maintain.
-Easy readability of scripts
-Reduce or eliminate duplicity
-Re-usability of code
-Reliability

How Page Object works? : Create a separate java class for an individual page and put all the belonging objects of that page.
Ex: For Home page create a class name as 'HomeClass' & put all the objects paths and related method (so that you can call those method from Test class) of that home page inside the HomeClass. Repeat the same things for other pages.

-----------------------------------------------------------------------------
Know more:
-----------------------------------------------------------------------------
site: www.codenboxautomationlab.com
Fb group:   / codenboxautomationlab  
Twitter:   / codenboxteam  

Комментарии

Информация по комментариям в разработке