ContributionsMost RecentMost LikesSolutionsRe: Inconsistent Running of Test Complete 12 hard coded delay is not having any impact. I added a 5 second delay then refreshed the mapping. Re: Inconsistent Running of Test Complete 12 will give it a try. I have been having several timing issues since upgrading TestComplete from v7 to v12 without changing the test scripts. Re: Inconsistent Running of Test Complete 12 I added the RefreshMappingInfo step but hasn't solved the problem. Re: Inconsistent Running of Test Complete 12 I have a function beofre this one that wont carry on till the grid is loaded, so hopefully it isn't the first suggestion. I don't close the application each time as it would take up too much test time. The application doesn't take up much memory space but TestExecute 12 does. Re: Inconsistent Running of Test Complete 12 the line of code is the same for both errors: if(grid.Columns.Item(i).Caption == header1) {...} where grid is a vb constructed grid and header1 is a static string of text. The test follows a simple loop, open test case, get figures from the grid close the case, move to next test case. I can process multiple test cases before getting the error and there are controls built in to make sure the grid is shown before doing the if statement. Inconsistent Running of Test Complete 12 I am testing a desktop application which is written in VB, my tests run so far then I get either of the two following messages: Subscript Out of Range The Object Invoked has Disconnected From Its Client I get this error on a function which has been used numerous times already in my tests run (up to 100 times already), if I restart the test from my test case before the error occurred then it will carry on and process more cases before getting one of the errors again. I am finding it very frustrating that Test Complete is being so inconsistent and I have to run my test set in parts and hope it runs. Any ideas why I would get these two messages? Re: Webservice Testing - setting up the correct Object typeTanya, The issue I am working with Allen on is related to a webservice reply and the format of that data, not creating the webservice request. The two issues are completely seperate. Any answer to the above would be very useful. ThanksWebservice Testing - setting up the correct Object typeHi, I am testing a webserivce which wants an input as an xmlDocType, I have the data in an XML file, but I have not been successfull in getting the webservice to accept the data. I have tried using the file directly, using ReadWholeFile(), storing it as an xmlCheckpoint and other methods to extract the content and make into the correct type. Some methods have just given back a blank object. From the Generated Code box for the relevant Type, I get the following: function xmlDocType() { var Result; var TypeFactory; //Get the type factory for the web service TypeFactory = WebServices.FundRaisingWebServices.TypeFactory; Result = TypeFactory.xmlDocType; return Result; } While the help file says I can copy this to my scipt unit and use it to make the correct object type, I have no idea how this would work. Any suggestions on how to take the xml file and end up with the correct object type?