Test Batch - Simulator
I have 5 independent tests in same directory i.e. -
All tTC belog to same application. In every testcase, I need to do some common activities to strat i.e. Login, connecting to few applications etc.
My requirement is : I need to create a driver test where all common activities will be done first (only one time) and then all 5 TC will be executed..
How to achive that??
Re: Test Batch - Simulator
Looks like you need some sort of flag to set when your initial setup is done. Each test would read this flag and if the initial setup has not been done it would do it, and then set the flag so subsequent tests don't.
This flag could be a global variable, environment variable or datatable field, depending on how you run your tests.