Forum Discussion

rajash's avatar
rajash
Contributor
10 years ago

Groovy Script for XPATH MATCH ASSERTION And TESTREQUEST PROP

hi, can any one help me with groovy script, please ?

1. I need XPATH MATch assertion in script. I need to assert Xpath match
if XAPTH ASSERTION true
DO this
else
Do this

2. I need to access Test Request properties Remove Empty Content in Groovy script <once you click on Test Request, left bottom corner you see Test Request properties, where in we can select some options as true false, like strip whitspace, Remove Empty Contect etc,

please help with groovy script.