Forum Discussion
You're talking about Region checkpoints or image comparisons. That's how I would go about doing it.
https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/regions/about.html
How can we use Visualizer or NameMapping stored images to compare if there is any changes on the go, Instead of regions/stores ?
- AlexKaras6 years agoChampion Level 3
Hi,
> How can we use Visualizer or NameMapping stored images to compare
No way. Those images are provided for your convenience only and cannot be used from within your test code.
You have two options:
a) Use Stores/screenshots comparison as suggested by Robert; or
b) Use some third-party service (like Applitools, for example).
- Vallalarasu_P6 years agoFrequent Contributor
For Visual Testing, We have to compare the images on the go.
In Testcomplete,
1) if we are using visualizer to capture the images
2) No selecting the checkbox for "Auto Update Frames"
3) Capture Images are activated.
Scenario,
If the system 1 with Resolution 1 (Y x Z) in which the Code is created.
In System 2 with Resolution 2 ( A x B) if we are executing the code for eg: Click a button.
The Excution fails due to image capture is not matching.
So, Do we have a possibility to an improved feature to activate the Visual testing
1) Adding Regions, Every Object image need to be added (tedious process)
2) Adding third pary (Appi tools) is expensive.
Instead if we can use
https://support.smartbear.com/testcomplete/docs/reference/program-objects/picture/difference.html
The following method can be used for visual testing.
PictureObj.Difference(Picture, Transparent, PixelTolerance, Mouse, ColorTolerance, Mask)
Instead of Picture loading an external file, If we have a method to refere to Visualization .
Visual testing can be achieved using testcomplete.
Just a thought. Please throw the possibilities and correct me if i'm wrong.
- Vallalarasu_P6 years agoFrequent Contributor
TanyaYatskovska , shankar_r - Can you comment please ?
Related Content
- 4 years ago
- 2 years ago
- 2 years ago
Recent Discussions
- 12 hours ago