Forum Discussion

marketguard's avatar
marketguard
Occasional Contributor
8 years ago
Solved

PropertyTransfersTestStep.PropertyTransferResult Java API - How to Get transferred Value?

<groupId>com.smartbear</groupId> <artifactId>ready-api-runners</artifactId> <version>1.7.0</version>  Hi ,   I'm trying to get the transferred Value via the Java API, in a former Version of Soap...
  • marketguard's avatar
    8 years ago

    I ended up with this:

    WsdlProjectPro project = new WsdlProjectPro("PATH_TO_XML");
    for (TestProperty projectProperty : project.getPropertyList()){
    System.out.println("Key: " +projectProperty.getName() + " Value: "+project.getPropertyValue(projectProperty.getName()));

    }

    Works also fine on, TestSuite, TestCase and TestStep Level.