SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Presenters:
Bryan Lamb- robotframeworktutorial.com
Chris Broesamle- saucelabs.com
Tool Introduction
& Saucelabs.com Integration
Agenda
ž  About me
ž  Demo!
ž  What is a Test Automation “Framework”?
ž  Robot Framework Origin & History
ž  Features & Capabilities (Demo)
ž  Robot Framework vs. Selenium
ž  How to Install
ž  Simple Web Script (Demo)
ž  Layered/Page Objects Web Script (Demo)
ž  Saucelabs.com Example (Demo)
ž  Jenkins/Parallel Execution (Acceleration Demo)
ž  Where to Find Out More
ž  Q&A
About Me
ž  20 Years QA/Development/Leadership
ž  Apple, Macromedia, Yahoo, Experian
ž  Founder of RobotFrameworkTutorial.com
Robot Framework Demo
ž  Run the tests
—  API
—  File Sytem
—  Website
—  DB (SQL Server & MySql)
—  XML
ž  Examine the Amazing Results File
What is a Test Automation Framework
ž  Language
ž  Scripts
ž  Reusable page/entity objects
ž  Supporting libraries (web, API, DB, mobile)
ž  Abstraction layer for increased readability
ž  Test runner with selective run capabilities (tags)
ž  Suite/test setup & teardown (recovery)
ž  Reports
—  results summary/aggregation
—  timestamps
—  drill downs
—  search
—  embedded screenshots
ž  Scheduler/CI Integration
ž  Parallel Execution
ž  Conventions
Origin & History
ž  2005
—  Developed in Finland
—  Ideas shaped in Pekka Klärck's masters thesis
—  1.0 developed at Nokia Siemens Networks
ž  2008
—  Version 2.0 released as open source
software
ž  Current Version: 2.8.7
Pekka Klärck
Features & Capabilities
ž  Cross-Platform (Win, Mac, Linux)
ž  Keyword-Driven (w/ Data-driven capabilities)
—  Natural Language/Business Domain
—  Libraries (Demo of RF Website):
Built-In
External (pip install xxxxx)
OperatingSystem
Process
Dialogs String XML
Collections DateTime Screen Shot
Selenium2 Appium FTP SSH
Database Diff Swing Archive
Robot Framework “vs.” Selenium
Built-In Libraries
External Libraries (pip install xxxxx)
OperatingSystem
Process
Dialogs String XML
Collections DateTime Screen Shot
Robot Framework Script (.robot)
Selenium2 Appium FTP SSH
Database Diff Swing Archive
Hint: It “is” Selenium
Robot Framework vs. Selenium
Typical C# Selenium- Steeper learning curve for QA
Robot Framework vs. Selenium
Robot Framework Keywords- Not as intimidating for QA
Robot Framework vs. Cucumber (Gherkin)
Robot Framework can do Gherkin too!
How to Install
ž  Cross-platform (Win, Mac, Linux)
ž  Installation is small, light, and fast
ž  Requires some command line basics
ž  Steps
—  Install Python & PIP (add to your PATH)
○  Use PIP to install Robot Framework
○  Use PIP to install Selenium2 Library
○  Use PIP to install DB & API Libraries
—  Select & install desired browser versions
—  Install Selenium Webdrivers for each browser
—  Install the Pycharm IDE & Intellibot plugin
ž  Full details at robotframeworktutorial.com
Simple Web Script (Demo from Scratch)
Robot Framework
Selenium Webdriver
Selenium2 Library
Script (.robot)
Layered/Page Objects Example (Demos)
Test Cases (.robot)
User-Defined Keywords (.robot)
Page Object 1 Page Object 2
Selenium Webdrivers
Selenium2Library
Saucelabs.com Example
Robot Framework
Optional
-  Sauce Connect
-  Multiple Jenkins Slaves
Saucelabs.com Example (Demo)
ž  2 Steps*
1.  Add remote_url and desired_capabilities to
your Open Browser keyword (variables)
2.  Create a custom library which uses API call to
report test results back to Saucelabs
ž  Override the desired capabilities variable
from the command line to switch platforms
—  * Course available at robotframeworktutorial.com
Jenkins/Parallel Execution (Demo)
ž  *Jenkins can be used as a web GUI wrapper
around the Windows command line
—  “1 Click” script execution
—  Enables scheduling, etc.
ž  “Build Flow” plugin enables parallel execution
ž  Jenkins Robot Framework plugin keeps
results history, graphs, etc.
ž  * Course available at robotframeworktutorial.com
Where to Find Out More
ž  robotframework.org has docs & examples
ž  robotframeworktutorial.com training videos
ž  Groups/Forums
—  Linkedin
—  Google
—  Facebook
—  StackOverflow
Q&A
ž  How is development time vs. a Selenium fwk?
ž  CSS or XPath for locators?
ž  Will it work for AngularJS?
ž  Does it support Windows controls/apps?
ž  Can it be used for testing Flash?
ž  Can it be used for testing mobile apps?
ž  How does it compare to Page Object Model?
ž  Can it iterate over datasets/key:value pairs?
ž  How to run pabot on Jenkins & Sauce?

Weitere ähnliche Inhalte

Was ist angesagt?

Robot framework
Robot frameworkRobot framework
Robot framework
boriau
 
Introduction to Gitlab
Introduction to GitlabIntroduction to Gitlab
Introduction to Gitlab
Julien Pivotto
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 

Was ist angesagt? (20)

Network Protocol Testing Using Robot Framework
Network Protocol Testing Using Robot FrameworkNetwork Protocol Testing Using Robot Framework
Network Protocol Testing Using Robot Framework
 
Robot framework and selenium2 library
Robot framework and selenium2 libraryRobot framework and selenium2 library
Robot framework and selenium2 library
 
Robot framework Gowthami Goli
Robot framework Gowthami GoliRobot framework Gowthami Goli
Robot framework Gowthami Goli
 
Robot Framework :: Demo login application
Robot Framework :: Demo login applicationRobot Framework :: Demo login application
Robot Framework :: Demo login application
 
ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot Framework
 
Ruin your life using robot framework
Ruin your life using robot frameworkRuin your life using robot framework
Ruin your life using robot framework
 
Robot framework
Robot frameworkRobot framework
Robot framework
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
 
Robot Framework with Python | Edureka
Robot Framework with Python | EdurekaRobot Framework with Python | Edureka
Robot Framework with Python | Edureka
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
 
Introduction to Gitlab
Introduction to GitlabIntroduction to Gitlab
Introduction to Gitlab
 
Robot Framework with actual robot
Robot Framework with actual robot Robot Framework with actual robot
Robot Framework with actual robot
 
Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)
 
Webdriver io presentation
Webdriver io presentationWebdriver io presentation
Webdriver io presentation
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
 
Scripting robot
Scripting robotScripting robot
Scripting robot
 
Introduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training SessionIntroduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training Session
 
Cypress, Playwright, Selenium, or WebdriverIO? Let the Engineers Speak!
Cypress, Playwright, Selenium, or WebdriverIO? Let the Engineers Speak!Cypress, Playwright, Selenium, or WebdriverIO? Let the Engineers Speak!
Cypress, Playwright, Selenium, or WebdriverIO? Let the Engineers Speak!
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Appium & Robot Framework
Appium & Robot FrameworkAppium & Robot Framework
Appium & Robot Framework
 

Andere mochten auch

Nexus 1010 Overview and Deployment
Nexus 1010 Overview and DeploymentNexus 1010 Overview and Deployment
Nexus 1010 Overview and Deployment
Sal Lopez
 
Parallel testing overview
Parallel testing overviewParallel testing overview
Parallel testing overview
Barbara Getter
 
Analysis of pk data- Pop PK analysis
Analysis of pk data- Pop PK analysisAnalysis of pk data- Pop PK analysis
Analysis of pk data- Pop PK analysis
Gayathri Ravi
 

Andere mochten auch (19)

Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
 
Acceptance testing plone sites and add ons with robot framework and selenium
Acceptance testing plone sites and add ons with robot framework and seleniumAcceptance testing plone sites and add ons with robot framework and selenium
Acceptance testing plone sites and add ons with robot framework and selenium
 
Robot framework - Lord of the Rings
Robot framework - Lord of the RingsRobot framework - Lord of the Rings
Robot framework - Lord of the Rings
 
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan PeshovJavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
 
DCI NetApp Benefits
DCI NetApp BenefitsDCI NetApp Benefits
DCI NetApp Benefits
 
11 applications of factoring
11 applications of factoring11 applications of factoring
11 applications of factoring
 
Nexus 1010 Overview and Deployment
Nexus 1010 Overview and DeploymentNexus 1010 Overview and Deployment
Nexus 1010 Overview and Deployment
 
Chiller Plant Room Layout 3D
Chiller Plant Room Layout 3DChiller Plant Room Layout 3D
Chiller Plant Room Layout 3D
 
FAQ on Dedupe NetApp
FAQ on Dedupe NetAppFAQ on Dedupe NetApp
FAQ on Dedupe NetApp
 
