Forum Discussion

snie1's avatar
snie1
Contributor
7 years ago

How to run a specific test item with command line?

I always get error when run a specific test item with testcomplete 12, could you please help?

I had a reference from below pages already:

https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-run-a-specific-test-item-in-TestExecute/m-p/145715#M27005

http://support.smartbear.com/testexecute/docs/running/automating/command-line/command-line.html

 

My command:

/project:QSOO  /test:Item1 (Actually no items work, I have tried "test1" but also failed)

16 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    If you send /test: as argument you should use the full name of your test: /test: Script|RunQSOO|Main

     

    Otherwise use -  /projectitem: Item1

    • snie1's avatar
      snie1
      Contributor

      Thanks for your reply, but it doesn't work for me. :smileysad:

       

      I think mine is test item,  but not project item, so /projectitem:Item1 doesn't work for me at all.

       

      All I want is to run specific Test item with command line, seems there isn't a way for that....

       

      /test: Script|RunQSOO|Main, this is not what I want, as I don't want to specific a script unit