nastester
4 years agoRegular Contributor
Running tests on laptop screen vs monitor screen
Hello! My team has a TestComplete project, for testing a web application, mostly comprised of keyword tests but also some scripts. We have found that some tests are failing when ran on a laptop sc...
- 4 years ago
In this case, it makes no sense that the object was zero as it is visible on both the laptop screen and monitor screen.
What I found is that by default, when you keyword record a Click event, a coordinate pair is given to the action (not sure if this is a setting that can be disabled or not). Changing the coordinates to the default value of (-1, -1) or using a script click without coordinates like obj.Click(); the item is able to be clicked on both screen resolutions