make your ui tests resilient with the next generation of
play

Make Your UI Tests Resilient with the Next Generation of - PDF document

T14 Test Automation Thursday, October 3rd, 2019 1:30 PM Make Your UI Tests Resilient with the Next Generation of Frameworks


  1. ¡ ¡ T14 ¡ Test ¡Automation ¡ Thursday, ¡October ¡3rd, ¡2019 ¡1:30 ¡PM ¡ ¡ ¡ ¡ ¡ Make ¡Your ¡UI ¡Tests ¡Resilient ¡with ¡the ¡ Next ¡Generation ¡of ¡Frameworks ¡ ¡ Presented ¡by: ¡ ¡ ¡ ¡ Satyajit ¡Malugu ¡ ¡ ¡ Brought ¡to ¡you ¡by: ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ 888 -­‑-­‑-­‑ 268 -­‑-­‑-­‑ 8770 ¡ ·√·√ ¡904 -­‑-­‑-­‑ 278 -­‑-­‑-­‑ 0524 ¡-­‑ ¡info@techwell.com ¡-­‑ ¡http://www.starwest.techwell.com/ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

  2. Satyajit ¡Malugu ¡ ¡ Satyajit ¡Malugu ¡is ¡a ¡test ¡automation ¡engineer ¡with ¡over ¡10 ¡years ¡of ¡experience. ¡He ¡ specializes ¡in ¡Android ¡and ¡iOS ¡mobile ¡test ¡automation, ¡and ¡has ¡helped ¡companies ¡ including ¡Urbanspoon, ¡Godaddy, ¡and ¡SoFi ¡plan ¡and ¡execute ¡on ¡mobile ¡test ¡strategy. ¡ He ¡is ¡eager ¡to ¡learn ¡and ¡to ¡share ¡his ¡learnings ¡as ¡a ¡speaker ¡at ¡industry ¡testing ¡ conferences. ¡He ¡also ¡blogs ¡occasionally ¡at ¡mobiletest.engineer. ¡ ¡ ¡ ¡ ¡

  3. MAKE YOUR UI TESTS RESILIENT WITH THE NEXT GENERATION OF FRAMEWORKS BY SATYAJIT MALUGU SENIOR ENGINEER, SOFI

  4. BIGGEST PROBLEM WITH UI TEST AUTOMATION

  5. WHY IS IT FLAKY • Classic E2E test have too many variables • Network • Data System Under • 3 rd party SDKs Test • Complicated application logic • We don’t know for sure when SUT is ready • Lack of control on SUT

  6. HOW DO YOU ADDRESS FLAKINESS SLEEP WAIT PRAY

  7. BUT ITS NOT ENOUGH NOT RELIABLE MAKES AUTOMATION DIAGNOSING THE SLOW PROBLEM TAKES LONGER

  8. GREY BOX VS BLACK BOX

  9. IS THIS BLASPHEMY? • Can a puny test look inside the sacred walls of the SUT? • Yes, if that creates more useful tests

  10. Bringing the SUT to a ready state SYNCHRONIZATION before performing any testing operations on it

  11. ESPRESSO • Mature, de-facto Android test automation framework from Google • Very fast and highly reliable • Synchronizes the app with test actions • Network, UI loaders, background tasks and custom tasks can all be synchronized

  12. HELLO WORLD ESPRESSO

  13. ESPRESSO IDLING RESOURCES An advanced framework support for async operations Provides fine grained control in tests Makes tests much more robust

  14. DEMO

  15. CYPRESS.IO • Non-selenium web automation tool • Runs within the JavaScript engine of the browser • All in one JS tool with extensive tools for debugging like timetravel

  16. CYPRESS DEMO

  17. EARLGREY • Very similar to espresso but for iOS • Synchronization at UI level, network, and in custom events • Can live side by side with default XCUITests

  18. EARLGREY DEMO

  19. WHAT'S THE TRADEOFF Reliability Unit tests Espresso, Earlgrey Cypress Selenium, Appium Fidelity

  20. TEST AUTOMATION PYRAMID Black box Tests Grey Box UI tests API/Integration tests Unit tests

  21. Think beyond selenium and appium Add grey box tools to your test TAKEAWAYS automation toolbox Synchronization

  22. QUESTIONS

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend