Creating a simple Web App Testcase in a laptop and running it in a desktop - different resolutions
I created a simple web app testcase ( Open a URL, enter user id and password, enter the website, click the logout button) in my laptop and tested it from the same machine successfully. I had to loop it and run for multiple users.
Then i moved the project to a different machine ( a desktop, which only had cpu and no monitor) and remotely executed the case from my laptop. It worked fine as long as my screen was active and available. But as soon as disconnected the remote connection, my rest of the cases started failing as no screen was available and the testcase was not able to find the user id and password fields in the login screen.
Have you guys faced a similar situation? What i am understanding from my case is that as long as my monitor was available it was running and was able to locate the fields using the x,y co-ordinates and when my monitor was no longer available the desktop was trying to find the user id and password fields at the same co-ordinates in the default resolution of the desktop, which of course will not be at the same position and hence my cases failed.
Any workaround for this scenario?