ContributionsMost RecentMost LikesSolutionsIssues with reorganization of Objects using Testcomplet 9.2 HI All, I am using the TestComplete 9.2 for past five Months!!! We have successfully automated the Projects which comes 150 test cases as the pilot, We stabilized all the 150 Scripts... All the One fifty scripts are working well and fine, expect some scenarios. I have a scenario, where I need to do some pre configuration and relaunch the application if I wanted to get the changes in my application. After that, again we need to work with the same application, as I need to complete some verification. The issue is after relaunching the application, the test complete is not recognized the objects. It's working if we again restart the application!!! We have spent a couple of days to find the root of this issue, but still not getting from where the issue is causing so someone please to help us on this. Re: How to kill the Process busing testcomplete!! The issue solved, I found a similar thread which helped me to solve my issue. Re: how to kill a processThanks, this is what i was looking for!How to kill the Process busing testcomplete!!Hi, I have a issues with launching an application, as it says that the instance is already running... so i tried to kill the Process by following line of code if(Sys["Process"](".AdminConsole")["Exists"]==true) { Sys["Process"](AdminConsole")["Terminate"]() Log["Message"]("The application is Close") } the above code is working well and fine, when the application exist on the process but it gives error when the app is not exist on the process, could some one please help me on this even i have tried as if(Sys["Process"]("RetailSuite.AdminConsole",-1)) { Sys["Process"]("AdminConsole")["Close"]() Log["Message"]("The application is Close") } Connecting "SQL Server doe not exists or access denied" error while connecting the SQL 2005 Express version!!!hi team, i am getting an sql odbc connection eror while trying to connect the 2005 sql express!!... the error is "ODBC SQL Server Driver ][Named Pipes]SQL Server doe not exists or access denied." code var mConnection; mConnection=Sys["OleObject"]("ADODB.Connection"); mConnection["Open"]("Driver={SQL Server};"+"Server=.\SQLEXPRESS;"+"Database=StorePos;"+ "Uid=sa;"+"Pwd=compaq1-2"); mConnection["Execute"]("UPDATE PosMenu SET MENUID='10011' WHERE MENUID='10211'"); The above code is giving the issue only with Microsoft SQL Server 2005 express edition but the same times its working well and fine with sql 2005 enterprise edition Re: Is TestComplete having some common issues!!!Hi please answer on this!! 1, The batch execution is getting stopped when one script end up with fail status. Even if Uncheck the Stop and Error and Stop warning/Error Dialog?Re: How to set the value based on the "childNode" in xmlWell!! solved my issue!!! Thanks all !!!Re: How to set the value based on the "childNode" in xmlThanks for your reply!! but i did not get you!! you mean i need to save the file once i updated by using below code =xmlNode.item(nodeNumber).text="new Value"Re: How to set the value based on the "childNode" in xmlThanks for your reply !!! but it was not updating the node value!!!How to set the value based on the "childNode" in xmlHi All, I am working on the xml formate files where i need to update the node value based on the childNode values which i given!!! <test> <qty>test<qty> </test> here.... i need to update the node of qty!!! i here reached the node of qty...but i dont know what is method to set the value fro node.... function setNodeValue(childNode,nodeNumber) { var xmlDoc, s; var actualPath="T:\\Config\\Parameters\\params.xml"; // Specify your file name var FileName = actualPath; // Load xml file xmlDoc = new ActiveXObject("Msxml2.DOMDocument.4.0"); xmlDoc.load(FileName); // Check errors if (xmlDoc.parseError.errorCode != 0) { s = "Reason: " + xmlDoc.parseError.reason + "\n" + "Line: " + xmlDoc.parseError.line + "\n" + "Text: " + xmlDoc.parseError.srcText; Log.Error("Failed to open file " + FileName, s); return; } // Specify your XPath expression var xmlNode = xmlDoc.selectNodes("//"+childNode); if (xmlNode != null) { for (var i = 0; i < xmlNode["length"]; i++) //Log["Message"](xmlNode.item(i).text); var actual=xmlNode.item(nodeNumber).text; return actual; } } please help me how can i update the qty node? Solved