AdiSoap123
13 years agoOccasional Contributor
Storing returned values in variables
Hi,
Is it possible to store a value which has been returned by a webservice in a variable and use that value as an input for a further test case?
For example my first test test case gives a return value of <TransactionId>12345</TransactionId> and I store this in MyVar.
Then I have a seperate test case which returns the details of the transaction id 12345 by referencing it as <TransactionId>MyVar</TransactionId>.
Hopefully this is clear.
Thanks
Is it possible to store a value which has been returned by a webservice in a variable and use that value as an input for a further test case?
For example my first test test case gives a return value of <TransactionId>12345</TransactionId> and I store this in MyVar.
Then I have a seperate test case which returns the details of the transaction id 12345 by referencing it as <TransactionId>MyVar</TransactionId>.
Hopefully this is clear.
Thanks