I want to do my automation testing project following a page object model using Selenium's webdriver framework. Does anybody knows about the pom framework, please explain How i start my project using page object model framework in selenium webdriver?
I have a small base project on GitHub written in Java and using Maven.
Have a look, it might be a good starting point for you; https://github.com/ECiurleo/webdriverBase
@EClurieo hai.. What is your opinion about page object model framework? Does it useful? I am a new in the testing field. Actually I don't know about page object model framework. could you explain in simple words. how the pom framework is good comparing with other frameworks like modular, keyword, data and hybrid driven frameworks?– user21268Sep 16, 2016 at 4:10
hai who to run this file?– user21268Sep 16, 2016 at 6:48
Instructions on how to run are in the read me. In most IDE you can normally select the TestNG xml (custom_tests.xml) right click and select run. To answer your other question may need a separate question on stackoverflow– ECiurleoSep 16, 2016 at 10:52
It is a pattern to create
Object Repository for web UI elements.
In POM for each web page in the application there should be corresponding page class. That Page class will find the
WebElements of that web page and also contains
Page methods which perform operations on those WebElements.
Name of these methods should be given as per the task they are performing i.e., if a loader is waiting for payment gateway to be appear, POM method name can be
Some Links which help you more
Excuse me. there were keyword driven , hybrid driven modular driven and data driven framework and also page object model framwork are there which framework will i select? which is better for use?– user21268Sep 15, 2016 at 6:50
@AntonyNaveen Start using page object initially.. Sep 15, 2016 at 6:52
i would like to know about the framwork in selenium webdriver. I am learning basics of selenium webdriver. next i want to do my project using a framework. how to start? what will i do?– user21268Sep 15, 2016 at 7:02
@AntonyNaveen Please read from above Links . That will help you very well explained. Sep 15, 2016 at 8:46