From the course: Scripting for Testers
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Challenge: Cross browser data validation - Python Tutorial
From the course: Scripting for Testers
Challenge: Cross browser data validation
(snappy music) - [Instructor] I've got one last challenge for you before we close this course. We've been learning a lot about working with images in Python and now it's time for you to try it out on your own. You've seen how to Diff and compare images from different devices and for this challenge I want you to try out something similar to this on your own. However, instead of comparing images across different emulated devices I want you to compare them across different browsers on the same device. So try comparing Chromium, Firefox and WebKit renderings of the same page. To help you out you can find a starting script in the course files that contains some of the set up and comparison code that we wrote in some of the earlier videos. See if you can see that this contains the compare images function that will compare the two images. It also contains some initial set up for Playwright and you can see here that it's currently set up to use Chromium. So your job is going to be to also…
Contents
-
-
-
-
-
-
(Locked)
Taking a snapshot of your site5m 20s
-
(Locked)
Verifying images in a snapshot6m 6s
-
(Locked)
Emulating different devices3m 37s
-
(Locked)
Create image diff (difference) tools4m 4s
-
(Locked)
Comparing images5m 57s
-
(Locked)
Generating test images5m 42s
-
(Locked)
Find a subimage in an image6m 38s
-
(Locked)
Challenge: Cross browser data validation1m 22s
-
(Locked)
Solution: Cross browser data validation5m 52s
-
(Locked)
-