Contributions
Unit name in a variable
Hi, Is it possible to get the unit name in a variable? I know about the following: Sub Tester Dim Tests, TestItem, Test ' Obtains the project’s test items Set Tests = Project.TestItems ' Obtains the test item which is currently running Set TestItem = Tests.Current ' Obtains the test executed by the test item Set Test = TestItem.ElementToBeRun ' Posts the name of the executed test to the log Log.Message("The " & Test.Caption & " test is being executed.") End Sub but that requires you to run from the organize test area, which I am not doing. Is there another way to get the Unit name in a variable? Thanks, Ronald14KViews0likes1CommentTask manager and TestComplete 7
Hi, I am using Testcomplete 7 and am trying to start some of my tests with the built in taskmanager for WinXP. I am follwing the these (sample) instructions: "C:\ProgramFiles\AutomatedQA\TestComplete8\Bin\TestComplete.exe""C:\My Projects\MySuite.pjs" /r /p:MyProj from this article: http://support.smartbear.com/viewarticle/10998/ My problem is that it will open testcomplete, but does not select the project suite (it hangs). Is this an issue with Testcomplete 7 (the document mentions testcomplete8)? Or am I dealing with a different issue. Also, I tried this with Win7 as well and it will not even start Testcomplete. Hopefully someone has figured this out and can help me. Thanks, Ronald20KViews0likes2Comments