Not able to run a test

  • KM03114300
  • 08-Mar-2018
  • 08-Mar-2018

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

Exception of type 'System.Web.HttpException' was thrown.Exception of type 'System.Web.HttpUnhandledException' was thrown.There is an error in XML document (xxx, x).' ', hexadecimal value xxxx, is an invalid character

Error

When try to run a test we are getting the following error message:

Exception of type 'System.Web.HttpException' was thrown.Exception of type 'System.Web.HttpUnhandledException' was thrown.There is an error in XML document (xxx, x).' ', hexadecimal value xxxx, is an invalid character

Cause

There are some scripts that have some garbage characters in the default.cfg file in the script folder. If we use this scripts to create a scenario in PC, and we change the RTS, PC test BLOB is going to be corrupted.

Fix

There are two options:

1. You can check the default.cfg file and delete the garbage characters manually or you can open the script in Vugen, change the RTS and then Save the script again in Test PLan and recreate the scenario.

2. If you want to fix the current scenario you need to fix the scripts first deleting the garbage characters and then you will need to open the PC TEST BLOB, delete the characters and then create an update query to update the BLOB in the database and then the scenario starts working again.