alibaba82
17 years agoSuper Contributor
'recreate a default request from schema' does not seem to work as expected.
Hello,
I have project with multiple test suites and multiple test cases. Recently development decided to update the WSDL definition by changing the namespaces. What I did to update my tests was to 'update the definition' and then go to each of my test cases and clicked on 'recreate a default request from schema'. While doing this one of the questions asked is 'keep existing values'. I would assume that if you choose 'Yes', it would keep the existing values. However, my request object gets replaced by the default request object from the wsdl definition. Is this expected ?
Secondly, I was thinking that it would probably be easier to open the XML file in notepad and just copy / replace the updated namespace. This would be the easiest and preferred way since testcases and property transfers are referencing the old namespace and need to be updated.
for instance the old namespace was
xmlns:user="http://coreservices.tvguide.com/v2/userprofile">
and the new name space is
xmlns:user="http://services.tvguide.com/v2/userprofile">
Can I just do a copy/replace in notepad ?
Thanks
Ali
I have project with multiple test suites and multiple test cases. Recently development decided to update the WSDL definition by changing the namespaces. What I did to update my tests was to 'update the definition' and then go to each of my test cases and clicked on 'recreate a default request from schema'. While doing this one of the questions asked is 'keep existing values'. I would assume that if you choose 'Yes', it would keep the existing values. However, my request object gets replaced by the default request object from the wsdl definition. Is this expected ?
Secondly, I was thinking that it would probably be easier to open the XML file in notepad and just copy / replace the updated namespace. This would be the easiest and preferred way since testcases and property transfers are referencing the old namespace and need to be updated.
for instance the old namespace was
xmlns:user="http://coreservices.tvguide.com/v2/userprofile">
and the new name space is
xmlns:user="http://services.tvguide.com/v2/userprofile">
Can I just do a copy/replace in notepad ?
Thanks
Ali