ContributionsMost RecentMost LikesSolutionsRe: Prompt message in TestComplete without any buttonsHi, Temporarly got solution, Created userform with the label "Device is not Ready.. Please wait" and this has been called whenever it is required and displayed for few secs and disable the window. if someone has different methods also welcome. Regards, VenkatPrompt message in TestComplete without any buttonsHi, I'm developing a code to open URL, if Obj is not exists want to prompt message "Device is not Ready.. Please wait" without any button and then close the message window and then open URL again until obj.Exists Need help on how to prompt a message window for defined time without any button. Sub Test ip_add = www.google.com Do Call Browsers.Item(i).Run(ip_add) Set obj = Sys.Browser("iexplore").Window("#32770", "Windows Security", 1) If not obj.Exists then aqDlg.ShowMessage("Device is not Ready.. Please wait") delay(2000) End if Loop Until obj.Exists End subRe: Declaring array in Testcomplete using VBscriptThanks to all. Got solution. when we declare dynamic array DIM arr() and try to asign the value before declaring the array dimension. we will get error message. Ex. To read Excel data Sub Temp Dim arr() ''' Statements to be added ''''' x= Excel.Application.Activesheet.Usedrange.rows.count y= Excel.Application.Activesheet.Usedrange.columns.count ReDim arr(x) For i=0 to x Forj=0 to arr(i,j)=Excel.cells(i+1,j+1) Next Next End Sub Regards, Venkates K Re: Declaring array in Testcomplete using VBscriptThanks Hugo Well, split() function is good when i know my array with pre-defined delimiter, suppose if i want read cell values from excel and want to put it an array elements. In that case we may not know array size so we need to read from for loop. Ex. Sub array Dim arr() For i=0 to 10 a(i)= Excel.cells(i,1) ' getting error in a(i) Next End sub Regards, venkates k Calling VC++ dll from TestCompleteI want to pass data between TestComplete to LabVIEW so created a .dll in vc++, problem is getting "Microsoft Run Time error". Attached the .dll code and TestComplete code. Appreciate your help to debug. Regards, venkates k Re: Calling dll from TestComplete script Thanks Alexei, still same error as mentioned above. attached the .dll function code and TestComplete code for your reference. I would recomend you to post working code here. Appreciate your help. Best Regards, Venkates K Error: Window is invisible and thus cannot be activated I need to change the values of each cell in Table view window (attached the image file). I'm not able to read each cell or control properties of Table view window so i decided, first event is click on State 1 cell then use key functions to move up/down across the cells and change the values of each cell. Problem: First encountered error: "The window was destroyed during method execution." so i introduced delay functions to each event now second error is "The '0 output(s) active' window is invisible and thus cannot be activated."Dim wndAfx Dim V1,V2,V3,IP1,IP2,IP3 V1=23 V2=32 V3=45 IP1=0 IP2="-120" IP3=120 I1=1 I2=2 I3=3 VP1=0 VP2="-120" VP3=0 Dim afxFrameOrView80u Dim gxedit Set wndAfx = Aliases.OMSeq.wndAfx.MDIClient.wndAfx1 Call wndAfx.Click(138, 9) Set afxFrameOrView80u = wndAfx.AfxFrameOrView80u Set gxedit = afxFrameOrView80u.GXEDIT1 Call afxFrameOrView80u.Click(90, 38) 'Call afxFrameOrView80u.Keys("[F2]") aqutils.Delay 50 Call gxedit.Keys("[Home]![End]") aqutils.Delay 50 call gxedit.keys("[Del]") aqutils.Delay 50 call gxedit.Keys(V1) aqutils.Delay 50 Call gxedit.Keys("[Down]") aqutils.Delay 50 Call afxFrameOrView80u.Keys("[F2]") Call gxedit.Keys("![End]") aqutils.Delay 50 call gxedit.keys("[Del]") aqutils.Delay 50 call gxedit.Keys(V2) aqutils.Delay 50 Call gxedit.Keys("[Down]") End sub Regards, Venkateswaran K Re: Declaring array in Testcomplete using VBscriptThanks Alexei, Any other method of declaring. F.Ex. if we get 'n' no of elements from the user and wants to process each element by reading it from for loop and do some action depends on case logic. Ex: User Input: 1,5,8,6,9,10....n Code: Sub Expectedinfo( array_input) Dim arr() arr()= array_input a=ubound(arr()) ' to identify array size For i=0 to a '' Statements Next End Sub Regards, Venkates K Declaring array in Testcomplete using VBscriptI need to declare an array of 7 integer elements using VB script, I getting "error 110: syntax error while lexinf character:" Tried below codes: 1. Dim arr={1,2,3,4,5,6,7} 2.Dim arr(6)={1,2,3,4,5,6,7} 3.Dim arr() = {1,2,3,4,5,6,7} Regards, venkateswaran K Execute Remote PC TestComplete scripts by calling from Server PC TC scriptsHi, I hope somone can help me on this requirement. I have x, y, z TC scripts on server PC and a,b, c scripts on Remote PC. When runing the task, I want scripts has to be executed as following x,a,y,b,z & c. Note. TestExecute is installed on remote PC. Need script to open Remote PC and executes the specific routine to control the functional flow. Regards, Venkateswaran K