sanjeevkumar7
13 years agoOccasional Contributor
[SOLVED]Property Transfer - Command Line - DataGeneration
Hi - Below is my usecase
1) I have a data generation step to Increment an integer
2) Transfer the value to a TestSuite Property
3) Use the TestSuite property in TestCase1 by transferring to to a property inside the testcase1
4) Use the same testsuite property in TestCase2 by transferring to a property inside testcase2
Above steps works fine as long as I run from the IDE
When I run from command line, propery values doesn't get incremented. Since I'm generating the value inside the testcase, thought I don't need to pass the propery value in the command line. Is that correct?
Not sure if I'm doing something wrong. Appreciate if you can point out anything I missed.
Thanks!
Sanjeev
1) I have a data generation step to Increment an integer
2) Transfer the value to a TestSuite Property
3) Use the TestSuite property in TestCase1 by transferring to to a property inside the testcase1
4) Use the same testsuite property in TestCase2 by transferring to a property inside testcase2
Above steps works fine as long as I run from the IDE
When I run from command line, propery values doesn't get incremented. Since I'm generating the value inside the testcase, thought I don't need to pass the propery value in the command line. Is that correct?
Not sure if I'm doing something wrong. Appreciate if you can point out anything I missed.
Thanks!
Sanjeev