AnandKiran
16 years agoFrequent Contributor
How to declare properties in TestSuite level using Groovy
Hi ,
I am trying to declare the variables in the TestSuite level and i want to access them in my test steps . But I am stuck in the first step
When i tried declaring a variable in setup script
testSuite.properties["n"].value = "http://www.parasoft.com/wsdl/calculator/"
I am getting an error
Sat Jul 11 11:28:45 IST 2009:ERROR:An error occured [java.lang.NullPointerException], see error log for details
Can you tell me why this error has occured.
Regards
Anand.
I am trying to declare the variables in the TestSuite level and i want to access them in my test steps . But I am stuck in the first step
When i tried declaring a variable in setup script
testSuite.properties["n"].value = "http://www.parasoft.com/wsdl/calculator/"
I am getting an error
Sat Jul 11 11:28:45 IST 2009:ERROR:An error occured [java.lang.NullPointerException], see error log for details
Can you tell me why this error has occured.
Regards
Anand.