r/selenium

How to cleanly implement 2 versions of a page in Appium? Page factory?

There is a new version of my app’s home page that I need to start testing. The page is theoretically identical to the old version—new version is just an architectural overhaul with a different page source as a result. What’s the right approach to being able to test both concurrently in a python repo? 2 pages (legacy vs modern) is a common challenge for the team I started working with so I am hoping to establish a convention here.

I was thinking maybe using a factory pattern and instantiating one or the other based on an environment variable that also acts as a gate for a fixture that toggles the feature or maybe points to a branch with it enabled by default. But I’m pretty new to UI automation so I’d like to ask if there’s any other approach that should be considered

reddit.com
u/fucking-migraines — 7 days ago
▲ 3 r/selenium+1 crossposts

Set Screen resolution is not available anymore in Azure DevOps

Hi guys. Have you ever encountered this kind of error? The set screen resolution is no longer available in Azure Devops marketplace. What is alternative solution for this?

u/Extension-Clock5239 — 11 days ago