Forum Discussion
Hi Rao,
Thanks for your quick response.
Actually i can't do this because i want to use these properties to automate the test cases. So again passing values inside groovy script for each property will be like double work.
actually i tried without Groovy script initially but i'm facing issues in common property passed across test cases.
ex: I have a TestCase Order which has DocumentID field with dynamic value created using formula "${=UUID.randomUUID().toString().replaceAll('-','')}" and the same "DocumentID" i need to pass to the next TestCase Fulfillment automatically in "OriginalItemID" field which i'm not able to pass it from Order to Fulfillment using property Transfer.
Kindly guide me how can i pass a field value across TestCases in same TestSuite.
Or Kindly help e with Groovy script in case not possible without script.
Regards,
Ramana.
Reorganize the tests so that they can be executed without dependency.
- Ramanasaps4hana5 years agoOccasional Contributor
Hi Rao,
TestCases may be independent but here the TestCases should execute one after another based on the generated UUID of first TestCase which needs to be passed to the next TestCase, because of business process.
I can't escape from business process and need to automate in the same way.
Related Content
- 4 years ago