Forum Discussion

SumanthGudipati's avatar
SumanthGudipati
New Contributor
8 years ago

How to change the Xpath Parameter from Upper Case to as same as DB Value

Currently Iam using Ready API 1.3. As we had been using this from the starting of the project . I have designed like 200 test cases. Now when i moved the same project with Ready API 1.8. Iam seeing the error at Xpath Assertion.

 

Example :

 

 

ReadyAPI 1.3:

 

Input :  objectxml.value('declare namespace xsi="http://www.w3.org/2001/XMLSchema-instance";(/Transaction/@channel)[1]', 'varchar(max)') as 'channel',

 

OutPut:<CHANNEL>WEBMCC</CHANNEL>

 

Ready API 1.8:

 

Input : objectxml.value('declare namespace xsi="http://www.w3.org/2001/XMLSchema-instance";(/Transaction/@channel)[1]', 'varchar(max)') as 'channel',

 

OutPut :  <channel>WEBMCC</channel>

 

Can someone of you please help me with a way/Script to change all the Xquery response Values at a time.Thanks In Advance.

No RepliesBe the first to reply