Forum Discussion
jball
14 years agoNew Contributor
I tried it after I had updated the defintion, so it was comparing itself to itself. I tried it just by refactoring and that worked fairly well.
We can consider this issue resolved.
I do have another question, let me know if you want to post another topic, but is there a single file that I can go in an mass update my assertion teststep? What happened was, the developers changed an arrays name from Items to Item. I was able to map it for the requests using the refactor screens. But I have found that within an Assertion TestStep I need to go into each actual assertion and change
declare namespace cic='http://schemas.datacontract.org/2004/07/CIC.XYZ.CBO';
declare namespace tem='http://tempuri.org/';
//tem:CreateOrder[1]/tem:items[1]/cic:OrderItem[2]/cic:Description[1]
to
declare namespace cic='http://schemas.datacontract.org/2004/07/CIC.XYZ.CBO';
declare namespace tem='http://tempuri.org/';
//tem:CreateOrder[1]/tem:item[1]/cic:OrderItem[2]/cic:Description[1]
taking the s from :itemS[1] for about 50 assertions.
It appears that the actual assertions within the SOAP Requests have converted fine, this is only on Assertion Test Steps.
If the answer is no, no big deal. I can manually update them.
Thanks OLE - Top notch response as usual.
We can consider this issue resolved.
I do have another question, let me know if you want to post another topic, but is there a single file that I can go in an mass update my assertion teststep? What happened was, the developers changed an arrays name from Items to Item. I was able to map it for the requests using the refactor screens. But I have found that within an Assertion TestStep I need to go into each actual assertion and change
declare namespace cic='http://schemas.datacontract.org/2004/07/CIC.XYZ.CBO';
declare namespace tem='http://tempuri.org/';
//tem:CreateOrder[1]/tem:items[1]/cic:OrderItem[2]/cic:Description[1]
to
declare namespace cic='http://schemas.datacontract.org/2004/07/CIC.XYZ.CBO';
declare namespace tem='http://tempuri.org/';
//tem:CreateOrder[1]/tem:item[1]/cic:OrderItem[2]/cic:Description[1]
taking the s from :itemS[1] for about 50 assertions.
It appears that the actual assertions within the SOAP Requests have converted fine, this is only on Assertion Test Steps.
If the answer is no, no big deal. I can manually update them.
Thanks OLE - Top notch response as usual.