Forum Discussion

rajs2020's avatar
rajs2020
Frequent Contributor
5 years ago

ReadyAPI - Running a test with configurations

I have some tests in which I have to manually change one setting in a config file to run the tests. The setting depends on which test we are running. I don't know if this approach to using ReadyAPI i...
  • ChrisA's avatar
    ChrisA
    5 years ago

    Hi,

    You could use the 'CustomProperties' tab in the Environments UI.  You can then 'pull' those environment level customer properties into any test you are using.

     

    As for config in a Groovy script, may you use the Setup Script tab (availability at Project, test Suite, Test Case) layers to pull in the config from your groovy script.