Forum Discussion

DanielF's avatar
DanielF
New Contributor
2 years ago

Reference current Response-SOAP-XML in context.expand

In my project I have many teststeps: TF001, TF002, TF003, … These teststeps are organized in the testcase “getOffer” I want to run these teststeps individually, as well as all together in the testc...
  • KarelHusa's avatar
    2 years ago

    DanielF,

    use only: 

    context.expand( '${Response...

     

    For instance:

    context.expand( '${Response#declare namespace tem="http://learnwebservices.com/services/tempconverter"; //tem:TemperatureInFahrenheit}')

    I have tested this code in TestRunListener.afterStep.