Parallel testing overview
Parallel testing overviewParallel testing overview
Parallel testing overview
 
Analysis of pk data- Pop PK analysis
Analysis of pk data- Pop PK analysisAnalysis of pk data- Pop PK analysis
Analysis of pk data- Pop PK analysis
 
Top 5 Mistakes in Mobile Affiliate Marketing
Top 5 Mistakes in Mobile Affiliate MarketingTop 5 Mistakes in Mobile Affiliate Marketing
Top 5 Mistakes in Mobile Affiliate Marketing
 
Use of Analytics in Procurement
Use of Analytics in ProcurementUse of Analytics in Procurement
Use of Analytics in Procurement
 
IBM Security Identity & Access Manager
IBM Security Identity & Access ManagerIBM Security Identity & Access Manager
IBM Security Identity & Access Manager
 
Simplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and NibSimplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and Nib
 
New Product Development Report
New Product Development ReportNew Product Development Report
New Product Development Report
 
NetApp & Storage fundamentals
NetApp & Storage fundamentalsNetApp & Storage fundamentals
NetApp & Storage fundamentals
 
Romeo and Juliet Act 1 Summary
Romeo and Juliet Act 1 SummaryRomeo and Juliet Act 1 Summary
Romeo and Juliet Act 1 Summary
 
Honda International Case Study
Honda International Case StudyHonda International Case Study
Honda International Case Study
 

Ähnlich wie Robot Framework Introduction & Sauce Labs Integration

Best Selenium Online Training
Best Selenium Online TrainingBest Selenium Online Training
Best Selenium Online Training
Samatha Kamuni
 
eXo Platform SEA - Play Framework Introduction
eXo Platform SEA - Play Framework IntroductioneXo Platform SEA - Play Framework Introduction
eXo Platform SEA - Play Framework Introduction
vstorm83
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
coreyjack
 

Ähnlich wie Robot Framework Introduction & Sauce Labs Integration (20)

Web UI Tests: Introduce UI tests using Selenium
Web UI Tests: Introduce UI tests using Selenium Web UI Tests: Introduce UI tests using Selenium
Web UI Tests: Introduce UI tests using Selenium
 
Best Selenium Online Training
Best Selenium Online TrainingBest Selenium Online Training
Best Selenium Online Training
 
Session on Selenium Powertools by Unmesh Gundecha
Session on Selenium Powertools by Unmesh GundechaSession on Selenium Powertools by Unmesh Gundecha
Session on Selenium Powertools by Unmesh Gundecha
 
Testing Mozilla Web Properties
Testing Mozilla Web PropertiesTesting Mozilla Web Properties
Testing Mozilla Web Properties
 
10071756.ppt
10071756.ppt10071756.ppt
10071756.ppt
 
Session on Selenium 4 : What’s coming our way? by Hitesh Prajapati
Session on Selenium 4 : What’s coming our way? by Hitesh PrajapatiSession on Selenium 4 : What’s coming our way? by Hitesh Prajapati
Session on Selenium 4 : What’s coming our way? by Hitesh Prajapati
 
Selenium 4 - What's coming our way - v1.0.pptx
Selenium 4 - What's coming our way - v1.0.pptxSelenium 4 - What's coming our way - v1.0.pptx
Selenium 4 - What's coming our way - v1.0.pptx
 
The Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET EcosystemThe Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET Ecosystem
 
Making Watir and Cucumber an efficient tool for Web UI Automation
Making Watir and Cucumber an efficient tool for Web UI AutomationMaking Watir and Cucumber an efficient tool for Web UI Automation
Making Watir and Cucumber an efficient tool for Web UI Automation
 
eXo Platform SEA - Play Framework Introduction
eXo Platform SEA - Play Framework IntroductioneXo Platform SEA - Play Framework Introduction
eXo Platform SEA - Play Framework Introduction
 
Testing Java Web Apps With Selenium
Testing Java Web Apps With SeleniumTesting Java Web Apps With Selenium
Testing Java Web Apps With Selenium
 
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
 
Selenium training-course-content-syllabus-credo systemz
Selenium training-course-content-syllabus-credo systemzSelenium training-course-content-syllabus-credo systemz
Selenium training-course-content-syllabus-credo systemz
 
Introduction to Codenvy / JugSummerCamp 2014
Introduction to Codenvy / JugSummerCamp 2014Introduction to Codenvy / JugSummerCamp 2014
Introduction to Codenvy / JugSummerCamp 2014
 
Selenium
SeleniumSelenium
Selenium
 
Selenium training12 1
Selenium training12 1Selenium training12 1
Selenium training12 1
 
