when we write test cases in the robot framework how to add test cases under the specific tag.
I want to know how to use tags in robot framework and how to define it ,how to add specic test cases under specic tag and to execute the particular test cases using tags.
As you can read in the excellent Robot Framework User Guide, at this section, you can define tags at Test Suite level or at Test Case level. For example:
To use them, you can run with the options
--includeor--exclude. For example, this would work:And this would cause an error if no other test case would be selected to run:
The Robot Framework IDE (RIDE) handles this tags in an easy way, and it may help in your beginner learning path.