HelioGuilherme66 / FireRobot

Firefox extension for Robot Framework/Selenium.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FireRobot

WARNING! FireRobot might get disabled if you run the Robot Framework tests right form the browser.
Basically there’s and incompatibility between the extension’s architecture and the Firefox signing system. Once Robot Framework test reports are written inside the extension’s folder, the signature will no longer be recognized and the extension will be disabled.
The workaround, for now, will be to NOT run the tests form the browser or to keep reinstalling the extension.
Will work on a solution for this, once I have the time.
More info: joao-carloto#88

WHAT IS FIREROBOT?

FireRobot is a Firefox extension that allows you to create Robot Framework/Selenium tests, in a more efficient way. Check the demonstration videos on YouTube or keep reading:

Keyword driven testing is in the far end of the spectrum from record and play tools, as far as test automation concerns. Although this tool has some features in common with record and play tools, it's interest lies in some specific features that will help you to create high level custom keywords, based on the Selenium2library:

  • Bulk selection of elements and creation of test steps in an adaptative way.
  • Filling and verification of forms based on their current state.
  • Easy preference definition for the page element locators.
  • Element localization thru automatically generated XPath, based on an element's own text or text of a nearby element.
  • Automatic creation of variables based on the value of inputs.

HOW TO INSTALL FIREROBOT?

HOW TO USE FIREROBOT?

  • Toggle the select button (shortcut keys Alt + Z).
  • The active web page will get a dashed border, along with any included frames or iframes.
  • Click to select page elements of interest.
  • Right-click the page under testing to access the keyword context menu.
  • Select the menu options and test steps will be added.
  • Use the ESC key to clear the selections, while keeping the selection mode on.
  • To fill and check forms you may select any element that includes the form elements of interest, not necessarily the form element.
  • For frame related keywords you may select an element that includes the frame of interest or any element inside the frame.
  • Use the preferences window to change the locator preferences and the options for variable creation and usage.
  • You may select resource files and automatically add its path to the Settings section.
  • You may select a group of test steps and automatically convert them to a new keyword that will be added to a resource file.
  • To run the current test script just click on the play button. You must have the Robot Framework and the Selenium2Library installed. To help the installation you might want to use this script.
  • The test script can be saved to a .txt or .robot file and reused later, on FireRobot or another IDE. In Linux, or Mac OS X, you must explicitly use one of these extensions when naming the test file. In Windows, .txt will be used by default, if none is indicated explicitly.
  • Linux and Mac OS X users must open the test report manually, after the test is run.

Disclaimer: This tool is being released publicly because it is believed to have reached a stage where it can be helpful. However, most of it was written when the author should be sleeping, and it was not submitted to exhaustive testing. If you feel this project might be helpful to you, please contribute by providing feedback at https://github.com/joao-carloto/FireRobot/issues. Bugs, new features, small improvements, all are welcome. They will be addressed when possible.

About

Firefox extension for Robot Framework/Selenium.

License:Other


Languages

Language:JavaScript 94.7%Language:CSS 4.0%Language:Makefile 1.3%