Forum Discussion
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.
TanyaYatskovska , shankar_r - Can you comment please ?
- Vallalarasu_P6 years agoFrequent Contributor
If we have another function similar to
Current:
w = Sys.Desktop.ActiveWindow().Picture(20, 20, 50, 50);
Regions.AddPicture(w, "MyFile.bmp");New Feature:
w = NameMapping.Sys.QRBrowser.LoginPage.buttonLogIn.Picture()
Regions.AddPicture(w,"LoginButton.Jpg");
Related Content
- 3 years agoparisgambit
- 12 months agoMW_Didata
- 12 months agoBob_C
Recent Discussions
- 21 hours agoGane195