| || |
1.We are using TestComplete for testing a closed application.We are using Regions.Find for finding particular images in the screen.The results vary widely due to changes in resolutions.Is there is any solution to make the Test scripts to give the same result in all the resolutions?
If the size of the sought-for images (in pixels) do not change in different resolutions, the Find method should work fine.
If the image size changes, you will not be able to use the Find method directly. One of the possible solutions could be the following: you prepare several versions of the images (for each screen resolution you are going to test) and use the corresponding version of the image according to the current screen resolution (Sys.Screen().Width, Sys.Screen().Height).
Bobby Edgar Olagoo.com
Save on AutomatedQA Products