Does eValid work for comparing a screen of snapshots

How to use eValid to support regression testing.

Does eValid work for comparing a screen of snapshots

Postby LDelano » Wed Jan 13, 2016 3:20 pm

Afternoon there.

Does anyone if eValid can be user a human-friendly tool for testing and reviewing visual regressions.

Like comparing the screen snapshots?

Thanks
LDelano
 
Posts: 1
Joined: Wed Jan 13, 2016 3:17 pm

Re: Does eValid work for comparing a screen of snapshots

Postby eValid » Thu Jan 14, 2016 9:01 am

LDelano wrote:Afternoon there.

Does anyone if eValid can be user a human-friendly tool for testing and reviewing visual regressions.

Like comparing the screen snapshots?

Thanks


Thanks for posting your question LDelano.

eValid has good facilities for this.

First, assuming you have your script running ok, then you can edit into the script one of these commands:

SaveScreenRect
-- to save a particular subscreen of the current window

SaveWindow, SaveWindowFace
-- to save the entire window including or
excluding the border of the window


All of these commands accept the name of the file (which will be overwritten each time).

Then, when you run the script it will save the current contents.

This creates the baseline screenshots.

Save these and later, when you rerun the test, you can use the command:

CompareImages
-- to compare two specified images.

This command will throw an error flag if the baseline and current image(s) differ.

You can then use commands like: OnErrorGoscript to alter the flow of the test playback to account for having found a regression.

Hope that answers you question.

-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Regression Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons