Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

robotframework

The purpose of this repo is to share the code I wrote to learn Robot Framework.

Sample 1

The purpose of this sample project is to show how you can test UI/UX, REST & SOAP web services using extra libraries (additional to standard Robot Framework).

The UI/UX sample test shows you how to use Selenium2Library for some rudimentary Web browser operations. This sample project shows you how to login to a wordpress blog site. Each step is validated by using a "wait..." keyword. There are some basic examples of using css selectors (not the best CSS syntax - I will cover that in another tutorial!).

pip install selenium2library

The SOAP sample test shows you how to use the SudsLibrary to communicate with a SOAP webservice. This sample project uses an external, public facing and available SOAP webservice.

pip install robotframework-sudslibrary

The REST sample test shows you how to use the RequestsLibrary, Collections and HTTPLibrary (https://github.com/peritus/robotframework-httplibrary) to communicate with a REST service. The sample project uses an external, public facing and available REST webservice.

pip install robotframework-httplibrary pip install robotframework-requests

Useful hints

Git cheatsheet - https://www.git-tower.com/blog/git-cheat-sheet/

Annoying parts - TODO

  • Robot Framework prerequisite execution environment. ** Need to setup a Jenkin's slave with the required software: *** Python *** RobotFramework *** Additional RobotFramework libraries (SUDS, Selenium2Library etc.)
  • I will cover this in another tutorial.
  • Fix issues with Jenkin's not displaying RF reports ** inject the following -Dhudson.model.DirectoryBrowserSupport.CSP= into /etc/default/jenkins, then 'service jenkins restart' to apply ** https://www.blazemeter.com/blog/headless-execution-selenium-tests-jenkins - great info on issues when using headless chromedriver on Linux system.

About

Code used to ramp-up on Robot Framework

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages