Contributions
Objects used to display as VBobject now display as "window ("Classname", "Name",..)"
Does anyone i have idea why test complete used to display as button Vbobject now display as "window ("Classname", "Name",..)".. this is failing my script. It was wroking fine from last 1 yr now it fails. There is no change in the application12KViews0likes1CommentChanging the server name for source contol
Hi, I am using "Team Foundation Server MSSCCI Provider 2010 32-bit" as source control for the Test complete scripts. We want to change the server Name for the source control but i couldn't find a way to change this. I have attached the screen shot (current server name is marked in red). Please Help Thanks, Srinivas21KViews0likes1Comment- 1.1KViews0likes0Comments
Re: Unable to to do double click on TTF16 grid
Thanks for your reply. Its my mistake that i copied wrongpieceof code while posting this thread. this is the fallowing code i am using and still unable to click on specified cell Sub TTF16Grid CallClickRow("TTF16grid",13,2) 'Call ClickRow("gridname", rowno, colno) End Sub1.1KViews0likes0CommentsUnable to to do double click on TTF16 grid
Hi, I was trying to double click on a cell for TTF16 grid with the fallowing code but it wasn't clicking on the cell i want. Can you please help? Sub TTF16Grid CallClickRow("TTF16grid") End Sub Function ClickRow(Grid, RowId,ColId) Dim ColCount, RowCount, VisibleColId, VisibleRowId, i, Scale Dim M_xcord, M_ycord 'Number of coloumns ColCount=Grid.MaxCol 'Check row and column ranges if ColId<0 Then ClickRow = False Exit Function end if RowCount=Grid.MaxRow If RowId<0 Then ClickRow = False Exit Function End If Log.LockEvents(0) 'Reset the grid focused position Grid.Keys("^[Home]") 'Get the scale 'Scale = Grid.Parent.ScaleWidth / Grid.Parent.Width Scale = Grid.ViewScale 'Scroll columns For i = 1 To ColId-1 Grid.Keys("[Right]") Next 'Scroll rows For i = 1 To RowId-1 Grid.Keys("[Down]") Next 'Get the Left and Top coordinates of the cell Grid.Refresh ' Grid.TwipsToCol(ColId) ' Grid.TwipsToRow (RowId) CellLeft = Grid.ColWidth(ColId) / Scale CellTop = Grid.RowHeight(RowId) * (RowId) / Scale 'Click the cell Call Grid.DblClick(CellLeft + Grid.HdrWidth / (Scale * 2),CellTop + Grid.RowHeight(RowId) / (Scale * 2)) Regards, Srinivas15KViews0likes5CommentsTest execute scripts are not working when using schedule task
Hi, We have scripts that we want to run on virtual machine (hvserver and it is XP image) and scheduled to run e.g. at 04:30 am in the morning. every evening we log off the virtual machine and we expect to run as per scheduled. The script is not working as expected. it works only if we don't log off. Can you please tell us will TE works on the virtual machine when it is logged off and if so how? Thanks, Srinivas17KViews0likes4CommentsError handling in Testcomplete
Hi, I was trying to do error handling in test complete but it is showing syntax error. I am using normal vb type of error handling please see below On Error goto "xyz" xyz: If err.number<>0 then log.Message("aaaa") End if but the above code is not working. Can u please tell me how to do error handling in TC?22KViews0likes1CommentFind the process
Hi, Can you please help me how to find the right process when I have 3 instance of same process? e.g. I have 3 process that are running with same name "MSIEXEC" and i can i differentiate them only with one of the strings in "CommandLine" property. Can you please help me to loop around 3 process to find the right one? Thanks, Srinivas13KViews0likes2Comments- 741Views0likes0Comments