Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Need help in creating dynamic assertion

$
0
0

HI All

 

I'm in the process of creating dynamic assertions using groovy in SoapUI(Not PRO). I 'm able to add the assertion using the following successfully

 

 

def teststep = testRunner.testCase.getTestStepByName("TestStep_Name");
teststep.addAssertion("XPath Match")

 

 

Can anyone please help how I can add the XPath Expression and Expected Result  for the above step

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles