SlideShare a Scribd company logo
by Siam Chamnan Kit Co., Ltd. and Odd-e (Thailand) Co, Ltd.
SPRINT3R
Acceptance Test
and
Acceptance-Test
Driven Development
with Robot Framework
1
Introduction
• Test automation framework
• For acceptance testing (ATDD)
• https://code.google.com/p/robotframework/
• Keyword-Driven Development
• Based on Python
• Open source
• Sponsor by Nokia Siemens Networks
2
ATDD Cycle
3
Architecture
4
Installation
• Python 2.7/2.8
• pip
• Robot Framework
• Selenium for Robot Framework
5
Install python (1)
• Download from https://www.python.org/
• Version 2.7/2.8
• $python
6
Install python (2)
• For Windows OS!
• set PYTHON_HOME=c:python27
• set PATH=.;%PYTHON_HOME%;%PATH%
7
Install python (3)
• Go to My Computer -> Right Click -> Properties
• Choose tab Advanced
8
Install python (4)
• Add Environment Variable
• PYTHON_HOME
9
Install python (5)
• Update Environment Variable in System
• PATH
10
Install pip (1)
• PIP = Package Installation for Python
• http://www.pip-installer.org/en/latest/installing.html
• Download file get-pip.py
• $python get-pip.py
11
Install pip (2)
• For Windows OS!
• set PYTHON_HOME=c:python27
• set PATH=.;%PYTHON_HOME%;%PYTHON_HOME%scripts;
%PATH%
• Test pip
• $pip
12
Install pip (3)
• For Mac OS!
• $easy_install pip
• $pip
13
PIP with Proxy
• SET HTTP_PROXY=<proxyHost>:<proxyPort>
• SET HTTPS_PROXY=<proxyHost>:<proxyPort>



14
• pip install --proxy="user:password@server:port"
packagename
Install Robot Framework
• $pip install robotframework
• $pybot

15
Install Selenium
• $pip install robotframework-selenium2library
https://code.google.com/p/robotframework-seleniumlibrary/16
Additional
• Text Editor => Sublime 2
• RIDE
• https://code.google.com/p/robotframework-ride/
17
Sublime Config
• Install Package Control
• https://sublime.wbond.net/installation
18
Sublime Config
• Install Robot Framework plug-in
• Tools -> Command Palette …
• Package control : Install Package
• Find Robot Framework
19
Sublime …
20
Test Structure
21
Standard Libraries
• Build in!
• Operating System!
• Screenshot
• Telnet
• String
• Collections!
• Remote
• Dialog
• XML
• Process
http://robotframework.org/#test-libraries
External Libraries
• Selenium2Library!
• Android
• iOS
• Database
• FTP
• HTTP
• MongoDB
• SSH
• AutoItLibrary
• Swing
http://robotframework.org/#test-libraries
Selenium Keyword
• Open Browser <url> <browser>
• Input Text <locator> <value>
• Click Button <locator>
• Click Link <locator>
• Close Browser
24
Selenium Keyword
• Wait Until Page Contains <text>
• Page Should Contain <text>
• Title Should Be <text>
25
More
26
http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html
Hello Robot
• Create file hello.txt
• Run with
• $pybot hello.txt
27
Be careful
• Page Should Contain Google
4 spacebars
only 1 spacebar
28
Report
29
Report
30
Solve Proxy Problem
• For Firefox on Windows OS!
• Using Firefox profile
• $c:Program FilesMoxilla Firefoxfirefox.exe -P
31
Solve Proxy Problem
• For Firefox on Mac OS!
• Using FireFox profile
• $/Applications/Firefox.app/Contents/MacOS/firefox-bin -profilemanager
32
Solve Proxy Problem
• For Firefox on Linux!
• Using FireFox profile
• $./firefox -profilemanager
33
Solve Proxy Problem
• Create Profile …
34
Config Proxy in Firefox
• Start FireFox with my profile
• Configuration Proxy server in
• Preferences -> Advanced -> Network
35
Workshop
• Create test case with Robot Framework
• Test www.google.com
36
Search with Google
37
Workshop
• Create test case with Robot Framework
• Demo Login
38
Support Multiple Browser
• Google Chrome
• Internet Explorer
39
Google Chrome (1)
• Download Chrome Driver
• https://code.google.com/p/selenium/wiki/ChromeDriver
40
Google Chrome (2)
http://robotframework.googlecode.com/svn/trunk/doc/libraries/OperatingSystem.html#Set Environment Variable41
Internet Explorer (1)
• Download Internet Explorer Driver
• https://code.google.com/p/selenium/wiki/InternetExplorerDriver
42
Internet Explorer (2)
http://robotframework.googlecode.com/svn/trunk/doc/libraries/OperatingSystem.html#Set Environment Variable43
Workshop
• Create test case with Robot Framework
• TODO Application
• http://up1todo.appspot.com/
44
Question ?
45

