| || |
How to call one test from another
I have been given the scenario of having n tests in which first test should call the second , the second should call the third ... Apart from this based on some conditions a test e.g. test 4 should not call test 5 since the test 4 has not fulfilled some criteria.Based on this could anyone tell me how to write this with some sample of code.
Re: How to call one test from another
You can do, but difficult to code everything...I can put here the logic...
1. create a vbs file name it like driver.vbs
write the logic for the algorithm
2. write the code to call your test1
3. store your results in a flat file (result.txt)
4. using the condiftion of result decide whether to call test2 or test3..
learn more about object model reference in writing code to call QTP file...