Forum Discussion

rjagpreet's avatar
16 years ago

PropertyTransfer issue

I have added PropertyTransfer of testcase1 and trying to access the same in testcase 2.
when try to access the property in the testcase2, the transferred Value NULL is displayed.

I have attached the screenshot.

I would like to know where i'm going wrong.

Thanks in advance.

Regards,
Jagpreet
  • Soaper's avatar
    Soaper
    Occasional Contributor
    Hi Jag,

    I believe it is not possible to transfer property values between different testcases unless you put the properties in your testsuite. At least that is how I do it atm.

    If there is a way I would like to know how it can be doen too 

    Regards,
    Robin
  • Hi!

    you are correct, properties that need to be "shared" between testcases must be "passed" via the containing TestSuite (or Project).. this is intentional to minimize direct dependencies between testcases.

    regards!

    /Ole
    eviware.com
  • gurpreets's avatar
    gurpreets
    Occasional Contributor
    It will be really great if you can let us know how we can make it shared ?
  • Hi,

    if you define property on project level it will be visible on all underlying levels ( suite, case, step )
    also if you define it on suite level it will be visible on case and step level.
    This is how you "share" properties.

    Hope this helps

    Nebojsa
    eviware.com