Ask a Question

unable to pass value to Test case custom property using groovy?

punter
Contributor

unable to pass value to Test case custom property using groovy?

Test Case 1_custom properties.JPG

5 REPLIES 5
sanj
Super Contributor

Looks like the paramter order is reversed

username and domain

Tried same result

 

Capture.JPGd.JPG

Still ,no solution

 

just want to pass a value in test step custom property

sanj
Super Contributor

I have tried the link below it works for me

https://www.soapui.org/scripting-properties/tips-tricks.html

 

Below is what I did and it works for me

testRunner.testCase.setPropertyValue( "Firstname", "Sanjeet" )
def testCaseProperty = testRunner.testCase.getPropertyValue( "Firstname" )

 

cancel
Showing results for 
Search instead for 
Did you mean: