Using Synchronize On Screen Rectangle Command in eValid

How to apply eValid to functional testing of web applications.

Using Synchronize On Screen Rectangle Command in eValid

Postby GCoffrey » Mon Apr 26, 2021 10:01 am

Hi.

Can you please going into more detail regarding the eValid feature Using the Synchronize On Screen Rectangle Command?

Thanks
GCoffrey
 
Posts: 1
Joined: Mon Apr 26, 2021 9:57 am

Re: Using Synchronize On Screen Rectangle Command in eValid

Postby eValid » Tue Apr 27, 2021 9:44 am

GCoffrey wrote:Hi.

Can you please going into more detail regarding the eValid feature Using the Synchronize On Screen Rectangle Command?

Thanks


Thanks for asking about this feature GCoffrey.

eValid has an advanced feature "Synchronize On Screen Rectangle" which calculates a checksum on a chosen screen area during recording and compares it with the checksum taken from the same area during playback.

This is often a very effective way to validate an object which cannot be normally validated through another common eValid command, "Validate Selected Text".

Use of this command is suggested when you wish to test highly complex pages or pages that utilize applets.

This command is used to see if the Applet is fully loaded.

This is accomplished by creating a checksum of the fully loaded Applet during recording and comparing it with the one created from the same region during playback.

(1) Navigate to your favorite site which you know contains an image that is static.

(2) Start a normal recording.

(3) Click on "eValid > Record > Validate > & Synchronize > Screen Rectangle", or simply press "Ctrl +Q".

(4) A prompt will the appear informing you to click on "The Upper Left Hand Side" and then "The Lower Right Hand Side" to create the rectangle to be validated.

(5) After clicking a rectangle will appear briefly to confirm the area that was selected.

This is the area from which the checksum is generated.

(6) Stop Recording.

(7) Playback your script.

(8) As you will see, if the image has not changed, the checksum that was produced during playback should match the one recorded, thereby validating the image.

Failures are reported in the Error/Messages log.

Note 1: A change in the image by even one pixel will result in a different checksum and will cause the playback to fail.

Note 2: Related "Synchronize On Screen Rectangle" commands such as "Draw Visible Outline", "Retry Interval", and "Max.

Retry Interval" are available in the eValid Advanced Preferences area under the the Record/Play Preferences menu.


--eValid Support
eValid
 
Posts: 2176
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