Run Unselected Test Cases via Command Line

Ask general questions here.
chowdhury_a
Posts: 5
Joined: Tue Mar 13, 2012 7:32 pm

Run Unselected Test Cases via Command Line

Post by chowdhury_a » Thu Dec 20, 2012 10:51 pm

Hello,

I have my .rxtst full of different Test Cases that I do not want all selected at different points of time, depending on my situation at my computer ... But when I deploy these tests out into my testing environments, I would like to run certain test cases via 'testcase' command-line parameter; but these tests are not being run without being selected.

Is there a way we can force-run these test-cases regardless of whether they are selected or not in the rxtst file?

Thanks,
Adnan

chowdhury_a
Posts: 5
Joined: Tue Mar 13, 2012 7:32 pm

Re: Run Unselected Test Cases via Command Line

Post by chowdhury_a » Wed Dec 26, 2012 4:34 pm

For the time being, we have created a separate configuration in the Test Suite file. Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Run Unselected Test Cases via Command Line

Post by Support Team » Thu Dec 27, 2012 12:05 pm

Hi,

This is the right way if you want to run more than one test case.
runconfig|rc:<configuration name>
Runs the test cases of the specified configuration defined by the rxtst file.
I suppose you want to run more than one test case, right?

If you just want to run one test case you could also use this one:
testcase|tc:<name or guid of test case>
Runs this test case only.
Regards,
Markus
.
Image