What is Robot Framework?

Robot Framework is a generic open-source automation framework that you can use for test automation and robotic process automation (RPA). The framework is open and extensible and integrates with almost any other tool to create powerful and flexible automation solutions. Being open source also means that Robot Framework is free to use without licensing costs.

Because Robot Framework requires less technical skill than frameworks based on a programming language, even team members with very little programming experience can use it. For example, an Agile team product owner could express acceptance tests using the framework without having to know the details of how the product is implemented. At the same time, because of the framework's keyword-based design, those with advanced technical skills can write keywords in their language of choice to test low-level functions and perform unit and integration testing.

robotframework

How Robot Framework and Perfecto Work Together

For Robot Framework to work with Perfecto seamlessly, the integration contains two parts:

  • Connect and launch Perfecto remote driver sessions with Robotframework Selenium or Appium libs.
  • Integrate Perfecto’s smart reporting with Robot Framework scripts.

For detailed step-by-step installation and integration instructions, please refer to Robot Framework and Perfecto integrations.

backend of robot framework with code

Getting Started With Robot Framework and Perfecto

  1. Install prerequisite PyPi packages.
  2. Clone the sample repository from GitHub.
  3. Refer to the doc/robotframework_demo_guide.
  4. Edit the set of capabilities to choose which browser or device to launch from Perfecto.
  5. Use your cloud’s Perfecto remote driver URL along with the capabilities to launch Perfecto sessions.
  6. Use the regular Appium or Selenium keywords to interact with Perfecto devices or browsers as you do with local devices or browsers.
  7. If you want to use Perfecto’s smart reporting, import PerfectoLibrary lib to the scripts, then the built-in listeners will automatically capture the test name and test results and report in the Perfecto smart reporting system.
Chart of required PyPi packages required with Perfecto and Robot Frameworks

Key Benefits of Using Robot Framework With Perfecto

Using Robot Framework with Perfecto will provide robust, business friendly, scalable testing solutions on always-available browsers and devices in the cloud.

With Perfecto as a secure, enterprise-grade cloud environment, the development team can develop and execute test scenarios for different software lifecycles from any CI/CD platforms. You’ll never have to worry about the device/browser availabilities and testing environment setups with Perfecto.

robotframework

Get Started With Perfecto and Robot Framework

Start your free trial of Perfecto today.