Save the browser face content for running playback tests

How to use eValid to support regression testing.

Save the browser face content for running playback tests

Postby CavettJ » Thu Jun 06, 2019 12:47 pm

Afternoon.

Has eValid got some way to automatically save the contents of the browser face every time I make a playback?

Would really make running my playback tests faster and easier.


Thanks
CavettJ
 
Posts: 1
Joined: Thu Jun 06, 2019 12:43 pm

Re: Save the browser face content for running playback tests

Postby eValid » Fri Jun 07, 2019 11:01 am

CavettJ wrote:Afternoon.

Has eValid got some way to automatically save the contents of the browser face every time I make a playback?

Would really make running my playback tests faster and easier.


Thanks


Yes, this can be done CavettJ.

There is a special command for this:

SaveWindow wid "UniqueID" or SaveWindowFace wid "UniqueID"

The wid parameter specifies the number of the browser window you're concerned with (wid = 0 is for the for the main browser window, the one you start with and the ones that open after that, if any, are numbered 1, 2, 3...).

The "UniqueID" command is the name of the file that will be filled with the current contents of the browser window, or just the browser window face -- without the border -- as a *.gif" file.

The screenshots generated this way are fairly large, so be careful not to fill up your memory with too much data that you can't use.


-- 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