Forum Discussion
You could create a test case in your TestSuitte that would generate a memberID and password.
This would be the first testcase to run in your suite.
Not sure how you are creating these new memberID and Pwd ??
TestSuite level : Custom Properties: create variables i.e. memberID and Pwd
Using Groovy script in this test cases you can extract these from a Response
or however you know these values
Then store them into a TestSuite: Custom Properties variables i.e. memberID and Pwd
testRunner.testCase.testSuite.project.setPropertyValue( "memberID ", <your value>);
testRunner.testCase.testSuite.project.setPropertyValue( "Pwd", <your value>);
Then in the following test cases where you need these values, refernce your TestSuite level
using this in the appropiate spot for your memberID or Pwd
${#TestSuite#memberID}
${#TestSuite#Pwd}
Related Content
- 10 months ago
Recent Discussions
- 11 days ago