ContributionsMost RecentMost LikesSolutionsRe: Closing the browsers both(IE and Chrome) at a time.... Thank you.. I found a solution.... Sub ClosingBrowsers l_objBrowsers = Sys.FindAllChildren("ObjectType","Browser") l_BrowsersCount = Ubound(l_objBrowsers) If l_BrowsersCount >= 0 then For I = 0 to (l_BrowsersCount) l_ProcessName =l_objBrowsers(i).ProcessName l_aobjPages = Sys.Browser(l_ProcessName).FindAllChildren("ObjectType", "Page") l_pagesCount = Ubound(l_aobjPages) For J = 0 to l_pagesCount If l_aobjPages(J).Exists then l_aobjPages(J).Close() End IF Next Next End If End Sub Re: Closing the current browser/virtual browser on TestComplete 10.60 Use the below code to close the browsers....to close any open browser... Sub ClosingBrowsers l_objBrowsers = Sys.FindAllChildren("ObjectType","Browser") l_BrowsersCount = Ubound(l_objBrowsers) If l_BrowsersCount >= 0 then For I = 0 to (l_BrowsersCount) l_ProcessName =l_objBrowsers(i).ProcessName l_aobjPages = Sys.Browser(l_ProcessName).FindAllChildren("ObjectType", "Page") l_pagesCount = Ubound(l_aobjPages) For J = 0 to l_pagesCount If l_aobjPages(J).Exists then l_aobjPages(J).Close() End IF Next Next End If End Sub Re: Closing the current browser/virtual browser on TestComplete 10.60 It does not work if you open both Explorer and chrome at a time... Closing the browsers both(IE and Chrome) at a time.... I opened the three tabs in IE and 2 tabs in Chrome.. I would like to close all browsers Tab by Tab using my script. Could any one help me.... Re: How to retrive data from WPF datagrid through TestComplete I am also working on WPF Application, and unable to get the row index for one of the Cell. I am able to identify the cell by using below code. Set Obj1 = tableSearchResults.FindChild ("Text",Excel_Open.Value(i_Index_OrganizationName),2) If Obj1.Exists then Log.Message Obj1.WPFControlIndex Else Log.Message "Organization : "& Excel_Open.Value(i_Index_OrganizationName) &" is not found" End If It is giving the column level...but I need the DataGrid Row value so that i can click on the Update button for that perticular row.. Please help... Re: Creating a loop to login into a application multiple times Flag =0 DO While(Flag < 60) Call Browsers.Item(BrowserName).Run(URL) Capture the name text box in Login window and enter the value Capture the password textbox and enter the value capture the login button and click Flag = Flag+1 Loop Above script works 60 times with the same set of values... if you want 60 set of values, you can use DDT(Excel sheet) Re: Selecting drop down values by keys method How to display the values selected by Dropdown.... Ex: If i have 1,2,3 in the dropdown and using the code, i selected 2 : Object.Clickitem(I). Now i want to display that value.. Log.Message ????? Could you please help me... Re: How to connect SQL Server using TestComplete here is my code and it is not working... Sub SQLServer Set dbObj = ADO.CreateADOQuery() dbObj.ConnectionString = mil-tfsprd-01 dbObj.Open() End Sub How to connect SQL Server using TestComplete Hi, I am trying to open SQL Server data base using my Testcomplete code-- VB Script... Please Help... Re: send parameters in Delete Query Did you get the answer ?