Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SeConf_Nov2016_London

339 views

Published on

2016.seleniumconf.co.uk

Published in: Art & Photos
  • Be the first to comment

SeConf_Nov2016_London

  1. 1. Can we have it all ! Selenium- Soup for all Approaching scalable test automation framework SeConf UK Nov, 2016 Pooja Shah
  2. 2. iPod iPhone iPad iPaid
  3. 3. 3
  4. 4. We shall not pass
  5. 5. 6
  6. 6. •Choice of Tech Stack •Pain Points •Work Around •Sell your bugs
  7. 7. Ideal World ~ way towards Agility
  8. 8. Are Unit Test & Integration test Enough? Frequent UI changes Backend Releases affects mobile apps ? API parameters changed Unreachable code in production mode HTML templates being passed
  9. 9. a Omni-channel product? 10
  10. 10. Pain Points: 1. browser die/server crash/inspector crash/simulator crash/ stuck 2. locating strategy 3. time consuming to test the test 4. Simulating gestures 5. same works 1st time but doesn’t work next time
  11. 11. 13 Sample XML <root> <popup> <node1 name=“Cancel”/> <node2 name=“Sign Up”/> <popup> …………………. …………………………. <popup> <node1 name=“Cancel”/> <node2 name=“Sign Up”/> <popup> <root>
  12. 12. 14
  13. 13. Trigger & publish test results ? Sell your bugs with CI ! Accessibility Transparency Every possible feedback data at one point
  14. 14. From local script to remote jenkins Issue Flaky tests on remote To do’s to debug logs screenshots understand processes Solution Xvfb 1400x1200x16 Dimension dimension = new Dimension(1224,800); Monit
  15. 15. Release Status Analyser Tests list Tests status (Pass/Fail) Developers responsible Release Go/NoGo call quickly Release version to Revert Back to avoid the Fix bugs in production
  16. 16. Fixing bugs in Production
  17. 17. http://p00j4.github.io/
  18. 18. RSA - http://p00j4.github.io/
  19. 19. DDD (Debug Driven Development) ~ Oren Rubin Test Code be of production quality Appropriate Design pattern Units (Say no to Large Tests) Say no to “static” unless intended Proper logging Take screenshots as much as possible Automated everything? way to start -> publish results in RSA
  20. 20. Demo Project: https://github.com/p00j4/scalable-framework Selenium: http://www.seleniumhq.org/ Appium: http://appium.io/ Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial IRC: #selenium #jenkins #appium References & Credits
  21. 21. Thank You! http://meettheqagirl.blogspot.in @p00j4shah http://p00j4.github.io

×