Contributions
Trying to set test case property for a different project. No errors but it isn't set.
I run the following script: import com.eviware.soapui.impl.wsdl.WsdlProjectPro def projPath = testRunner.testCase.testSuite.project.path.split('\\\\') def path2Auth = (projPath - projPath.getAt(projPath.size()-1) + "KeyVault-readyapi-project").join('\\\\') def prj = new WsdlProjectPro(path2Auth) def testSuite = prj.getTestSuiteByName("KeyVault") def testCase = testSuite.getTestCaseByName("AccessToken") def creationTime = testCase.getPropertyValue("creationTime") log.info("creationTime:" + creationTime ) testCase.setPropertyValue("creationTime", "") log.info("creationTimeAfterChange:" + testCase.getPropertyValue("creationTime") ) It works without errors and returns the result that the property is empty. But in fact, it isn't. It still has a value as before changes. How to resolve it? Why it happens? Regards, Elena451Views0likes1CommentRe: Load properties from the file if run ReadyAPI from console.
No. Iwasn't able to find a"copy to clipboard" button beside my project properties. I resolved it via Global properties and then declared them as -G for the testRunner.2 years agoPlace ReadyAPI QuestionsReadyAPI Questions616Views0likes1Comment