ADVANCED TEST AUTOMATION TECHNIQUES FOR RESPONSIVE APPS AND SITES - - PowerPoint PPT Presentation

advanced test automation
SMART_READER_LITE
LIVE PREVIEW

ADVANCED TEST AUTOMATION TECHNIQUES FOR RESPONSIVE APPS AND SITES - - PowerPoint PPT Presentation

ADVANCED TEST AUTOMATION TECHNIQUES FOR RESPONSIVE APPS AND SITES Adam Carmi (@carmiadam) Co-Founder and CTO at Applitools Automating visual software testing AGENDA What are responsive web sites? Let s test Github! Best


slide-1
SLIDE 1 Automating visual software testing

ADVANCED TEST AUTOMATION TECHNIQUES FOR RESPONSIVE APPS AND SITES

Adam Carmi (@carmiadam) Co-Founder and CTO at Applitools

slide-2
SLIDE 2 Automating visual software testing

AGENDA

  • What are responsive web sites?
  • Let’s test Github!
  • Best practices
  • Q & A
slide-3
SLIDE 3 Automating visual software testing

RESPONSIVE WEB DESIGN

An approach to web design aimed at crafting sites to provide an optimal viewing and interaction experience across a wide range of devices.

WIKIPEDIA

slide-4
SLIDE 4 Automating visual software testing

https://github.com

slide-5
SLIDE 5 Automating visual software testing

window.innerWidth

slide-6
SLIDE 6 Automating visual software testing

TEST = INTERACTION + VALIDATION

slide-7
SLIDE 7 Automating visual software testing

LET’S TEST!

+ + +

slide-8
SLIDE 8 Automating visual software testing

INTERACTION TIPS

  • Detect page layout within its page object
  • Build browser and layout independent automation
  • Avoid creating layout specific page objects
  • Avoid detecting layout by window.innerWidth
slide-9
SLIDE 9 Automating visual software testing

TEST = INTERACTION + VALIDATION

slide-10
SLIDE 10 Automating visual software testing

HOW CAN WE VALIDATE RWD?

An approach to web design aimed at crafting sites to provide an optimal viewing and interaction experience across a wide range of devices.

WIKIPEDIA

slide-11
SLIDE 11 Automating visual software testing

VISUAL TESTING

A quality assurance activity aimed to verify that a Graphical User Interface appears correctly to users

slide-12
SLIDE 12 Automating visual software testing
slide-13
SLIDE 13 Automating visual software testing

THE WORKFLOW

Drive the AUT and take screenshots Compare screenshots with baseline images Report differences Update the baseline

slide-14
SLIDE 14 Automating visual software testing

LET’S TEST!

+ + +

slide-15
SLIDE 15 Automating visual software testing

VALIDATION TIPS

  • Set the viewport size rather than the browser window size
  • Use page object callbacks to validate layout-specific UI states
  • Prefer full page validation over component validation
  • Focus on lower layout boundaries
slide-16
SLIDE 16 Automating visual software testing

QUESTIONS?

Adam Carmi (@carmiadam) Co-Founder and CTO at Applitools