Robot Framework: Onur Baskirt
Robot Framework: Onur Baskirt
FRAMEWORK
Onur Baskirt
Who am I?
▪ I am Onur Başkırt
▪ Currently, Head of SW Testing at Kariyer.net
▪ Co-owner of www.swtestacademy.com and a Test Hive Member
robot --version
rebot --version
How to install Robot Framework on Windows?
▪ Note: If you have any problem please check Path configuration and restart
your PC. Path configuration must be as same as below figure.
How to install Robot Framework on Windows?
▪ Step-5: Upgrade Robot Framework
Note: You can uninstall Robot Framework anytime with below command.
WARNING!
If you install latest version, you will get below error!
How to install Robot Framework on Windows?
▪ Step-6: Installing RIDE (Robot Framework Test Data Editor)
▪ Step-6.4: After a successful installation, RIDE can be started from the command
line by running ride.py.
How to install Robot Framework on Windows?
▪ Step-7: Install Selenium 2 (WebDriver) Library
Installation Command:
Upgrade Command:
▪ KariyerLoginTest.robot:
Robot Framework Usage with an Example
▪ Run the Test on Command Prompt
robot KariyerLoginTest.robot
▪ Report and log results will be automatically generated after the test execution.
Robot Framework Usage with an Example
▪ Run the Test on RIDE
▪ Open cmd prompt and write “ride.py” and then press Enter. Then, you will see
RIDE editor.
▪ Go to File >> New Project and then give a name to your project as shown below.
Robot Framework Usage with an Example
▪ Add Resource File
Robot Framework Usage with an Example
▪ After adding Resource File
Robot Framework Usage with an Example
▪ Write your robot test
Robot Framework Usage with an Example
▪ Write your robot test
Robot Framework Usage with an Example
▪ Run The Test
Robot Framework Usage with an Example
▪ While Test is Running
Robot Framework Usage with an Example
▪ When Test finished.
Robot Framework Usage with an Example
▪ REPORT
Robot Framework Usage with an Example
▪ LOG
For More Information
▪ http://www.swtestacademy.com/getting-started-robotframework/
QUESTIONS?