ROBOT FRAMEWORK which is a generic test automation framework for acceptance testing and its tabular test data syntax is almost plain English and easy to understand. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases. Robot Framework itself is open source and most of the libraries and tools in the ecosystem are also open source.Robot Framework comes from its user keyword feature: in addition to the keywords provided by the extension libraries, users can create new higher-level keywords from the existing ones using the same syntax that is used for creating test cases. And, of course, everything can be parametrized with variables.Test cases are always executed within a test suite. A test suite created from a test case file has tests directly, whereas suites created from directories have child test suites which either have tests or their own child suites.
Test Cases
Test Steps:- Launch Browse
- Search Application On Google
- Launch Application
Step by test cases
Step1:-- Open the editor and create the 4 tables preceded with an asterisk (*) symbol, this is internally used by RF to distinguish the tables as anything outside these tables is redundant for RF.
- Put one space and then add the name of the table, Say *** Settings ***
- For consistency purposes it is advisable to use 3, *** symbols in front of table name (as same would be created in RIDE).We can use * or ** or *** as all are same for RF. So don’t be confused lets have 3 *** symbols. ‘*’ at the end is not required, but again for consistency purposed we are implementing them.
- First row of the Test Cases table is used for Test Case name say for documentation.
- RF supports the .html format, TSV format, Plain text and restructured Text formats. In our example, we have used plain text format which is widely implemented across the industry.
- For identifying the locator properties of the object above, you can use firebug, or simply use selenium -IDE, record a script and extract properties.