wula007
9 years agoOccasional Contributor
project.getPropertyValue does not work when pass property from command line
Hi
When I upgrade my readtyAPI from 1.3.1 to 1.4.1, project.getPropertyValue() does not work in my script.
I passed two propertie (errorFolder and debug) from command line. for example:
cmd /c call "D:\Program Files\SmartBear\ReadyAPI-1.4.1\bin\testrunner.bat" -sAdvisorGridTestSuite -r -EAdvisorSTG -a -PerrorFolder=D:\Jenkins_Slave\epjenkins81\workspace -Pdebug=true -R"TestSuite Report" -FHTML -I AdvisorMobServiceTest-soapui-project
In my afterRun(TestSuiteRunner testRunner,TestSuiteRunContext runContext) method, both value of
testRunner.testSuite.project.getPropertyValue("errorFolder") and testRunner.testSuite.project.getPropertyValue("debug") are NULL.
why this way can work in 1.3.1?
Is it the bug of 1.4.1?