This document shows you how to pass JVM properties to DevTest
I am using ant build and build.xml to trigger tests from Jenkins, I need to pass the Jenkins variables to DevTest test as properties so that I can use it during run time. How do we do that?
To pass a JVM variable to DevTest as a property , follow the below approach :
Use "jvmarg" tags inside junitlisa tag. so that, value assigned to jvmarg will be considered as a jvm property and you can directly use it as DevTest property.
Ex: in the build.xml file
Note: This property will work when you run test locally. To run the test locally, modify staging doc with simulator name as local (instead of auto).
If you want to use the property from build.xml file to test suite, make sure you give coordinator and simulator name are local while running the suite.