How do I run a folder full of Service Test scripts from the command line
Question ID: 104639
1
0

I know how to execute ST tests from the command line, that’s in the help.
The problem is I need to point to a directory and run all the HP Service Test tests in that directory. does anyone have a batch file command that would do this. I am not very good with batch files.

Marked as spam
Posted by (Questions: 36, Answers: 3)
Asked on October 5, 2012 2:39 pm
167 views
Answers (1)
1
Private answer

This is a rough example of a command that you can use in a batch file to run all the Service Test Tests that are children of a parent folder.

> c:
>
> cd \ST_Try
>
> FOR /d %%d IN (`*.*`) DO ''C:\Program Files\HP\HP Service Test\bin\ServiceTestExecuter.exe'' -test %%d
>
>
>pause

Where c:\ST_Try is the parent folder.
Of course you would also want to direct the report to somewhere, you can get how to do that from the help.

Marked as spam
Posted by (Questions: 6, Answers: 167)
Answered on October 5, 2012 2:43 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top