UFT 14.53: Parsing a REST API Json response in UFT
I am working on an automation script that compares the value in the UI application to the value coming from the REST API json response.
1) I'm not using the API test to call the REST API but have developed a vbscript in UFT that calls the REST API. Now i have a json response from the API that i need to parse. I would ideally like to parse the values from json and compare the values with the application.
2) If JSON parsing is not possible in UFT - VBS then is there a way i could accept the response in xml format or convert the json into xml and parse the values?
Appreciate all your ideas. Thanks!
Re: UFT 14.53: Parsing a REST API Json response in UFT
I am trying to parse a JSON string and I am really new to VB script and UFT. If you have already found a way to parse the JSON string, please share that with me.