introduction to robot framework
DESCRIPTION
Introduction to Robot FrameworkTRANSCRIPT
Introduction toRobot Framework
@chonla
Hello, human
.
September 25, 2014
Outline
What’s robot framework? Prerequisites Installation First Bot Localized Bot Data Driven Bot Q&A
What’s robot framework?
Robot Framework is a keyword based test automation framework.
It suites for Acceptance Testing and Acceptance Test-Driven Development.
Prerequisites
Python 2.7.x pip Robot Framework Selenium2 Library Requests
Installation
Python 2.7 Go to https://www.python.org/downloads
/ and install the latest version of python in 2.7.x series.
Set environment▪ PYTHON_HOME to python path (C:\Python27)▪ PYTHON_BIN to python script path (C:\
Python27\Scripts)
Installation
Verify installation▪ python --version
Installation
Pip Go to http://
pip.readthedocs.org/en/latest/installing.html, download getpip.py and install the latest version of pip via getpip.py.
Installation
Verify installation▪ pip --version
Installation
Robot Framework Go to https://
code.google.com/p/robotframework/wiki/Installation and install the latest version of Robot Framework.
Installation
Verify installation▪ pybot --version
Installation
Selenium2 Library Open command line and use the
following command to download and install robotframework-selenium2library package▪ pip install robotframework-selenium2library
Installation
Requests Open command line and use the
following command to download and install requests package▪ pip install requests
Installation
Installation problem in Windows x64 via pip. Insert 3 lines marked # new below into
C:\Python27\Lib\mimetypes.py and rerun the installation.
Installation
Here we go.
First Bot
Google Bot
First Bot
Google Bot - Result
Localized Bot
Localized Google Bot
Localized Bot
Localized Google Bot - Result
Localized Bot
Localized Google Bot - Log
Data Driven Bot
Data Driven Google Bot
Data Driven Bot
Data Driven Google Bot - Result
Data Driven Bot
Data Driven Google Bot - Log
Q&A
Anything?