![Page 1: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/1.jpg)
Spot the difference Automating visual
regression testing
@11vlr
![Page 2: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/2.jpg)
@11vlr
Spot the difference Automating visual
regression testing
![Page 3: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/3.jpg)
• Automated testing is more reliable, as
it is performed by tools and/or scripts.
• Automated testing is executed by
software tools, so it is significantly
faster than a manual approach.
WHY AUTOMATE END
TO END UI TESTS?
@11vlr
![Page 4: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/4.jpg)
@11vlr
• Investment is required
• Automated testing is a practical option
when the test cases are run
repeatedly over a long time period.
• Automated testing entail
human observation and cannot
guarantee user-friendliness or positive
customer experience.
COMMON UI
AUTOMATION ISSUES
DOES NOT
![Page 5: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/5.jpg)
IT CAN BE A SLIPPERY SLOPE
@11vlr
![Page 6: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/6.jpg)
ICE-CREAM CONE ANTI-PATTERN
@11vlr
Unit
Service
UI
Manual & Exploratory
Testing
£
£££
Adaption of https://watirmelon.blog/testing-pyramids/
![Page 7: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/7.jpg)
HOUR GLASS ANTI-PATTERN
@11vlr
£
£££
£
£££
UI
Unit
Manual & Exploratory
Testing
Adaption of: https://www.getautoma.com/blog/the-test-hourglass
![Page 8: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/8.jpg)
@11vlr
WHEN YOU HAVE
UNIT BUT NO
INTEGRATION TESTS
![Page 9: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/9.jpg)
@11vlr
TESTINGfrAgile
![Page 10: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/10.jpg)
TESTING PYRAMID
@11vlr
£
£££
UI
Service
Unit
Manual & Exploratory
Testing
Adaption of https://martinfowler.com/bliki/TestPyramid.html
![Page 11: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/11.jpg)
@11vlr
WHY NOT JUST STICK
WITH MANUAL
TESTING THEN?
• Manual testing allows for human
observation, which may be more
useful if the goal is user-friendliness
or improved customer experience.
UI
Service
Unit
Manual & Exploratory
Testing
![Page 12: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/12.jpg)
@11vlr
• Can be time intensive
• Is not accurate at all times due to
human error, hence it is less reliable.
• Is time-consuming, taking up human
resources.
• Is only practical when the test cases
are run once or twice, and frequent
repetition is not required.
MANUAL TESTING
![Page 13: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/13.jpg)
WE DON’T HAVE TIME TO AUTOMATE
@11vlr
![Page 14: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/14.jpg)
CATCH 22
@11vlr
We don’t automate
We don’t have time
BECAUSE BECAUSE
![Page 15: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/15.jpg)
@11vlr
MANY OPTIONS
![Page 16: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/16.jpg)
@11vlr
• Open source; anybody can see the
code and help
• Big community of support
• Can operate on almost any OS
• Multiple language support (Python,
Ruby, .Net, PHP, Java, JavaScript)
• Supports a range of browsers like
Opera, Chrome, IE (6,7,8,9,10,11),
Mozilla Firefox, Safari
SELENIUM
![Page 17: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/17.jpg)
IT’S NOT A SILVER BULLET
@11vlr
![Page 18: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/18.jpg)
@11vlr
• Speed to execute tests
• Render differently
BROWSER
COMPATIBILITY
ISSUES
![Page 19: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/19.jpg)
EXECUTION SPEED
@11vlr
![Page 20: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/20.jpg)
MAINTAINABILITY
@11vlr
![Page 21: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/21.jpg)
@11vlr
HOW VALUABLE ARE THESE TESTS?
![Page 22: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/22.jpg)
@11vlr
WHAT THE….
![Page 23: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/23.jpg)
@11vlr
ALL IS NOT WHAT IT SEEMS
![Page 24: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/24.jpg)
@11vlr
MAKING TESTS LESS
FLAKY
![Page 25: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/25.jpg)
@11vlr
• Page object patterns
MAKING TESTS LESS
FLAKY
http://martinfowler.com/bliki/PageObject.html
![Page 26: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/26.jpg)
@11vlr
• Qa-selectors
MAKING TESTS LESS
FLAKY
![Page 27: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/27.jpg)
@11vlr
Qa- selectors
![Page 28: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/28.jpg)
@11vlr
HOW GOOD ARE YOU AT SPOT THE
DIFFERENCE
![Page 29: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/29.jpg)
@11vlr
HOW MANY DIFFERENCES CAN YOU FIND?
![Page 30: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/30.jpg)
@11vlr
HOW MANY DIFFERENCES DID YOU FIND?
@11vlr
![Page 31: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/31.jpg)
THERE WERE 11 DIFFERENCES
@11vlr
![Page 32: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/32.jpg)
HOW DO YOU KNOW WHEN YOU’VE
FOUND THEM ALL?
@11vlr
![Page 33: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/33.jpg)
CAN WE ADD MORE VALUE TO OUR
TESTS?
@11vlr
UI
Service
Unit
Manual & Exploratory
Testing
![Page 34: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/34.jpg)
WHAT IF WE COULD SIMPLY
@11vlr
equalsAssert
![Page 35: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/35.jpg)
VISUAL TESTING
@11vlr
![Page 36: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/36.jpg)
@11vlr
• Didn’t work straight out of the box
and/or contained lots of bloat
• Steep learning curve
• Small community so lack of support
• Needed to work with our current
automation framework
• Costs
ISSUES WITH OTHER
OFFERINGS
![Page 37: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/37.jpg)
@11vlr
• Been in development 1 year
• Facing many challenges which are
because of the products we offer, the
ways in which we have developed
them and the way in which we test
them
ROLLING OUR OWN
![Page 38: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/38.jpg)
@11vlr
• Browser rendering issues
RELIABILITY
![Page 39: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/39.jpg)
@11vlr
EXECUTION SPEED
![Page 40: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/40.jpg)
@11vlr
HUMAN VS MACHINE
![Page 41: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/41.jpg)
@11vlr
HUMAN VS MACHINE
![Page 42: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/42.jpg)
@11vlr
LETS ZOOM IN A LITTLE
![Page 43: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/43.jpg)
@11vlr
LETS ZOOM IN A LITTLE BIT MORE…
![Page 44: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/44.jpg)
@11vlr
GOT HIM!
![Page 45: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/45.jpg)
@11vlr
HOW QUICK WAS THE MACHINE?
![Page 46: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/46.jpg)
@11vlr
MAINTAINABILITY
Old code
![Page 47: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/47.jpg)
@11vlr
MAINTAINABILITY
Old code
New code using some helpers
![Page 48: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/48.jpg)
@11vlr
MAINTAINABILITY
New code using Specflow
New code using some helpers
![Page 49: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/49.jpg)
@11vlr
EASILY IDENTIFY THE DIFFERENCES
![Page 50: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/50.jpg)
@11vlr
ACCURACY
![Page 51: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/51.jpg)
@11vlr
IMAGE QUALITY DIFFERENCE
![Page 52: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/52.jpg)
@11vlr
CHALLENGES SO FAR
![Page 53: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/53.jpg)
@11vlr
MAINTAINING BASE
IMAGES
Keep a base image for each driver
type
![Page 54: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/54.jpg)
@11vlr
SCREENSHOTS
• Viewport (default - WebDriver
W3C standard)
• Full Screen (stitching)
• Capture images of just
elements
![Page 55: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/55.jpg)
@11vlr
SCREEN RESOLUTIONS
![Page 56: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/56.jpg)
@11vlr
SCREEN RESOLUTIONS
![Page 57: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/57.jpg)
@11vlr
Responsive design
![Page 58: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/58.jpg)
@11vlr
HARDWARE ISSUES
Machine hardware rendering
snapshots slightly differently
![Page 59: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/59.jpg)
@11vlr
STORAGE
Database / Online storage – file
sizes (many images)
![Page 60: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/60.jpg)
@11vlr
DYNAMIC CONTENT
![Page 61: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/61.jpg)
@11vlr
DYNAMIC CONTENT
class=“attendeesLink"
![Page 62: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/62.jpg)
@11vlr
MOVING ELEMENTS
• CSS animations
• Videos
![Page 63: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/63.jpg)
@11vlr
VISUALLY CHECKING DOCUMENTS
![Page 64: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/64.jpg)
@11vlr
PDF DYNAMIC
CONTENT
• A way to blanket content within
documents
![Page 65: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/65.jpg)
UPCOMING CHALLENGES
@11vlr
![Page 66: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/66.jpg)
@11vlr
MORE COMPARISON
OPTIONS
• Text only
• Layout only
![Page 67: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/67.jpg)
ANOTHER TOOL TO ADD TO YOUR BELT
@11vlr
![Page 68: Spot the difference - TestCon...SELENIUM IT’S NOT A SILVER BULLET @11vlr @11vlr • Speed to execute tests • Render differently BROWSER COMPATIBILITY ISSUES EXECUTION SPEED @11vlr](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee13682ad6a402d666c2bed/html5/thumbnails/68.jpg)
@11vlr
THANK YOU
Git repository: http://bit.ly/VisualTesting
NuGet.org Package:
@11VLR
WWW.VIVRICHARDS.CO.UK