ContributionsMost RecentMost LikesSolutionsRe: Over Night Test RunsPavel, Help Says, "It is possible to run tests on locked computers using network suites; locked computers being slave hosts. However, this approach requires that TestComplete is installed on both the locked computer and the computer that will initiate the test run." In my case I want all the systems to be locked state when the tests get triggered. So even if I use network suite, I would end up writing another batch to wakeup the master computer plus the fact that I work on a VPN with the test machines sitting in different geographical locations that I access using RDP normally. I tried to connect to the machines on VPN using network suite but had no success. Not sure If I missed out on something or the TestComplete's network suit does not support connections to VPN-ed systems. Thankyou Re: Real-time status for running test.To know anything during the test run, I think you ll have to use TestComplete Indication and have all the data that you would like to see pushed into the indicator. Please have a look into the help topic "Using TestComplete Indicator" Thankyou Re: Submacro to run from failed operationTry running your test items from command line one by one and get the results - 0,1,2,3. 3 means that the script had failed so all those that have resulted in a 3 you can pick up for the next run. You would have to do a sit of work to understand the batch scripting if you don't know that already. Re: DDT using Excel sheetIf i were you, I would not use DDT for the spread sheet. I would use COM instead. It ll take a little time for you to get used to and redo your scripts but once you are there you cant resist using it. Thankyou Re: Wait On IE To Load CompletelyYou can do this in many ways, Call Sys.WaitProcess("iexplore", 30000) '30 seconds as the time out Call Sys.WaitChild("iexplore", 30000) '30 seconds as the time out and many more approaches.... Thankyou Re: Over Night Test RunsAnswering myself: I used a batch script to unlock my machine automatically and rdp into the desired test environment. Scheduled to run the batch at the time of running the tests. Scheduled the testcomplete scripts batch on each test environment in sync with the rdp connection time. Let me know if there is a better approach. My batch file: (Runs fine of Win XP and Win Server 2003) @ECHO off REM Auto Login into my machine at the time of the nightly run schedule if the system is locked REM For the following line to work logon.exe utility should be present at the location REM logon.exe utility can be downloaded from http://www.softtreetech.com/24x7/archive/51.htm "D:\Automation utilities\logon.exe" -u username -p password REM RDP into TESTENV01 REM For the following line to work TESTENV01.rdp file should be present at the location REM TESTENV01.rdp can be created form mstsc.exe using the necessary setting like the username password etc and then > SaveAs START "" "D:\Automation utilities\TESTENV01.rdp" REM Delay the batch execution for 10 seconds to allow the RDP to connect PING 1.1.1.1 -n 10 >NUL :START REM Keep checking if RDP conection to TESTENV01 is closed by dumping the result of appropriate filter on TASKLIST into a text file and search for the text mstsc in it. TASKLIST /svc /FI "WINDOWTITLE eq TESTENV*" /FI "STATUS eq running" /FO csv >temp.txt TYPE temp.txt | FIND /i "mstsc" ECHO Error Level = %ERRORLEVEL% IF ERRORLEVEL 1 GOTO NOTRUNNING IF ERRORLEVEL 0 GOTO RUNNING :NOTRUNNING ECHO No active RDP connection(s) to TESTENV01 exist GOTO LOCKSYS :RUNNING ECHO Active RDP connection(s) to TESTENV01 exist REM If connection to mstsc is running wait for 3 seconds and resume checking PING 1.1.1.1 -n 10 >NUL ECHO Wait of 3 seconds finished. Starting the check again... GOTO START :LOCKSYS ECHO Deleting the temp files... DEL temp.txt ECHO About to lock the system.... rundll32.exe user32.dll, LockWorkStation Over Night Test RunsI want to be able to run my tests over night in multiple environments. For this purpose I have created a batch file to trigger the test run and scheduled it in each environment. Because I want to run on multiple environments I chose to RDP into each of them from my local machine (test development machine) one after another and get the runs finished. For this I scheduled all the RDP connections into each environment on my local machine. Now as I said in beginning, the intention is a over night run and I want to come and check the results in the morning. I know that TC does not interact with the GUI if the machine is locked and the suggestions that are given for this are either to RDP into the locked machine or to use virtual machine. What if the the machine that is attempting to RDP itself is locked? Obviously I cant keep my machine unlocked over night plus the companies security policies would not like that. What do I do now? - I want the over-night run with out any human intervention when all the machines are locked. (Overnight run in true sense). Re: record and replay the testscript using remote desktop or virtual machine?As far as my knowledge goes TC cant record the actions that we do inside an RDP or Virtual Machine with TC installed on the local. I assume for that to happen the browser should load stuff like Sys [__+ Process("mstsc") [__+ Child1 [__+Child2 [ ... [__+ Child n [__+ Sys [__+ Process("IExplore") Sys with in Sys - I am not sure if that ll work.. AQA guys should be able to answer it. Thankyou Re: Want to Write data into Excel fileI use COM to do this. Just Google for "COM + VBScript + Excel". Thankyou Re: Unable to find Object via winform custom controlsPhilip, I believe in this kind of scenarios, the pop up grid is rendered dynamically as a result of some action like editing a particular cell. In such cases I would suggest you to use name mappping to map the second grid with generic properties so that the grid id identification is not connected to a particular instance (Record time in your case). This way TC should be able to identify the second grid. Thankyou