Forum Discussion
2 Replies
Sort By
- nmraoChampion Level 3
- SuperSinghContributor
Here's the sample.
Step 1 - This is a Groovy Step . Contains a script that will put values in Step 2 .Step 2 - This is a Request XML.
<creditCardNumber>${#TestCase#CCardNum}</creditCardNumber>
<creditCardType>${#TestCase#CCardName}</creditCardType>
<debitCardNumber>${#TestCase#DCardNum}</debitCardNumber>
<debitCardType>${#TestCase#DCardName}</debitCardType>
Requirement : I want to control from Step 1 (using Groovy Script) , to comment the nodes in Step2.
If my test requires to select CreditCard, I want to comment the nodes <debitCardNumber> and <debitCardType>.
Related Content
- 2 years ago
- 3 years ago
Recent Discussions
- 3 days ago