0

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?

2 Answers 2

0

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

3
  • @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?
    – user21268
    Commented Sep 16, 2016 at 4:10
  • hai who to run this file?
    – user21268
    Commented Sep 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
    – ECiurleo
    Commented Sep 16, 2016 at 10:52
0

It is a pattern to create Object Repository for web UI elements.

Structural Implementation:

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 waitForPaymentScreenDisplay().

Some Links which help you more

Link 1 Link 2 Link 3

4
  • 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?
    – user21268
    Commented Sep 15, 2016 at 6:50
  • @AntonyNaveen Start using page object initially.. Commented 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?
    – user21268
    Commented Sep 15, 2016 at 7:02
  • @AntonyNaveen Please read from above Links . That will help you very well explained. Commented Sep 15, 2016 at 8:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.