Page 1 of 1

Saving the final screen in every test I finish

PostPosted: Mon Jul 06, 2020 10:13 am
by GDowney
Good morning.

I want to run a test and save the final screen of the test every time.

Is there some simple way to do that?

Thanks

Re: Saving the final screen in every test I finish

PostPosted: Tue Jul 07, 2020 11:48 am
by eValid
GDowney wrote:Good morning.

I want to run a test and save the final screen of the test every time.

Is there some simple way to do that?

Thanks


Great question, thanks for posting GDowney.

There are several commands that deal with saving the screen, in a variety of ways.

Here is a list of them:

SaveFullHTML
Save HTML
SaveMessage
SaveRecord
SaveScreenRect
SaveSelectedObjProperties
SaveSelectedText
SaveSelectedImage
SaveVisibleText
SaveWindow
SaveWindowFace

The one you probably want is "SaveWindowFace" that saves the content of the window (without any borders).

In all cases you can specify the local filename into which the screen content is saved. In some cases, the name assignment is automatic, based on suffixing a string to the name of the script.


-- eValid Support