Forum Discussion

sanjeevkumar7's avatar
sanjeevkumar7
Occasional Contributor
13 years ago

[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

3 Replies

  • sanjeevkumar7's avatar
    sanjeevkumar7
    Occasional Contributor
    Also when I use the "TestRunner" I see the datagenation step works for the first time and doesn't for the subsequent runs.

    Could someone please look into it ?

    Thanks!
    Sanjeev
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Sanjeev,

    can you share your project so we can try to reproduce this?

    regards!

    /Ole
    eviware.com
  • sanjeevkumar7's avatar
    sanjeevkumar7
    Occasional Contributor
    Thanks - This got fixed when I checked "Save After" option dialog in the test runner.