I have the following scenario:
Testcase1 - Check that deleting values from a web application is working.
I start from the idea that testcases should not be dependent. So delete(testcase1) should not depend by an adding testcase
Structure of Testcase1:
SETUP - "Add values" UI script
Testcase - Delete values
How in this case scenario delete does not depend by adding? If adding is not working properly in the SETUP part, testcase for delete will not be tested properly. I'm missing something?
Or in the SETUP part I should add a sql script not a UI script?
Which is the best aproach?
Ranorex Spy, Recorder, and Studio.
2 posts • Page 1 of 1
I make sure my test cases are independent, but where there is some collective setup required I will put those steps into the [SETUP] block and structure the tests into nested smart folders. I also try to group modules together to minimise duplication as much as possible.