ContributionsMost RecentMost LikesSolutionsRename Pause Run and Start Run Rename Pause Run and Start Run in Test Runner to Pause Timer and Start Timer as the test run can be edited despite the buttons names. Re: How to display the Time in 12Hour Formatvar CurrentTime = aqDateTime["Time"](); CurrentTimeDisplayIn = aqConvert["DateTimeToFormatStr"](CurrentTime, "%#I:%M");Re: Error handling in Keyword testHello, Refer to Using DDT Drivers and Property Checkpoints.Re: how to check aqobject is non null so as to check for Menus propertyHello, You can try using the FindChild method and related. Refer to Searching for an Object.Re: RightClick on a VB TabDid the suggestion help?Re: How do I catch if an unexpected error has occurred?In this case, Handling Exceptions in Scripts will help youRe: How to handle Excel or CSV DriversHello, The CurrentDriver property holds a reference to the last created DDTDriver object (in your script, it is Driver2). So, after you close Driver2, Driver2 no longer holds a reference to the driver and the error you mention occur. Use DDT.DriverByName instead: function dbtest(fname) { var f1name = "C:\\TestData\\" + fname + ".txt"; // Creates the driver var Driver2 = DDT["CSVDriver"](f1name); // Iterates through records while (! Driver2["EOF"]() ) { AppScriptDriver(); Driver2["Next"](); } // Closing the driver DDT["CloseDriver"](Driver2["Name"]); } function DbMasterBatchController() { var Driver1; // Creates the driver Driver1 = DDT["CSVDriver"]("C:\\TestData\\MBA.txt"); // Iterates through records while (! Driver1["EOF"]() ) { fname = DDT["DriverByName"](Driver1["Name"])["Value"](1); dbtest(fname); Driver1["Next"](); } // Closing the driver DDT["CloseDriver"](Driver1["Name"]); Log["Warning"]("Driver closed"); } Re: How do I catch if an unexpected error has occurred?Yes, all the information is valid for TestComplete 7Re: ignore tab and space in a property for FindChildHello, You can use asterisk (*) or question mark (?) wildcards. The asterisk corresponds to the string of any length, the question mark - to any single character: myProcess.FindChild("innerText","*Share*",10) Re: How do I catch if an unexpected error has occurred?Also refer to Handling Exceptions in Scripts