Creating First Robot Test
Step 1: Check robot framework is installed
Step 2: Go to the project Eclipse > Robot project >New Test Suite
A simple test of the robot:
*** Test Cases *** MyFirstTest Log Hello World!!!
To run our Test Case, simply right click on the screen and select Run tests: ‘MyFirstTest‘, and the console will open
As we can see all the details about the test and we can see the output, log, and report by following the given address link
Here we can clearly see the project report, it gives the time of the report creation. It gives some summary information about the test like Status, Start Time, End Time, Elapsed Time, and Log File.
And we visit the Log File by clicking on the link given:
Here, we can see the statistics and also check the pass/fail/skip number of test cases. We can check the test execution log and test suite status.
Robot Framework in Python
In this article, we will see the robot framework and we will cover standard libraries and underlying functions, and going forward we will also cover test cases, keywords, variables, and finally organizing the test cases.
Robot Framework is a common open-source automation framework for Acceptance Testing, Acceptance Test-Driven Development (ATTD), and Robotic Process Automation (RPA). It uses a keyword-driven testing technology approach and the capabilities can be extended by testing libraries that can be implemented in Python or Java.
Let’s talk about the Acceptance Technique in which the capability of the system is tested and the purpose of the Acceptance Technique is to evaluate the capabilities of the system in accordance with the business requirement.