I understand there's Test Setup which will get executed before every test case and Suite Setup which will get executed before every suite (i.e. each .robot file).
However, I'm trying to do Setup and Teardown of the command level which is Setup once I run the robot command and when all test suites have ran, run Teardown.
Tried with having __init__.robot file in my scenario directory but they didn't get called at all.
*** Settings ***
Resource ../_common/keywords.robot
Suite Setup Prepare Browser
Suite Teardown Close Browser
I want to be able to launch the browser before any test is started and then close browser only after all tests are completed.
For example, robot 1.robot 2.robot should:
- Open browser
- Run
1.robottest suite - Run
2.robottest suite - Close browser