...rants by Asheesh Mehdiratta on Coaching, Transformation and Change

Category: atdd

Step by Step guide to installing Robot Framework

Robot framework has been a little tricky for most folks though now provides an installer for windows, but still it is best to know the detailed steps if you do not wish to use the Installer.

So let’s get started –

Installing Robot framework – requires Python installation first as a pre-requisite.

All steps below for Windows OS (32/64 bit)

Step 1. Install Python version 2.7.8 
(supported Python version for Robot Framework version greater than 2.7)

Installer Files:  python-2.7.8 – for 32 bit / python-2.7.8.amd64 – for 64 bit

Ex. Installed at c:python27

Update PATH environment variable for Python –


**Verify Python installed and the path set
Run command:
cmd C:>python -help
Lists python command line options

Step 2. Install setuptools 7.0
(Easily download, build, install, upgrade, and uninstall Python packages)

File: ez_setup.py

Run command :
cmd C:>python ez_setup.py
“Installed c:python27libsite-packagessetuptools-7.0-py2.7.egg”

**Verify Setup Tools folder and files available –
setuptools-7.0-py2.7.egg file created under ..libsite-packages

Step 3. Install pip
(Python Package Manager)

File: getpip.py

Run command :
c:Python27>python get-pip.py
Downloading/unpacking pip
Installing collected packages: pip
Successfully installed pip
Cleaning up…

**Verify pip folder and files available –

NOW you can install ROBOT FRAMEWORK finally !

Option 1 – Install Robot framework using pip

Run command :
C:Python27Scripts>pip install robotframework
Downloading/unpacking robotframework
Successfully installed robotframework

**Verify pybot.bat created under C:Python27Scripts

** Verify Robot framework installed
C:>pybot –version
Robot Framework 2.8.6 (Python 2.7.8 on win32)

Option 2 – Install Robot framework using the Windows installer

Pre-requisite – Python installed
Installer Files: robotframework-2.8.6.win-amd64.exe  / robotframework-2.8.6.win32.exe

Option 3 – Use the Stand-alone Robot framework JAR package
Robot Framework is also available as a stand-alone robotframework.jar package.
This package contains Jython and thus requires only JVM as a dependency.

Maven Central –  http://search.maven.org/#search%7Cga%7C1%7Ca%3Arobotframework

Assumes java installed already
** Verify Java installed
cmd c:>java -version
java version “1.7.0_05”
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

Pre-requisite – Python installed

File: robotframework-2.8.6.jar

Run command:
cmd C:devrobotfxjar>java -jar robotframework-2.8.6.jar

** Verify Robot framework installed …

robotframework.jar – Robot Framework runner.
Usage: java -jar robotframework.jar [command] [options] [input(s)]

Hurray, you are NOW READY to use the Robot Framework for writing your tests !!

Photo Credit: https://www.flickr.com/photos/zedworks/

Power of Acceptance Tests : Do you really know ?

Multiple teams struggle with story completions and miss their Definition of Done, and forget how the simple act of conversation via acceptance tests can really make them wiser and their lives less miserable !

So what really happens when you start writing acceptance tests “before” any implementation (of actual code or test code) ?

Here’s what I have experienced –
1. you tell – what you think no one knows
2. you tell – what you think only some of you know
3. you know now – what everyone else thinks that you already should have known
4. you now know  – what everyone else knows
5. everyone knows now – what everybody on the team knows

In the end  : You and everyone on the team are now wiser than you were before this conversation.

So go on and use the Power of Acceptance tests and Be Wiser.

Share your experiences and let me know what you have seen.

Learning A…Z in the “x”DD world

Explaining and exploring the world of ATDD , BDD, TDD, had me wondering on the fascination in the software industry for the “x”DD acronyms and sent me looking out how the mavericks have been exploding this over in the industry evolution.

The RESULT:  My little Glossary of A…Z in the “x”DD world

ATDD – Acceptance Test Driven Development
BDD – Behavior Driven Development
CDD – Capability Driven Development
DDD – Design Driven Development / Domain Driven Design
EDD – Example Driven Development
FDD – Feature Driven Development
GDD – Goal Driven Development
HDD – Hypothesis Driven Development
IDD – Interface Driven Development
JDD – ???
KDD  – Knowledge Discovery in Databases (hmm…not in the same league)
LDD – Language Driven Development
MDD – Model Driven Development (MDA), Metrics Driven Development
NDD – ???
ODD – Object Driven Development
PDD – Plan, Performance Driven Development
QDD – Quality Driven Development
RDD – Readme Driven Development
SDD – Story Driven Development , Scenario Driven Development, Service Driven Development
TDD – Test Driven Development
UDD – ???
VDD – Value Driven Development, Value Driven Design
WDD – ???
XDD – XDA Development – Android
YDD – ???
ZDD – ???

Feel free to either start thinking about inventing in the missing ones (???) or add your variations in the comments below. I will be updating the hyperlinks to most soon.

Incase you are looking for some “x”DD recipes on the wilder side, you can check out Damien’s note and Scott’s take on these.

Till then, Happy “x”DD-ing !

© 2024 agile journeys

Theme by Anders NorénUp ↑