Robot Framework
  • 29 Mar 2023
  • 1 Minute to read
  • Dark
    Light

Robot Framework

  • Dark
    Light

Article Summary

Overview

Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development. It is widely used by developers and testers who rely on python language. Python is a high-level, interpreted, interactive and object-oriented scripting language. Python supports modules and packages, which encourage program modularity and code reuse.

Steps to download Python and Robot framework

  • Run command sudo apt-get install python(Recommended version 2.7)
  • Download and install py-charm
  • Run command sudo apt-get install python-pip
  • Run command pip install Appium-Python-Client
  • Run command pip install robot-framework
  • Run command pip install robotframework-appiumlibrary
  • Run command pip install -U robotframework-pabot - https://github.com/mkorpela/pabot

Steps to integrate

  1. Enter your pCloudy_Username="Enter your Email-id"
  2. Enter your pCloudy_ApiKey="Enter your API Key"
  3. Open Terminal where the project is located.
  4. Run the script with the following cmd: pabot --argumentfile1 arg1.txt --argumentfile2 arg2.txt SampleTestCase.txt
  5. Optional Capabilities : Can choose any one of the below-:
    • Option1: pCloudy_DeviceManafacturer
    • Option2: pCloudy_DeviceVersion
    • Option3: pCloudy_DeviceFullName Go to arg1.txt and arg2.txt : Variable automation name can be changed based on the device version.

The complete sample and documentation are available in the pCloudy GitHub Repository.


What's Next