verifyElementPropertyValue is returning null value for the object and missing property exception:
json response:
{“status”:“success”,
“data”:[{“code”:“ABCDEFG”,“status”:“Processed”},{“code”:“EXAMPLE”,“status”:“InTransit”},{“code”:“TRYITAG”,“status”:“PreparingOrder”}]
}
eg:
dbData=1
for(int jData=0; jData<countResponse && dbData<=dataSize; jData++)
{
if(WS.verifyElementPropertyValue(response, jsonVar.get(‘data’)[jData].getAt(‘code’),
testData.getValue(“Code”, dbData).toString()))
}
I need to check if all above codes are returned with right status.