Page 1 of 1

Validating the clipboard contents

PostPosted: Mon Feb 15, 2021 4:05 pm
by LarryC
Good afternoon.

Can eValid validate the contents of the clipboard?

Thanks

Re: Validating the clipboard contents

PostPosted: Tue Feb 16, 2021 12:26 pm
by eValid
LarryC wrote:Good afternoon.

Can eValid validate the contents of the clipboard?

Thanks


Thanks for asking LarryC.

In situations where a normal validation functions are not applicable with cases such as JavaScript driven pages, eValid has another form of Text Validation called "Validate Clipboard Text".

This function copies the text to be validated in the the clipboard and validates it against the text that is copied during playback.

This ensures that the text specified in the recording is actually the same text that will be verified upon playback.

(1) Start your recording.

(2) Highlight the string that you want to validate.

(3) Right Click and select "Copy".

(4) Hit "Ctrl + Alt + C"

(4) Stop recording.

(5) Begin playback - As you will see the text will actually be copied to the clipboard and will be compared to the text which was copied during recording.

(6) Check your log files for the appropriate message - If the text copied during the recording matches the text which was copied during playback, it should reflect in the logs.

Otherwise, if it does not match, then an error will be shown in the log files.


-- eValid Support