Forum Discussion

itaykaldi's avatar
itaykaldi
Contributor
13 years ago

TestExecute - basic question

hey,

i have two computers. Computer1 with TestComplete 9, Computer2 with TestExecute.



1. In TestComplete i Create Groups in Test Items, how can i run a group via TestExecute?



2. Is there easy way to update TestExucete test when i add new test in TestComplete? 



10x.



6 Replies

  • 1. You should uncheck test items that you don't want to run in TestExecute, or use command line parameters.

    2. I think you should use the same project with both TC and TE, then you will not have to synchronize them.
  • I am not sure. The only thing that comes to my mind for now is running TestExecute several times with /Run and /Exit parameters and one project item specified.

  • Hi Itay,


     


    You can prepare your project by enabling/disabling test items needed to be executed and run the whole project from TestExecute's command line.


     


    BTW, refer to this thread - it contains an example of how to execute a group of test items from the command line.


     

  • Hey Tanya,



    i tried your js.

    but when i run it i got Object Expected error.

    how should i run it?



    10x.







  • Hi Itay,


     


    It looks like you are running the file from the TestComplete project. That's not correct. 


    You need to run the file from Windows Explore via Windows Script Host. Read this MSDN article for details.