Page 1 of 1

Does eValid work for comparing a screen of snapshots

PostPosted: Wed Jan 13, 2016 3:20 pm
by LDelano
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

Re: Does eValid work for comparing a screen of snapshots

PostPosted: Thu Jan 14, 2016 9:01 am
by eValid
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