| || |
Compare Json file with UFT (Vbscript)
How we can compare two json files by UFT (vbscript) ?
Number of possibilities:
If they are small you could read them into strings and do a StrComp.
Call an external file compare utility.
In the past I have created objects from Json files and checked the values, I have also done the reverse, I have built up an object of Json strings, flattened it and posted it to a web service.
yep, can consider that as text and compare data.
Apart from that - there was JSON parser util available created by a chinese guy - Dont remember the site, will try to see if I can get it and post here.