Forum Discussion
Thanks Shankar,
I've attached the image below for the Image based action. I figured though, I might need to use a Region Checkpoint instead, however this is having the opposite problem. I cannot get any image to be recognised.
When I add a region checkpoint I use the Select Window region option. I select the small region in the app, then I can select the 'Highlight' button in the wizzardand it will 'highlight' my image correctly in the application.
When I go to run the test, it fails and the image comparrison just shows red. I've tried to turn of DWM, change the image type, I've turned off Aero desktop theme, changed the tolerance levels all to no effect. When I reselect the Region checkpoint to go back into the wizzard and re-highlight the area on the application, it can no longer find the image on the screen. (Returns an error). So, either way I'm stuck when trying to use some sort of image comparrison to asset some of the tests.
Any help, direction or something else to try would be great as I'm going a bit cross-eyed here.
This could be related to screen resolution.
- Johny_tester6 years agoOccasional Visitor
I get the same thing as Geoff - false positives for Image based actions (exists) for Keyword tests.
Interestingly, if I run these tests as Scripts then they pass/fail as expected.
I guess the workaround is to convert Keyword tests to scripts and run tests as scripts