How to design automation framework when the app to be tested has 500 web pages?



  • I have a web application which has around 500 pages. Can we use POM framework and if so, is it a good practice? if not, please suggest some ideas.



  • Well, first I would ask these questions:

    • Do you really need to write Selenium test for all of these 500 pages?
    • Do your developers write enough and good Unit tests?

    I assume it is a Single Page Application and for sure there are so many common components between these 500 pages i.e they are not 500 unique pages with completely different behaviours and functionality.

    I recommend to follow the Test Pyramid and make a list of test cases which are not covered by low level tests. Then go with any solution/design which are scalable, fast and not flaky and easy to configure & maintain (for example puppeteer).



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2