"Automation test” explains about the easiest way to do test work and reducing human work, increasing coverage of Testing and re-usability. A million dollar question arises I.e. “how am I going to start coding?”. Basically, coding is the pillar to make stand automation test to prove the ultimate way to make Testing easier. Now the main question is "How the professional can write a code or script for Automating the application/module?The answer is the outstanding tool/framework known as Robot Framework (RF).The Robot Framework is a test automation framework which is generic in nature, used for acceptance testing and acceptance test-driven development (ATDD). It is a keyword-driven testing framework that uses Tabular test data syntax. Robot Framework is very easy to use a tool. Easy to install and is platform independent. Robot framework (RF) makes it is easy for a professional with a less knowledge of automation; to start developing automated test cases. The use of the Selenium2 library in RF will help a person to automate the existing manual test cases of any project in a Rapid Phase manner. And the best part is its outstanding Reporting System. The RF automatically generates the reports after executing each build.
Robot Framework Features:
All the features below ensures that the Robot Framework can be used to automate test cases in a quick and proficient manner.- High-Level Architecture
- Simple Tabular Syntax
- Data-driven Test Cases
- Separate Test Data Editor
- Clear Reports
- Detailed logs
- Generic test libraries
- Web testing, Swing, SWT, Windows GUIs, databases, SSH, Telnet
- Remote test libraries and other plugins for Jenkins/Hudson, Maven, Ant
- Text editor support: Emacs, Vim, Text Mate
Test Cases:
Writing Test CasesMoving on to the test cases, Robot Framework has all its test cases in Tables. You can save them either in HTML or table-separated value (TSV) files.Managing Test CasesThere are several ways in which you can organize test cases in Robot Framework. Test cases are made into test suites taken either from single or multiple files. The simplest example of a test suite is a single HTML file containing multiple test cases.Another key feature of Robot is the Test case Tagging. Each tag (e.g. critical, quick) assigns test cases to a separate set. When executing, you can run the tests based on Tags like “Critical” and “Quick”.Running the Test Cases:Once the Test cases design is finished, those test cases can be executed using Python scripts. Since our robust Robot Framework is System and Platform independent - we can run our test cases on any platform like Windows, Linux, Unix or Mac using Python.The execution of the Test cases is done as per the following steps:- Collecting test cases, setting variables
- Executing each step in the Test case
- Providing execution statistics (Passed/Failed)
- Writing execution login XML format
- Generating report and log in HTML format.
- Robot Framework allows testing more than just the web-application needs (Selenium Web driver covers only Web application testing).
- Robot Framework provides lots of libraries to test different application like Appium, Database, Android Library etc.
- Robot Framework is very easy to use, and overall its application/platform independent.