Professional Documents
Culture Documents
Ruslan Strazhnyk
February 2012
About me
Ruslan Strazhnyk Experience more than 6 years in IT Position:
QA Automation Engineer
Skills:
Python, Selenium, Jenkins Jmeter, Cloud Services
www.maven.co
Agenda
Part1
Selenium Grid and Jenkins xUnit frameworks Issues with some browsers
Part2
Selenium in the cloud. Integration with various cloud services Build your own infrastructure in the cloud
Part 1
Using selenium for functional testing in continuous integration.
Customer satisfaction
Custom Job
Using Jenkins
Selenium Grid
Cons
Manual update to new Selenium Server through workaround No control
Nodes tune-up
How to add multiple OS/ browser version support Different run-scripts for every browser
Firefox profile template Googlechrome driver Iexplore security issues
Tune-up
Configuration hints
java -jar C:/Selenium/selenium-server-standalone-2.19.0.jar -role webdriver -hub http://192.168.1.33:4444/grid/register -port 5555 -nodeTimeout 1200 firefoxProfileTemplate "C:/selenium/firefox/ilki8ovl.selenium" -browser browserName=firefox,version=10,platform=WINDOWS java -jar C:/Selenium/selenium-server-standalone-2.19.0.jar -role webdriver Dwebdriver.chrome.driver="C:/selenium/chromedriver.exe" -hub http://192.168.1.33:4444/grid/register -port 5559 -nodeTimeout 1200 -browser browserName=chrome,platform=WINDOWS
Browser support
Windows is Windows
Different CSS and XPATH Slow performance
SSL support Proxy support Let you control the browser not browser control you
Universal Framework
Plugins
Include third-party plugins Testconfig
Part 2
Selenium in the cloud. Integration with BrowserMob, SauceLabs, ShiningPanda, AmazonEC2
How could cloud testing help your project. When to turn cloud.
When you need cloud services:
Everybody needs unless youre not Facebook, Google, Cisco Having own cluster base is expensive You have a start-up and your team is remote You want to quickly show results to customers, investors etc.
Cloud Providers
Load Testing
Cons
Takes weeks to build good working test infrastructure A lot of computer power is required to run really good load tests
Computing power
Pros
Already includes all services you only start thinking of Video capturing and good error parsing Easy API
Cons
Non-free use Dependency on the service provider
SauceOnDemand
Shining Panda
Is it Really Fast?
Cons
Takes a lot of time to build good working test infrastructure Harder support Needs smart Developers in Test to design frameworks
Cloud services
Selenium Grid
Jenkins CI
Ideal QA Environment
xUnit Framework
Questions? Ideas?
My contact info:
ua.linkedin.com/in/ruslanstraznhyk twitter.com/strazhnyk ruslanstrazhnyk
strazhnyk@gmail.com
http://www.maven.co/join/TUHvWu8K