Forum Discussion

rajs2020's avatar
Frequent Contributor
4 years ago

ReadyAPI - How to use code in the custom properties of a test step ?

Say we have a test step which actually calls/runs some test case. One of the properties, say ID has a variable value which is set by something else (script, another test step etc.). E.g. like this: ...
  • richie's avatar
    4 years ago
    Hey rajs2020,

    Yep you can do this. SmartBear call it dynamic property expansion or inline scripting.

    For example i used ${=Java.util.randomUUID()} to autogenerate unique GUIDs/UUIDs.

    If you search the property transfer/property expansion SmartBear help, youll find the inline scripting detail.

    Nice one