Can we assign variable to a value from the output of another
Posted: Thu Sep 20, 2012 4:02 pm
Hi,
I have recorded 4 scenarios:
1) Create a Request
2) Admin Rejects Request
3) The same request (Created in 1) is re-submitted after some actions
4) Admin Approves the request
I want to use the request which is created in Recording module 1 in all other recording modules so that i can run all in a single test case
I am currently using variables to store the request name and request is always created with a unique id. Can i assign the request created in 1 to the variable in Recording 2?
For example:
1) Create a Request - New Request No: 100
2) Admin Rejects Request no: 100
3) Request No: 100, is re-submitted after some actions
4) Admin Approves the request no: 100
Please let me know if we can do this or any other alternative to achieve this.
Thanks & Regards,
Kumar
I have recorded 4 scenarios:
1) Create a Request
2) Admin Rejects Request
3) The same request (Created in 1) is re-submitted after some actions
4) Admin Approves the request
I want to use the request which is created in Recording module 1 in all other recording modules so that i can run all in a single test case
I am currently using variables to store the request name and request is always created with a unique id. Can i assign the request created in 1 to the variable in Recording 2?
For example:
1) Create a Request - New Request No: 100
2) Admin Rejects Request no: 100
3) Request No: 100, is re-submitted after some actions
4) Admin Approves the request no: 100
Please let me know if we can do this or any other alternative to achieve this.
Thanks & Regards,
Kumar