More Related Content

PPTX
Robot Framework
PDF
Robot Framework Introduction
PDF
Introduction to Robot Framework – Exove
PPTX
Robot framework
PDF
ATDD Using Robot Framework
PDF
Robot Framework Dos And Don'ts
PDF
Network Protocol Testing Using Robot Framework
Robot Framework
Robot Framework Introduction
Introduction to Robot Framework – Exove
Robot framework
ATDD Using Robot Framework
Robot Framework Dos And Don'ts
Network Protocol Testing Using Robot Framework

What's hot (20)

PDF
Functional Tests Automation with Robot Framework
PDF
Ruin your life using robot framework
PDF
Robot framework and selenium2 library
PPTX
Scripting robot
PPTX
Robot framework
PPTX
Unit Testing And Mocking
PPTX
Introduction to robot framework
PDF
Test Automation - Keytorc Approach
PDF
Introduction to Test Automation
PDF
Test Automation
PPTX
Integration Group - Robot Framework
PDF
Robot Framework with Python | Edureka
PDF
Test Automation
PPSX
PDF
Robot Framework :: Demo login application
PDF
JUnit & Mockito, first steps
PPTX
Testing of React JS app
PDF
Introducing Playwright's New Test Runner
PPTX
Browser Automation with Playwright – for integration, RPA, UI testing and mor...
PPT
Selenium Automation Framework
Functional Tests Automation with Robot Framework
Ruin your life using robot framework
Robot framework and selenium2 library
Scripting robot
Robot framework
Unit Testing And Mocking
Introduction to robot framework
Test Automation - Keytorc Approach
Introduction to Test Automation
Test Automation
Integration Group - Robot Framework
Robot Framework with Python | Edureka
Test Automation
Robot Framework :: Demo login application
JUnit & Mockito, first steps
Testing of React JS app
Introducing Playwright's New Test Runner
Browser Automation with Playwright – for integration, RPA, UI testing and mor...
Selenium Automation Framework
Ad

Viewers also liked (19)

ZIP
Robot Framework Introduction
PDF
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
PDF
Acceptance testing plone sites and add ons with robot framework and selenium
PDF
Introduction to Robot Framework
PDF
Robot framework - Lord of the Rings
PDF
Introduction to Robot Framework (external)
PDF
Robot Framework: универсальный инструмент автоматизатора
PDF
Barcamp Bangkhen :: Robot Framework
PDF
Как расширять Robot Framework под свои нужны с помощью Python?
PPTX
Steps to register a foreign invested company
PDF
Быстрое расширение Robot Framework под свои нужды с использованием Python
PPTX
Robot Framework : Lord of the Rings By Asheesh M
PPTX
Acceptance Test Driven Development and Robot Framework
PDF
Robot Framework Introduction & Sauce Labs Integration
PPTX
ATAGTR2017 Expanding test horizons with Robot Framework
PPT
Testing More With Less
PDF
Rf meetup 16.3.2017 tampere share
PDF
Robot framework
PDF
TestWorks Conf Robot framework - the unsung hero of test automation - Michael...
Robot Framework Introduction
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
Acceptance testing plone sites and add ons with robot framework and selenium
Introduction to Robot Framework
Robot framework - Lord of the Rings
Introduction to Robot Framework (external)
Robot Framework: универсальный инструмент автоматизатора
Barcamp Bangkhen :: Robot Framework
Как расширять Robot Framework под свои нужны с помощью Python?
Steps to register a foreign invested company
Быстрое расширение Robot Framework под свои нужды с использованием Python
Robot Framework : Lord of the Rings By Asheesh M
Acceptance Test Driven Development and Robot Framework
Robot Framework Introduction & Sauce Labs Integration
ATAGTR2017 Expanding test horizons with Robot Framework
Testing More With Less
Rf meetup 16.3.2017 tampere share
Robot framework
TestWorks Conf Robot framework - the unsung hero of test automation - Michael...
Ad

Similar to Introduction to Robot Framework (20)

PDF
Rfselenium2 redhat
PPT
10071756.ppt
PPTX
Robotframework
PDF
Robot framework
PPTX
Controlling the browser through python and selenium
PPTX
Sphinx + robot framework = documentation as result of functional testing
PPTX
automation with python and selenium
PPTX
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
DOC
Selenium Automation Using Ruby
PDF
Mobile Testing with Selenium 2 by Jason Huggins
PPTX
One to rule them all
PPTX
Selenium.pptx
PPTX
Lesson2-Selenium installation 2-6-25.pptx
PPT
Robotframework Presentation - Pinoy Python Meetup 2011January12
PPTX
robot framework1.pptx
PDF
selenium-2-mobile-web-testing
PPT
BCS Selenium Workshop
PDF
Selenium 2 - PyCon 2011
PPTX
Testing Testing everywhere
KEY
Selenium at STPCon - Dallas 2011
Rfselenium2 redhat
10071756.ppt
Robotframework
Robot framework
Controlling the browser through python and selenium
Sphinx + robot framework = documentation as result of functional testing
automation with python and selenium
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
Selenium Automation Using Ruby
Mobile Testing with Selenium 2 by Jason Huggins
One to rule them all
Selenium.pptx
Lesson2-Selenium installation 2-6-25.pptx
Robotframework Presentation - Pinoy Python Meetup 2011January12
robot framework1.pptx
selenium-2-mobile-web-testing
BCS Selenium Workshop
Selenium 2 - PyCon 2011
Testing Testing everywhere
Selenium at STPCon - Dallas 2011

More from Somkiat Puisungnoen (20)

PDF
Next of Java 2022
PDF
Sck spring-reactive
PDF
Part 2 :: Spring Boot testing
PDF
vTalk#1 Microservices with Spring Boot
PDF
Lesson learned from React native and Flutter
PDF
Angular :: basic tuning performance
PDF
Shared code between projects
PDF
Distributed Tracing
PDF
Manage data of service
PDF
RobotFramework Meetup at Thailand #2
PDF
Visual testing
PDF
Cloud Native App
PDF
Wordpress for Newbie
PDF
Sck Agile in Real World
PDF
Clean you code
PDF
SCK Firestore at CNX
PDF
Unhappiness Developer
PDF
The Beauty of BAD code
PDF
React in the right way
Next of Java 2022
Sck spring-reactive
Part 2 :: Spring Boot testing
vTalk#1 Microservices with Spring Boot
Lesson learned from React native and Flutter
Angular :: basic tuning performance
Shared code between projects
Distributed Tracing
Manage data of service
RobotFramework Meetup at Thailand #2
Visual testing
Cloud Native App
Wordpress for Newbie
Sck Agile in Real World
Clean you code
SCK Firestore at CNX
Unhappiness Developer
The Beauty of BAD code
React in the right way

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation theory and applications.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
MYSQL Presentation for SQL database connectivity
PDF
cuic standard and advanced reporting.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
KodekX | Application Modernization Development
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Machine learning based COVID-19 study performance prediction
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
Understanding_Digital_Forensics_Presentation.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation theory and applications.pdf
Modernizing your data center with Dell and AMD
MYSQL Presentation for SQL database connectivity
cuic standard and advanced reporting.pdf
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25 Week I
The Rise and Fall of 3GPP – Time for a Sabbatical?
KodekX | Application Modernization Development
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Introduction to Robot Framework