mikev
13 years agoContributor
Probably Stupid question - Command-line confusion
I'm a little bit confused I suppose about the command-line as it relates to Test Items.
I have a Project Suite (Suite), a Project (AR), and I two Test items (Test1 & Test2) for the project.
Since I'm planning on running my tests via Jenkins, I needed to come up with a command-line script to run the tests.
I thought I could do something like this to run ALL tests in the Suite:
Code:
I thought I could do something like to to run ALL tests in a specific project:
Code:
I thought I could do this for an individual test:
Code:
And another individual test in the same project:
Code:
Well, when I ran the individual test script, BOTH tests were run, and that's not what I expected or want.
I've read the help, and based on that, I thought what I have would work, but it doesn't.
Oh, and as a side "problem", in the Tools->Options->Engines->Log I have deselected "Activate after test run",
but
when I run the above remotely using Test Execute, the results still are
displayed. I don't want results displayed automatically.
Pointers?
I have a Project Suite (Suite), a Project (AR), and I two Test items (Test1 & Test2) for the project.
Since I'm planning on running my tests via Jenkins, I needed to come up with a command-line script to run the tests.
I thought I could do something like this to run ALL tests in the Suite:
Code:
"C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\Suite.pjs" /r /e /SilentMode
I thought I could do something like to to run ALL tests in a specific project:
Code:
"C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\AR.mds" /r /e /SilentMode
I thought I could do this for an individual test:
Code:
"C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\AR.mds" /t:"Script|Test1" /r /e /SilentMode
And another individual test in the same project:
Code:
"C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\AR.mds" /t:"Script|Test2" /r /e /SilentMode
Well, when I ran the individual test script, BOTH tests were run, and that's not what I expected or want.
I've read the help, and based on that, I thought what I have would work, but it doesn't.
Oh, and as a side "problem", in the Tools->Options->Engines->Log I have deselected "Activate after test run",
but
when I run the above remotely using Test Execute, the results still are
displayed. I don't want results displayed automatically.
Pointers?