Forum Discussion

pjs's avatar
pjs
New Contributor
14 years ago

Batch file execution

Hello All,



1. I have a Project Suite as "First Test1.pjs"

2. I have a Project as "Project1"

4. I have a smaple Unit in Script as "Sample" with Subroutines

3. I have added a Test Item in the and  Project and made it Enabled. Added a Test from the avaliable list of subroutines to the Test Item.



Now when i created a batch file as Test.bat and the file content is

"C:\Test Automation\Sample Scripts\ProjectSuite1\First Test1.pjs" /r  / e



When i double click on the batch file the test complete is opening and the Project suite is loaded but it not running the Specified Test Item. what could be the reason?



I tried the same using schedule task, but it is loading fine but not running the Test.



I use windows XP and TC 8.20



Regards

PJS


  • pjs's avatar
    pjs
    New Contributor
    Hello



    I tried the below option and it worked.



    1. Load Test Complete seperately

    2. Then run the project suite.

    3. Exit Test complete after the execution is completed



    I used the commands As below



    "C:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe" "C:\Test Automation\Sample Scripts\ProjectSuite1\First Test1.pjs" /r /e