mgupta1405
13 years agoOccasional Contributor
MultipleCompilationErrorsException: startup failed
I tried to execute the following code
but I got the following stacktrace
Can anyone tell me the problem in this and the possible solution for this?
Thanks
Mohit
def project = context.testCase.testSuite.project
def testSuite = project.getTestSuiteAt(0)
def testCase = testSuite.getTestCaseAt(0)
def sourceTestStep = context.expand( ‘${#TestCase#FindEvent}’ ) //FindEvent is a SOAP request
def targetTestStep = context.expand( ‘${#TestCase#TestRequest}’ ) //TestRequest is a SOAP request
but I got the following stacktrace
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script6.groovy: 5: unexpected char: '#' @ line 5, column 41. TestStep = context.expand( ‘${#TestCase# ^ org.codehaus.groovy.syntax.SyntaxException: unexpected char: '#' @ line 5, column 41.
Can anyone tell me the problem in this and the possible solution for this?
Thanks
Mohit