Forum Discussion
AnandKiran
16 years agoFrequent Contributor
Hi ,
Can you provide any guidance for the above issue . What actually I was following in our script is :
//define your namespaces
def ns1='http://RecentCommunicationType/v1'
def ns2='http://UserSummary/UpdateRecentCommunicationResponse/v1'
def ns3 = 'http://Support/Fault/v1'
response.namespaces["ns1"] = ns1
response.namespaces["ns2"] = ns2
response.namespaces["ns3"] = ns3
I have used theabove lines in one of the TestCase steps for declaring the namespaces. But my question is whether can we declare the same in common for the whole project . Because if we include these lines in every testcase and if there is any change made in the namespace we need to incorporte those changes in every testcase under the project.
It would be great if you can provide me any solution for this issue .
Thanks
With Regards
Anand
Can you provide any guidance for the above issue . What actually I was following in our script is :
//define your namespaces
def ns1='http://RecentCommunicationType/v1'
def ns2='http://UserSummary/UpdateRecentCommunicationResponse/v1'
def ns3 = 'http://Support/Fault/v1'
response.namespaces["ns1"] = ns1
response.namespaces["ns2"] = ns2
response.namespaces["ns3"] = ns3
I have used theabove lines in one of the TestCase steps for declaring the namespaces. But my question is whether can we declare the same in common for the whole project . Because if we include these lines in every testcase and if there is any change made in the namespace we need to incorporte those changes in every testcase under the project.
It would be great if you can provide me any solution for this issue .
Thanks
With Regards
Anand