How to Automate 2 websites in the same Selenium Page Object Model Frame work
I appreciate your help.
I am automating 2 websites in the same selenium project.
For the first website we have the tests in the test folder and the page element locators and methods in the page folder.
The second website has its tests in the test folder(the tests are different here, so this okay) The question is about the page folder. What is the best practice. Should we create a different page class for each page in the second website? Or do we combine the pages from the two websites?
How do we maintain the page object model structure for 2 websites in the same project?
Yes, you need to create different page class for another website. I would suggest you creating another project to avoid confusion.
Thanks for your help. I appreciate
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project
© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings