SlideShare a Scribd company logo
Introduction to 
- Sajnikanth Suriyanarayanan 
Presented at AlbumPrinter QA Guild on 20th Nov 2014
Contents 
● Why Saucelabs? 
● Demo script 
● Using Sauce to run demo script 
● Introduction to holmium 
● Running script with holmium on sauce 
● Questions
Why Sauce?
... 
● Cross browser 
● Cross platform 
● Parallel testing 
● yada yada… 
There’s also Browserstack, Browsershots, 
Browserling etc.
Let’s get our hands dirty
Demo Setup & Intro 
sudo pip install nose selenium holmium.core 
git clone https://github.com/sajnikanth/sauce-demo 
● Setup 
○ Use local Firefox 
● Test Steps 
○ Go to Vistaprint Corp Page 
○ Click on “sign in” button 
○ On Login Page, enter username, password and login 
○ Check if “Welcome message is displayed” 
● Tear Down 
○ Quit Browser
Running Demo Script locally 
python tests/selenium_vistaprint_test.py 
or 
nosetests tests/selenium_vistaprint_test.py
Saucelabs Setup 
● Register at https://saucelabs.com 
○ Have username handy 
● Go to https://saucelabs.com/account 
● Get Access Key 
sudo pip install sauceclient
Demo Script on Sauce 
● Setup 
○ Check if sauce credentials are available during runtime 
■ Env - Windows & Chrome 
○ If credentials are not available 
■ Use local Firefox 
● Test Steps 
○ Go to Vistaprint Corp Page 
○ Click on “sign in” button 
○ On Login Page, enter username, password and login 
○ Check if “Welcome message is displayed” 
● Tear Down 
○ Check if sauce credentials are available during runtime 
■ Update results on Sauce 
○ Quit Browser
Running on Sauce 
nosetests tests/selenium_vistaprint_test.py  
-cred=<ENTER SAUCE USERNAME>:<ENTER SAUCE ACCESS KEY>
Demo Script with Holmium 
Holmium is a plugin for nosetests; can easily create page objects 
● Test Steps 
○ Go to <URL> 
○ Click on “sign in” button 
○ Login with <username> and <password> 
○ Check if “Welcome message is displayed” 
○ Update results on Saucelabs, if possible
...
Demo Script with Holmium on Sauce 
nosetests tests/holmium_vistaprint_test.py 
--with-holmium --holmium-browser=firefox 
--holmium-environment=http://vistaprint.com 
--holmium-remote=http://<ENTER SAUCE USERNAME>:<ENTER 
SAUCE ACCESS KEY>@ondemand.saucelabs.com:80/wd/hub 
--holmium-capabilities='{"platform":"OS X 10.10", 
"name":"vistaprint_login"}'
...
Recap 
● Demo script run locally on Firefox (hard-coded) 
● Demo script run on Sauce on Windows / 
Chrome (hard-coded) 
● Demo script with holmium on Sauce on OSX 
/ Firefox (command line parameter)
Questions? 
Resources 
● Presentation Link - http://j.mp/introduction-to-sauce 
● Demo Script 
● Holmium 
● Introduction to SauceLabs by Ryan Lane 
● BrowserStack vs Sauce Labs 
Contact 
● mail@sajnikanth.com

More Related Content

What's hot

Introduction to composer
Introduction to composerIntroduction to composer
Introduction to composer
Jino Hoàng
 
Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2
WordPress
 
Frontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.jsFrontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.js
Renan Gonçalves
 
Autotests introduction - Codeception + PHP Basics
Autotests introduction - Codeception + PHP BasicsAutotests introduction - Codeception + PHP Basics
Autotests introduction - Codeception + PHP Basics
Artur Babyuk
 
GlotPress aka translate.wordpress.org
GlotPress aka translate.wordpress.orgGlotPress aka translate.wordpress.org
GlotPress aka translate.wordpress.org
Marko Heijnen
 
Lightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atkLightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atk
Romans Malinovskis
 
Q6 what have you learnt about technologies
Q6   what have you learnt about technologiesQ6   what have you learnt about technologies
Q6 what have you learnt about technologies
Alex Drury
 
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
Garry Stewart
 
Designing a Conversational Intelligent Bot which can cook
Designing a Conversational Intelligent Bot which can cookDesigning a Conversational Intelligent Bot which can cook
Designing a Conversational Intelligent Bot which can cook
Kaushik Das
 
Automate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.jsAutomate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.js
Josh Lee
 
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Ido Green
 
Grunt understanding
Grunt understandingGrunt understanding
Grunt understanding
Khalid Khan
 
Time's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save YoursTime's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save Yours
James Bundey
 
Building plugins like a pro
Building plugins like a proBuilding plugins like a pro
Building plugins like a pro
Marko Heijnen
 
The bugfix confirmation loop - PyConFI 2013
The bugfix confirmation loop - PyConFI 2013The bugfix confirmation loop - PyConFI 2013
The bugfix confirmation loop - PyConFI 2013
Niklas Närhinen
 
Typescript - a JS superset
Typescript - a JS supersetTypescript - a JS superset
Typescript - a JS superset
Tyrone Allen
 
Cordova iOS Native Plugin Development
Cordova iOS Native Plugin DevelopmentCordova iOS Native Plugin Development
Cordova iOS Native Plugin Development
Josue Bustos
 
Coffee script part 2
Coffee script part 2Coffee script part 2
Coffee script part 2
max peng
 
Having your cake, and eating it too!
Having your cake, and eating it too!Having your cake, and eating it too!
Having your cake, and eating it too!
Gary Park
 
NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.
Tomek Sułkowski
 

What's hot (20)

Introduction to composer
Introduction to composerIntroduction to composer
Introduction to composer
 
Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2
 
Frontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.jsFrontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.js
 
Autotests introduction - Codeception + PHP Basics
Autotests introduction - Codeception + PHP BasicsAutotests introduction - Codeception + PHP Basics
Autotests introduction - Codeception + PHP Basics
 
GlotPress aka translate.wordpress.org
GlotPress aka translate.wordpress.orgGlotPress aka translate.wordpress.org
GlotPress aka translate.wordpress.org
 
Lightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atkLightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atk
 
Q6 what have you learnt about technologies
Q6   what have you learnt about technologiesQ6   what have you learnt about technologies
Q6 what have you learnt about technologies
 
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
 
Designing a Conversational Intelligent Bot which can cook
Designing a Conversational Intelligent Bot which can cookDesigning a Conversational Intelligent Bot which can cook
Designing a Conversational Intelligent Bot which can cook
 
Automate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.jsAutomate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.js
 
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
 
Grunt understanding
Grunt understandingGrunt understanding
Grunt understanding
 
Time's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save YoursTime's Important - Let Task Management Save Yours
Time's Important - Let Task Management Save Yours
 
Building plugins like a pro
Building plugins like a proBuilding plugins like a pro
Building plugins like a pro
 
The bugfix confirmation loop - PyConFI 2013
The bugfix confirmation loop - PyConFI 2013The bugfix confirmation loop - PyConFI 2013
The bugfix confirmation loop - PyConFI 2013
 
Typescript - a JS superset
Typescript - a JS supersetTypescript - a JS superset
Typescript - a JS superset
 
Cordova iOS Native Plugin Development
Cordova iOS Native Plugin DevelopmentCordova iOS Native Plugin Development
Cordova iOS Native Plugin Development
 
Coffee script part 2
Coffee script part 2Coffee script part 2
Coffee script part 2
 
Having your cake, and eating it too!
Having your cake, and eating it too!Having your cake, and eating it too!
Having your cake, and eating it too!
 
NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.
 

Similar to Introduction to saucelabs

Mobile Meow at Mobilism
Mobile Meow at MobilismMobile Meow at Mobilism
Mobile Meow at Mobilism
Greg Schechter
 
How to Personalize Product Demos
How to Personalize Product DemosHow to Personalize Product Demos
How to Personalize Product Demos
Consensus
 
Web testing with Selenium
Web testing with SeleniumWeb testing with Selenium
Web testing with Selenium
XBOSoft
 
JS Days Mobile Meow
JS Days Mobile MeowJS Days Mobile Meow
JS Days Mobile Meow
Greg Schechter
 
QA Fest 2018. Michał Buczko. Automated Security Scanning in Payment Industry
QA Fest 2018. Michał Buczko. Automated Security Scanning in Payment IndustryQA Fest 2018. Michał Buczko. Automated Security Scanning in Payment Industry
QA Fest 2018. Michał Buczko. Automated Security Scanning in Payment Industry
QAFest
 
Ways to Guarantee Nobody Misses Your Next Webinar
Ways to Guarantee Nobody Misses Your Next WebinarWays to Guarantee Nobody Misses Your Next Webinar
Ways to Guarantee Nobody Misses Your Next Webinar
William Marco Locañas
 
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
2014 09-10-12 Building Customer Profiles - Move from clicks to faces2014 09-10-12 Building Customer Profiles - Move from clicks to faces
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
Vinoaj Vijeyakumaar
 
Web DU Mobile Meow
Web DU Mobile MeowWeb DU Mobile Meow
Web DU Mobile Meow
Greg Schechter
 
WordPress ecommerce talk
WordPress ecommerce talkWordPress ecommerce talk
WordPress ecommerce talk
Josh Levinson
 
Web scraping 101 with goutte
Web scraping 101 with goutteWeb scraping 101 with goutte
Web scraping 101 with goutte
Joshua Copeland
 
Install WordPress plugin with ease
Install WordPress plugin with easeInstall WordPress plugin with ease
Install WordPress plugin with ease
WordPrax Ltd.
 
Slideshare Signingup
Slideshare SigningupSlideshare Signingup
Slideshare Signingup
AUT
 
Internet Broadcasting
Internet BroadcastingInternet Broadcasting
Internet Broadcasting
Edward Carr
 
The Importance of Maintenance
The Importance of MaintenanceThe Importance of Maintenance
The Importance of Maintenance
Michele Butcher-Jones
 
HOW TO USE JING
HOW TO USE JINGHOW TO USE JING
HOW TO USE JING
Ma. Sheryl Tapon
 
AgreeDo ..{ All about meeting }..
AgreeDo ..{ All about meeting }..AgreeDo ..{ All about meeting }..
AgreeDo ..{ All about meeting }..
u2916198
 
Developing word press professionally
Developing word press professionallyDeveloping word press professionally
Developing word press professionally
Austin Gil
 
Basic Plugin Recommendations to get your WordPress Website Started
Basic Plugin Recommendations to get your WordPress Website StartedBasic Plugin Recommendations to get your WordPress Website Started
Basic Plugin Recommendations to get your WordPress Website Started
Nile Flores
 
The power of accessibility (November, 2018)
The power of accessibility (November, 2018)The power of accessibility (November, 2018)
The power of accessibility (November, 2018)
Rachel M. Carmena
 
OSDC 2014: Schlomo Schapiro - Test Driven Infrastructure
OSDC 2014: Schlomo Schapiro -  Test Driven InfrastructureOSDC 2014: Schlomo Schapiro -  Test Driven Infrastructure
OSDC 2014: Schlomo Schapiro - Test Driven Infrastructure
NETWAYS
 

Similar to Introduction to saucelabs (20)

Mobile Meow at Mobilism
Mobile Meow at MobilismMobile Meow at Mobilism
Mobile Meow at Mobilism
 
How to Personalize Product Demos
How to Personalize Product DemosHow to Personalize Product Demos
How to Personalize Product Demos
 
Web testing with Selenium
Web testing with SeleniumWeb testing with Selenium
Web testing with Selenium
 
JS Days Mobile Meow
JS Days Mobile MeowJS Days Mobile Meow
JS Days Mobile Meow
 
QA Fest 2018. Michał Buczko. Automated Security Scanning in Payment Industry
QA Fest 2018. Michał Buczko. Automated Security Scanning in Payment IndustryQA Fest 2018. Michał Buczko. Automated Security Scanning in Payment Industry
QA Fest 2018. Michał Buczko. Automated Security Scanning in Payment Industry
 
Ways to Guarantee Nobody Misses Your Next Webinar
Ways to Guarantee Nobody Misses Your Next WebinarWays to Guarantee Nobody Misses Your Next Webinar
Ways to Guarantee Nobody Misses Your Next Webinar
 
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
2014 09-10-12 Building Customer Profiles - Move from clicks to faces2014 09-10-12 Building Customer Profiles - Move from clicks to faces
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
 
Web DU Mobile Meow
Web DU Mobile MeowWeb DU Mobile Meow
Web DU Mobile Meow
 
WordPress ecommerce talk
WordPress ecommerce talkWordPress ecommerce talk
WordPress ecommerce talk
 
Web scraping 101 with goutte
Web scraping 101 with goutteWeb scraping 101 with goutte
Web scraping 101 with goutte
 
Install WordPress plugin with ease
Install WordPress plugin with easeInstall WordPress plugin with ease
Install WordPress plugin with ease
 
Slideshare Signingup
Slideshare SigningupSlideshare Signingup
Slideshare Signingup
 
Internet Broadcasting
Internet BroadcastingInternet Broadcasting
Internet Broadcasting
 
The Importance of Maintenance
The Importance of MaintenanceThe Importance of Maintenance
The Importance of Maintenance
 
HOW TO USE JING
HOW TO USE JINGHOW TO USE JING
HOW TO USE JING
 
AgreeDo ..{ All about meeting }..
AgreeDo ..{ All about meeting }..AgreeDo ..{ All about meeting }..
AgreeDo ..{ All about meeting }..
 
Developing word press professionally
Developing word press professionallyDeveloping word press professionally
Developing word press professionally
 
Basic Plugin Recommendations to get your WordPress Website Started
Basic Plugin Recommendations to get your WordPress Website StartedBasic Plugin Recommendations to get your WordPress Website Started
Basic Plugin Recommendations to get your WordPress Website Started
 
The power of accessibility (November, 2018)
The power of accessibility (November, 2018)The power of accessibility (November, 2018)
The power of accessibility (November, 2018)
 
OSDC 2014: Schlomo Schapiro - Test Driven Infrastructure
OSDC 2014: Schlomo Schapiro -  Test Driven InfrastructureOSDC 2014: Schlomo Schapiro -  Test Driven Infrastructure
OSDC 2014: Schlomo Schapiro - Test Driven Infrastructure
 

Recently uploaded

GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Envertis Software Solutions
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 

Recently uploaded (20)

GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 

Introduction to saucelabs

  • 1. Introduction to - Sajnikanth Suriyanarayanan Presented at AlbumPrinter QA Guild on 20th Nov 2014
  • 2. Contents ● Why Saucelabs? ● Demo script ● Using Sauce to run demo script ● Introduction to holmium ● Running script with holmium on sauce ● Questions
  • 4. ... ● Cross browser ● Cross platform ● Parallel testing ● yada yada… There’s also Browserstack, Browsershots, Browserling etc.
  • 5. Let’s get our hands dirty
  • 6. Demo Setup & Intro sudo pip install nose selenium holmium.core git clone https://github.com/sajnikanth/sauce-demo ● Setup ○ Use local Firefox ● Test Steps ○ Go to Vistaprint Corp Page ○ Click on “sign in” button ○ On Login Page, enter username, password and login ○ Check if “Welcome message is displayed” ● Tear Down ○ Quit Browser
  • 7. Running Demo Script locally python tests/selenium_vistaprint_test.py or nosetests tests/selenium_vistaprint_test.py
  • 8. Saucelabs Setup ● Register at https://saucelabs.com ○ Have username handy ● Go to https://saucelabs.com/account ● Get Access Key sudo pip install sauceclient
  • 9. Demo Script on Sauce ● Setup ○ Check if sauce credentials are available during runtime ■ Env - Windows & Chrome ○ If credentials are not available ■ Use local Firefox ● Test Steps ○ Go to Vistaprint Corp Page ○ Click on “sign in” button ○ On Login Page, enter username, password and login ○ Check if “Welcome message is displayed” ● Tear Down ○ Check if sauce credentials are available during runtime ■ Update results on Sauce ○ Quit Browser
  • 10. Running on Sauce nosetests tests/selenium_vistaprint_test.py -cred=<ENTER SAUCE USERNAME>:<ENTER SAUCE ACCESS KEY>
  • 11. Demo Script with Holmium Holmium is a plugin for nosetests; can easily create page objects ● Test Steps ○ Go to <URL> ○ Click on “sign in” button ○ Login with <username> and <password> ○ Check if “Welcome message is displayed” ○ Update results on Saucelabs, if possible
  • 12. ...
  • 13. Demo Script with Holmium on Sauce nosetests tests/holmium_vistaprint_test.py --with-holmium --holmium-browser=firefox --holmium-environment=http://vistaprint.com --holmium-remote=http://<ENTER SAUCE USERNAME>:<ENTER SAUCE ACCESS KEY>@ondemand.saucelabs.com:80/wd/hub --holmium-capabilities='{"platform":"OS X 10.10", "name":"vistaprint_login"}'
  • 14. ...
  • 15. Recap ● Demo script run locally on Firefox (hard-coded) ● Demo script run on Sauce on Windows / Chrome (hard-coded) ● Demo script with holmium on Sauce on OSX / Firefox (command line parameter)
  • 16. Questions? Resources ● Presentation Link - http://j.mp/introduction-to-sauce ● Demo Script ● Holmium ● Introduction to SauceLabs by Ryan Lane ● BrowserStack vs Sauce Labs Contact ● mail@sajnikanth.com