Forum Discussion

kimmatsumoto's avatar
kimmatsumoto
Contributor
11 years ago

I want to use a batch file to execute 1 test item via TestExecute.

I want to use a batch file to execute 1 test item via TestExecute and I'm looking for help on how to do so.

Here's what my batch file looks like (not working):

"C:\Program Files (x86)\SmartBear\TestExecute 10\Bin\TestExecute.exe" "E:\Script Writing\Automation\CBB\Entrance\Entrance_Suite\Entrance_Suite.pjs" /r/p:Entrance_Suite/u:E_Profiles/rt:TTP_18857_Profiles /e /SilentMode

 

This is an image of the project:

TE.png 

 

Regards,

Kim

4 Replies

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3

    One thing I see is that your batch file example has 

    E:\Script Writing\Automation\CBB\Entrance\Entrance_Suite\Entrance_Suite.pjs

     

    but the screenshot shows

    C:\Script Writing\Automation\CBB\Entrance\Entrance_Suite\Entrance_Suite.pjs

     

     

     

    here's the format for the whole file:

    http://support.smartbear.com/viewarticle/54705/

     

  • m_essaid's avatar
    m_essaid
    Valued Contributor

    hi,

     

    until you know that your test is working, remove the "/SilentMode" parameter.

    because this will show you why the test didn't worked.

    after the test is ok put it to avoid windows that you don't want in execution.