Forum Discussion
Hi Curt,
You can update images from TestExecute. You just need to prepare your test project:
* Open your test project in TestComplete.
* Open the editor of the Stores | Regions project item.
* Select the Update check box for the images you are going to update.
* Save the changes.
Now, open your project in TestExecute, open the Options | Engines | Stores dialog and select the "Update regions" check box. That's all. TestExecute will update the images when you run tests in it.
You said you had problems with centering the images. Just two quick ideas:
* As far as I know, Google Maps Image API offers parameters that specify the location and size of the maps to be displayed. Perhaps, you can use these parameters to get the image you need.
* If you just need to verify that your page displays the correct map, you can store a smaller image to the project's Stores | Regions collection and modify your test so that it searches for this smaller image in the bigger map that is shown. If this sought-for piece is found, you may consider Google displays the appropriate map... For more info on searching the images, see Finding an Image Within Another Image.