Validating the clipboard contents

How to apply eValid to functional testing of web applications.

Validating the clipboard contents

Postby LarryC » Mon Feb 15, 2021 4:05 pm

Good afternoon.

Can eValid validate the contents of the clipboard?

Thanks
LarryC
 
Posts: 1
Joined: Mon Feb 15, 2021 3:57 pm

Re: Validating the clipboard contents

Postby eValid » Tue Feb 16, 2021 12:26 pm

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
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

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