[INTERNAL] visualtest: better error handling
[INTERNAL] visualtest: better error handling

Change-Id: Ic289a796859f9d51921bc83dbd43be06c721664f

nzamani/openui5,olirogers/openui5,SAP/openui5,nzamani/openui5,cschuff/openui5,SAP/openui5,olirogers/openui5,SAP/openui5,SQCLabs/openui5,cschuff/openui5,cschuff/openui5,olirogers/openui5,SAP/openui5,nzamani/openui5,SQCLabs/openui5,SQCLabs/openui5