Forum Discussion
michel2016
10 years agoNew Contributor
I also got the same problem.
Did you found any solution?
The system hangs each time (Currently using 5.1.3)
// Properties
def testSuite = 'testsuite.html'
//Code
def projectPath = context.expand('${projectDir}')
def seleniumTestSuite = new File(projectPath, testSuite).toString()
seleniumTestSuite = "\"$seleniumTestSuite\""
def reportPath = new File(projectPath, 'report').toString()
reportPath = "\"$reportPath\""
def baseUrl = context.expand('${#Project#home}')
def process = "cmd /c java -jar ext\\selenese-runner.jar --baseurl \"$baseUrl\" --html-result $reportPath $seleniumTestSuite".execute()
process.waitFor()
def exitValue = process.exitValue()
//System hangs
log.info(exitValue )nmrao
10 years agoCommunity Hero
Just curious to know, when you can run the same command using a batch file / command-line directly, any reason for using from soapUI?