Selenium training-course-content
Selenium training-course-contentSelenium training-course-content
Selenium training-course-content
 
Selenium training12 1
Selenium training12 1Selenium training12 1
Selenium training12 1
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
 
What I Learned From Writing a Test Framework (And Why I May Never Write One A...
What I Learned From Writing a Test Framework (And Why I May Never Write One A...What I Learned From Writing a Test Framework (And Why I May Never Write One A...
What I Learned From Writing a Test Framework (And Why I May Never Write One A...
 

Mehr von Sauce Labs

Your Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at ScaleYour Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at Scale
Sauce Labs
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
Sauce Labs
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
Sauce Labs
 
Creating Digital Confidence with Test Automation
Creating Digital Confidence with Test AutomationCreating Digital Confidence with Test Automation
Creating Digital Confidence with Test Automation
Sauce Labs
 

Mehr von Sauce Labs (20)

Simplify Salesforce Testing with AI-Driven Codeless Tools
Simplify Salesforce Testing with AI-Driven Codeless ToolsSimplify Salesforce Testing with AI-Driven Codeless Tools
Simplify Salesforce Testing with AI-Driven Codeless Tools
 
Testing on Mobile Devices with Location Services
Testing on Mobile Devices with Location ServicesTesting on Mobile Devices with Location Services
Testing on Mobile Devices with Location Services
 
Your Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at ScaleYour Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at Scale
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
 
Creating Digital Confidence with Test Automation
Creating Digital Confidence with Test AutomationCreating Digital Confidence with Test Automation
Creating Digital Confidence with Test Automation
 
Just Enough (Automated) Testing
Just Enough (Automated) TestingJust Enough (Automated) Testing
Just Enough (Automated) Testing
 
Using Axe to Add Accessibility Checks to Your Existing Selenium Tests
Using Axe to Add Accessibility Checks to Your Existing Selenium TestsUsing Axe to Add Accessibility Checks to Your Existing Selenium Tests
Using Axe to Add Accessibility Checks to Your Existing Selenium Tests
 
How Open Source Helps to Bring Back Product Obsession
How Open Source Helps to Bring Back Product ObsessionHow Open Source Helps to Bring Back Product Obsession
How Open Source Helps to Bring Back Product Obsession
 
Webinar: A Sneak Peek at Selenium 4 with Simon Stewart
Webinar: A Sneak Peek at Selenium 4 with Simon StewartWebinar: A Sneak Peek at Selenium 4 with Simon Stewart
Webinar: A Sneak Peek at Selenium 4 with Simon Stewart
 
[Deu] Test Automatisierung Mit Web Driver.io
[Deu] Test Automatisierung Mit Web Driver.io[Deu] Test Automatisierung Mit Web Driver.io
[Deu] Test Automatisierung Mit Web Driver.io
 
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
 
Accelerating Your Digital Agenda with Continuous Testing ft. Forrester
Accelerating Your Digital Agenda with Continuous Testing ft. ForresterAccelerating Your Digital Agenda with Continuous Testing ft. Forrester
Accelerating Your Digital Agenda with Continuous Testing ft. Forrester
 
How to Measure Success in Continuous Testing
How to Measure Success in Continuous TestingHow to Measure Success in Continuous Testing
How to Measure Success in Continuous Testing
 
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Sauce Labs Webinar: Rising Importance of Software Testing
Sauce Labs Webinar: Rising Importance of Software TestingSauce Labs Webinar: Rising Importance of Software Testing
Sauce Labs Webinar: Rising Importance of Software Testing
 
BDD With Selenide by Hima Bindu Peteti
BDD With Selenide by Hima Bindu PetetiBDD With Selenide by Hima Bindu Peteti
BDD With Selenide by Hima Bindu Peteti
 
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
 
Continuous Delivery for "Mature" Codebases by Melisa Benua
Continuous Delivery for "Mature" Codebases by Melisa BenuaContinuous Delivery for "Mature" Codebases by Melisa Benua
Continuous Delivery for "Mature" Codebases by Melisa Benua
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Robot Framework Introduction & Sauce Labs Integration

  • 1. Presenters: Bryan Lamb- robotframeworktutorial.com Chris Broesamle- saucelabs.com Tool Introduction & Saucelabs.com Integration
  • 2. Agenda ž  About me ž  Demo! ž  What is a Test Automation “Framework”? ž  Robot Framework Origin & History ž  Features & Capabilities (Demo) ž  Robot Framework vs. Selenium ž  How to Install ž  Simple Web Script (Demo) ž  Layered/Page Objects Web Script (Demo) ž  Saucelabs.com Example (Demo) ž  Jenkins/Parallel Execution (Acceleration Demo) ž  Where to Find Out More ž  Q&A
  • 3. About Me ž  20 Years QA/Development/Leadership ž  Apple, Macromedia, Yahoo, Experian ž  Founder of RobotFrameworkTutorial.com
  • 4. Robot Framework Demo ž  Run the tests —  API —  File Sytem —  Website —  DB (SQL Server & MySql) —  XML ž  Examine the Amazing Results File
  • 5. What is a Test Automation Framework ž  Language ž  Scripts ž  Reusable page/entity objects ž  Supporting libraries (web, API, DB, mobile) ž  Abstraction layer for increased readability ž  Test runner with selective run capabilities (tags) ž  Suite/test setup & teardown (recovery) ž  Reports —  results summary/aggregation —  timestamps —  drill downs —  search —  embedded screenshots ž  Scheduler/CI Integration ž  Parallel Execution ž  Conventions
  • 6. Origin & History ž  2005 —  Developed in Finland —  Ideas shaped in Pekka Klärck's masters thesis —  1.0 developed at Nokia Siemens Networks ž  2008 —  Version 2.0 released as open source software ž  Current Version: 2.8.7 Pekka Klärck
  • 7. Features & Capabilities ž  Cross-Platform (Win, Mac, Linux) ž  Keyword-Driven (w/ Data-driven capabilities) —  Natural Language/Business Domain —  Libraries (Demo of RF Website): Built-In External (pip install xxxxx) OperatingSystem Process Dialogs String XML Collections DateTime Screen Shot Selenium2 Appium FTP SSH Database Diff Swing Archive
  • 8. Robot Framework “vs.” Selenium Built-In Libraries External Libraries (pip install xxxxx) OperatingSystem Process Dialogs String XML Collections DateTime Screen Shot Robot Framework Script (.robot) Selenium2 Appium FTP SSH Database Diff Swing Archive Hint: It “is” Selenium
  • 9. Robot Framework vs. Selenium Typical C# Selenium- Steeper learning curve for QA
  • 10. Robot Framework vs. Selenium Robot Framework Keywords- Not as intimidating for QA
  • 11. Robot Framework vs. Cucumber (Gherkin) Robot Framework can do Gherkin too!
  • 12. How to Install ž  Cross-platform (Win, Mac, Linux) ž  Installation is small, light, and fast ž  Requires some command line basics ž  Steps —  Install Python & PIP (add to your PATH) ○  Use PIP to install Robot Framework ○  Use PIP to install Selenium2 Library ○  Use PIP to install DB & API Libraries —  Select & install desired browser versions —  Install Selenium Webdrivers for each browser —  Install the Pycharm IDE & Intellibot plugin ž  Full details at robotframeworktutorial.com
  • 13. Simple Web Script (Demo from Scratch) Robot Framework Selenium Webdriver Selenium2 Library Script (.robot)
  • 14. Layered/Page Objects Example (Demos) Test Cases (.robot) User-Defined Keywords (.robot) Page Object 1 Page Object 2 Selenium Webdrivers Selenium2Library
  • 15. Saucelabs.com Example Robot Framework Optional -  Sauce Connect -  Multiple Jenkins Slaves
  • 16. Saucelabs.com Example (Demo) ž  2 Steps* 1.  Add remote_url and desired_capabilities to your Open Browser keyword (variables) 2.  Create a custom library which uses API call to report test results back to Saucelabs ž  Override the desired capabilities variable from the command line to switch platforms —  * Course available at robotframeworktutorial.com
  • 17. Jenkins/Parallel Execution (Demo) ž  *Jenkins can be used as a web GUI wrapper around the Windows command line —  “1 Click” script execution —  Enables scheduling, etc. ž  “Build Flow” plugin enables parallel execution ž  Jenkins Robot Framework plugin keeps results history, graphs, etc. ž  * Course available at robotframeworktutorial.com
  • 18. Where to Find Out More ž  robotframework.org has docs & examples ž  robotframeworktutorial.com training videos ž  Groups/Forums —  Linkedin —  Google —  Facebook —  StackOverflow
  • 19. Q&A ž  How is development time vs. a Selenium fwk? ž  CSS or XPath for locators? ž  Will it work for AngularJS? ž  Does it support Windows controls/apps? ž  Can it be used for testing Flash? ž  Can it be used for testing mobile apps? ž  How does it compare to Page Object Model? ž  Can it iterate over datasets/key:value pairs? ž  How to run pabot on Jenkins & Sauce?