Can we pass a value generated in a test case to another test case as a input ??
I have come across a situation where , in a test case , i will be creating a name which is going to be the input for the nexttest case.
In detail :
- Test case A : This test case is to schedule an audit… I have to schedule an audit by giving Unique ” Audit name ” each and every time.
Note : Audit name will be randomly generated with the help of script. ( I am not passing the” audit name” value from a data file or as a Global variable )
- Test Case B : In this test case… i need to map an audit to the auditor based on the “Audit name ” created in the Test case A.
- I cannot call the “Test case A ” in “Test case B ” because “Close browser ” is the last step in Test Case A. When the execution of A gets finished automatically the browser will close it stopping me from pass the ” Audit name” from A to B.
I have so many scenarios like the above.
SO .. I am in need of help from the community to resolve this.
Please help me out of this.
Let me know for further clarifications.
Guys any solutions ????
Thanks & Regards
in progress 0Execution 4 months 11 Answer 489 views