Hi,

I am trying to call ranorex for execution of GUI tests.
To integrate Ranorex I followed this instructions:
https://www.ranorex.com/blog/integrating-ranorex-automation-in-jenkins-continuous-integration-process/

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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1b63bf90-76a3-4f26-9b2b-7073bef6a495n%40googlegroups.com.

Reply via email to