Hi,
I am trying to call ranorex for execution of GUI tests.
To integrate Ranorex I followed this instructions:
The things I am doing:
- build my own application with my own build environment -> succeeded
- build the ranorex test suite with the msbuild plugin -> succeded
- call the test suite by using the ranorex plugin from a pipeline -> NullPointerException
Here's a part of my part script:
ranorex rxReportDirectory: "./test/Ranorex", rxJUnitReport: true, cmdLineArgs:"ts:./MyTest/MyTestConfiguration.rxtst"
The resulting stacktrace:
java.lang.NullPointerException
at com.ranorex.jenkinsranorexplugin.util.StringUtil.splitPath(StringUtil.java:41)
at com.ranorex.jenkinsranorexplugin.util.FileUtil.getRanorexWorkingDirectory(FileUtil.java:46)
at com.ranorex.jenkinsranorexplugin.RanorexRunnerBuilder.perform(RanorexRunnerBuilder.java:336)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Anything I made wrong? An issue in the plugin?
Best regards,
Christoph