Forum Discussion

Abascal's avatar
Abascal
New Contributor
4 years ago
Solved

Overwrite a TestSuite / TestCase property in the loadtestrunner.sh from command line

Hello everybody,   I have been some time trying to overwrite a test suite parameter through command line but I never figured out how to achieve it. Currently, I know it is possible to pass a proper...
  • HimanshuTayal's avatar
    4 years ago

    Abascal : If you know the desired Test Suite Name than you can write code in Load Script of Project as below:

     

    prop = project.getPropertyValue("Property1")
    project.getTestSuiteByName("TS1").setPropertyValue("Property1",prop)

    Also, you can find help in this link about command line arguments.