What is FireRobot?
It's 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 input elements.
How to install FireRobot?
- Get the reviewed and signed installer at mozilla.org.
- You may start the extension at the Developer menu.
- For more convenience drag the FireRobot icon from the "Customize" menu onto the browser toolbar.
How to use FireRobot?
- Toggle the select button (or press 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 settings 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 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 the issues page.
Bugs, new features, small improvements, all are welcome. They will be addressed when possible.