Welcome to RobotFramework-Exmaples’s documentation!

Basic Examples

Basic Examples includes Variables,Strings,Collections,Process,DateTime,Selenium,Appium, Custom keywords,…..more

Installation:

Below are the installation steps for RobotFramework and verification.

Pre-requsites:

Python Make sure Python is installed in the System.” If not installed then Download Python

Using PIP:

pip install robotframework

Installation Verification:

pybot --version

_images/Install_verify.JPG

Execution:

Robot files ends with extension .robot. Below is the command to run the robot files. pybot test.robot

Variables

Strings

Collections

Advanced Examples

Advanced exmaples includes Framwork integration,Jenkins,,….

Framwork Development

Jenkins

Learn RST writing

italic

bold

This * character is not interpreted

This is how to create hyperlinks (see later) OpenAlea wiki

Title

subtitle

subsubtitle

`Internal and External links`_

Python

  • This is a bulleted list.
  • It has two items, the second item uses two lines. (note the indentation)
  1. This is a numbered list.
  2. It has two items too.
  • jeevan
  • chaitanya
  • hellow
  1. This is a numbered list.
  2. It has two items too.
Header 1 Header 2 Header 3
body row 1 column 2 column 3
body row 2 Cells may span columns.
body row 3 Cells may span rows.
  • Cells
  • contain
  • blocks.
body row 4
Inputs Output
A B A or B
False False False
True False True

Then, write your text inserting the keywrod Python . The final result will be as follows: Python .

and then insert this is a very very long text to include wherever needed.

_images/robo.jpg

Your Topic Title

Subsequent indented lines comprise the body of the topic, and are interpreted as body elements.

See also

This is a simple seealso note. Other inline directive may be included (e.g., math \(\alpha\)) but not al of them.

Note

This is a simple seealso note. Other inline directive may be included (e.g., math \(\alpha\)) but not al of them.

Warning

This is a simple seealso note. Other inline directive may be included (e.g., math \(\alpha\)) but not al of them.

Todo

This is a simple seealso note. Other inline directive may be included (e.g., math \(\alpha\)) but not al of them.

1
2
import math
print 'import done'

Introduction:

1. An introduction to Robot Framework http://robotframework.org © Copyright Nokia Networks Creative Commons Attribution 3.0 License 2. Fast facts

● Generic test automation framework
– Utilizes the keyword-driven testing approach – Suitable for both “normal” test automation and ATDD

● Implemented with Python – Runs also on Jython (JVM) and IronPython (.NET) – Can be extended natively using Python or Java – Other languages supported via a remote interface ● Open source – Hosted on GitHub, Apache 2 license – Sponsored by Nokia Networks – Rich ecosystem and very active community

  1. High level architecture
  2. Simple keyword-driven syntax
  3. Data-driven tests
  4. Gherkin syntax
  5. Higher level keywords
  6. Simple test library API
  7. Variables
    ● Easy to create: ● Override from the command line: ­­variable BROWSER:IE
  8. Tagging
    ● Free metadata to categorize test cases ● Statistics by tags collected automatically ● Select test cases to be executed ● Specify which test cases are considered critical
  9. Clear reports
  10. Detailed logs
  11. Different test libraries
    ● Standard libraries – Included in normal installation – OperatingSystem, Screenshot, String, Telnet, XML, … ● External libraries – Must be installed separately – Selenium2Library, SwingLibrary, DatabaseLibrary, AutoItLibrary, SSHLibrary, HTTPLibrary, … ● Project and team specific libraries
  12. Editor support
    ● RIDE ● Plugins for Eclipse, IntelliJ/PyCharm, SubLime, TextMate, Vim, Emacs, Brackets, Atom, …
  13. Easy integration
    ● Test suites are created from files and directories – Trivial to store into any version control system ● Simple command line interface – Easy to start test execution by external tools ● Output also in XML format – All information in machine readable format – Outputs from different test runs can be combined ● Plugins for common CI and build tools – Jenkins, Ant, Maven
  14. For more information
    ● Ecosystem front page – http://robotframework.org ● Project pages – https://github.com/robotframework/robotframework ● Quick Start Guide – https://github.com/robotframework/QuickStartGuide ● User Guide – http://robotframework.org/robotframework/#user-guide ● Demo projects – http://robotframework.org/#documentation