Page 1 of 1

I have two Test Suites in my Ranorex Project, How can I run the second Test Suite using Command Line

Posted: Tue Dec 10, 2019 9:28 am
by premravi
Hi,

I have two Test Suites in my Ranorex Project,

I am trying to run the second Test Suite using Command Line or from the folder structure

But always it will pick up the tests from the first Test Suite

Please help me to understand where I am going wrong

Regards

Re: I have two Test Suites in my Ranorex Project, How can I run the second Test Suite using Command Line

Posted: Tue Dec 10, 2019 9:51 am
by odklizec
Hi,

Have you used /TestSuite: parameter in command line? Check User Guide for more details:
https://www.ranorex.com/help/latest/ran ... execution/

Re: I have two Test Suites in my Ranorex Project, How can I run the second Test Suite using Command Line

Posted: Tue Dec 10, 2019 3:32 pm
by premravi
Hi,

No, I have not used testSuite parameter in command line

What is the syntax for that

Please let me know

Regards

Re: I have two Test Suites in my Ranorex Project, How can I run the second Test Suite using Command Line

Posted: Tue Dec 10, 2019 3:34 pm
by odklizec
Hi,

Simply use the parameter mentioned in my post /TestSuite:tsname
For more details, check the user guide (link in my previous post).

Re: I have two Test Suites in my Ranorex Project, How can I run the second Test Suite using Command Line

Posted: Fri Dec 13, 2019 3:45 pm
by premravi
Hi

Moving forward now if I want to run any specific Test Case inside that Test Suite, then what will be the command

I tried this by referring the Ranorex guide

Fusion.exe /ts:iPortTestSuite.rxtst /tc:TestCaseName

Throwing the error as mentioned in the attached screenshot

Please let me know for more details

Regards

Re: I have two Test Suites in my Ranorex Project, How can I run the second Test Suite using Command Line

Posted: Fri Dec 13, 2019 5:40 pm
by odklizec
Hi,

The command line you used, looks OK. However, are you sure that the test case you trying to start, is not dependent on another test case from the test suite?

Have you tried to manually start that particular Test Case from Ranorex Studio?