Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
This should easily be doable using property expansions.
In your project, add the namespaces as Test Properties (for instance named ns1, ns2 and ns3).
Replace the script part you posted with the following:
This way, you just have to change the namespaces in one place, the Project properties.
Hope this is what you were looking for!
Regards,
Dain
eviware.com
This should easily be doable using property expansions.
In your project, add the namespaces as Test Properties (for instance named ns1, ns2 and ns3).
Replace the script part you posted with the following:
response.namespaces["ns1"] = context.expand('${#Project#ns1}')
response.namespaces["ns2"] = context.expand('${#Project#ns2}')
response.namespaces["ns3"] = context.expand('${#Project#ns3}')
This way, you just have to change the namespaces in one place, the Project properties.
Hope this is what you were looking for!
Regards,
Dain
eviware.com