advanced test automation
play

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


  1. ADVANCED TEST AUTOMATION TECHNIQUES FOR RESPONSIVE APPS AND SITES Adam Carmi (@carmiadam) Co-Founder and CTO at Applitools Automating visual software testing

  2. AGENDA • What are responsive web sites? • Let ’ s test Github! • Best practices • Q & A Automating visual software testing

  3. 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. W IKIPEDI A Automating visual software testing

  4. https://github.com Automating visual software testing

  5. window.innerWidth Automating visual software testing

  6. TEST = INTERACTION + VALIDATION Automating visual software testing

  7. LET ’ S TEST! + + + Automating visual software testing

  8. 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 Automating visual software testing

  9. TEST = INTERACTION + VALIDATION Automating visual software testing

  10. 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. W IKIPEDI A Automating visual software testing

  11. VISUAL TESTING A quality assurance activity aimed to verify that a Graphical User Interface appears correctly to users Automating visual software testing

  12. Automating visual software testing

  13. THE WORKFLOW Drive the AUT and take screenshots Compare screenshots with baseline images Report differences Update the baseline Automating visual software testing

  14. LET ’ S TEST! + + + Automating visual software testing

  15. 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 Automating visual software testing

  16. QUESTIONS? Adam Carmi (@carmiadam) Co-Founder and CTO at Applitools Automating visual software testing

Recommend


More recommend