I have installed Robot Framework-EclipseIDE plugin by following the instruction on the following URL:
https://github.com/NitorCreations/RobotFramework-EclipseIDE/wiki/Installation
Installation is done successfully. Now I want to write some Test Cases using Java in Robot Framework. I am very novice in Robot Framework and I don't know how to start writing TCs in Robot Framework using Java in Eclipse.
Please help me to start.
You don't write Robot Framework test cases in Java unless you plan to extend RF with your own keyword libraries. Robot Framework tests are usually written in text, html, TSV or reStructured format. In text format the separator is important, usually two spaces or the pipe character.
The Robot Framework User Guide is an excellent source of wisdom, but this guide is good one for a quick introduction.
Robot Framework also has a Quick Start Guide which you can download.
I suggest that you start by simply starting a browser and using it to navigate to eg. search engine home page to perform a search. See Selenium Library docs for more info.
Below is an example test case.
Search with DuckDuckGo
Open Browser https://duckduckgo.com/
Input Text search_form_input_homepage ATDD
Submit Form search_form_homepage
Page Should Contain Using Robot Framework for ATDD
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With