Upload
pooja-shah
View
129
Download
0
Embed Size (px)
Citation preview
Can we have it all ! Selenium- Soup for all Approaching scalable test automation framework SeConf UK Nov, 2016
Pooja Shah
iPod iPhone iPad
iPaid
3
We shall not pass
6
•Choice of Tech Stack•Pain Points•Work Around•Sell your bugs
Ideal World ~ way towards Agility
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
a Omni-channel product?
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
13
Sample XML<root> <popup> <node1 name=“Cancel”/> <node2 name=“Sign Up”/> <popup> …………………. …………………………. <popup> <node1 name=“Cancel”/> <node2 name=“Sign Up”/> <popup> <root>
14
Trigger & publish test results ?Sell your bugs with CI !
Accessibility
Transparency
Every possible feedback data at one point
From local script to remote jenkinsIssue Flaky tests on remote
To do’s to debug logs screenshots understand processes
Solution Xvfb 1400x1200x16 Dimension dimension = new Dimension(1224,800); Monit
Release Status AnalyserTests list Tests status (Pass/Fail) Developers responsible Release Go/NoGo call quickly Release version to Revert Back to avoid the Fix bugs in
production
Fixing bugs
in Production
http://p00j4.github.io/
RSA - http://p00j4.github.io/
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
\
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
\
Thank You!
http://meettheqagirl.blogspot.in
@p00j4shah
http://p00j4.github.io