Okay so ive converted it to Script to see if I can get some sort of error message:
---------------------------
TestComplete
---------------------------
An exception occurred in the "Unit1" unit at line 10:
Körningsfel i Microsoft VBScript
Inkompatibla typer: '[string: ","]'
---------------------------
OK
---------------------------
Its complaining about my , seperator.
Heres how the script looks.
Sub Test4()
'Unable to convert the For Loop operation, because no loop variable is specified.
'Selects the 'Grunddata' tab of the 'SysTabControl32' tab control.
Call Aliases.VDEVW.wndSmalltalkVCDMMDIFrame.MDIClient.wndSmalltalkVCDMMDIChild1.SysTabControl32.ClickTab("Grunddata")
'Double-clicks the 'A Biltvätt & Recond' subitem of the 0 item of the 'SysListView32' list view.
Call Aliases.VDEVW.wndSmalltalkVCDMMDIFrame.MDIClient.wndSmalltalkVCDMMDIChild1.SysTabControl32.VGraph.VW32ANSI.VW32ANSI.SysListView32.DblClickItem(0, "A Biltvätt & Recond")
'Closes the 'HwndSource_Shell' window.
Call Aliases.Lokaldelen_Silverado_Client.HwndSource_Shell.Close
'Writes the specified string to a text file.
Call aqfile.WriteToTextFile("C:\Users\2657\Desktop\Automated testing\Memory leak Silverado\MemoryOutput.csv", Sys.Process("Lokaldelen.Silverado.Client").CPUUsage + "," + Sys.Process("Lokaldelen.Silverado.Client").MemUsage + "\r\n", 21)
'End of the loop block
End Sub