Problem Statement :
We have an customer support (CS) application that is supported only on desktop browser whereas the client facing app can use desktop as well as mobile browsers. So It’s challenging to automate a use case where customer support (CS) completes a process on desktop but client accesses the link using a mobile device to complete the process since it includes two different browser entities – desktop & mobile.
Our Solution -
We achieved this user flow automation using Selenium’s Chrome DevTools Protocol where we overrode the desktop mode and simulated a mobile mode in a single user flow. Additionally, we integrated this flow in our Behaviour driven development (BDD) framework & also achieved parallel execution of our automated tests for quicker test completion.