I am using Selenium POM (page object model) with PF (page factory) for various desktop web browser tests.
I just started quest - testing responsive mobile web on real mobile devices.
I already have over 500 tests for desktop web browser (tons of multi level page objects and test classes). Responsive web has a lot of differences to desktop web (but some identificators are same)
Somehow I need to add those new reponsive web tests into my project. I have those alternatives -
- create whole new Page objects + new test classes = ton of work
- create whole new Page objects + modify actuall test classes
- modify actual Page objects(insert responsive mobile
elements/actions) + new test classes =less work, bad readability
Which one should I choose ? thanks.