Forum Discussion

ssoapui's avatar
14 years ago

Test Automation -command line - skipping disabled test cases

Question
Here is the scenario
-SOAPUI-Project
->MyTestSuite
->TestCase1
->TestCase2
->TestCase3
->TestCase4 (disabled)

I’m running the test suite, MyTestSuite, from command line but need to skip TestCase4 since it is disabled. Is there a parameter/way to skip the disabled test case(s) from testrunner.bat?

C:/soapui/bin/testrunner.bat -ehttp://url// -sMyTestSuite -j -f $c:/soapui/reports -I <PROJECT_DIR>/soapui/multispeakv4-mr-soapui-project.xml

Reference link: http://www.soapui.org/Test-Automation/functional-tests.html

Thanks in advance.
  • Hi,

    soapUI testrunner by default skips the execution/call of disabled teststeps, atleast it works that way for my project.
    Just out of curiosity i want to know if this (execution of disabled test steps) happens when you execute test runner from soapUI tool itself?
    Like, by right clicking the testcase & launching testrunner.

    Thanks!
    ~~ Pradeep Bishnoi ~~
  • Finan's avatar
    Finan
    Frequent Contributor
    Pradeepbishnoi is right, disabled testCases are not executed when running a testSuite from commandline.