Page 1 of 1

Turning off Test Case Pass/Fail status

Posted: Wed Apr 06, 2011 5:03 pm
by tallahassee101
I have a hierarchy as follows

Code: Select all

MasterTestSuite
   SoftwarePackage
        TestA
        TestB
        TestC
        ......
        TestFinal
The SoftwarePackage test case is only there to provide a csv file to the child tests. I'd like to provide another csv with a different set of data to the child tests too, but I'm hesitant to add another parent test case to do so.
Here's why:

Currently if TestA or any other 1 child test fails, my report will show that 3 tests failed ( TestA, SoftwarePackage, and MasterTestSuite ) which is incorrect since SoftwarePackage and MasterTestSuite aren't actual tests. So my question is, can I change the settings somewhere to turn this feature off? I'd like SoftwarePackage and MasterTestSuite to NOT report a pass/fail state since they are only being used for data providing purposes.

Also is it possible to attach two csv data connectors to one test case? Or do they have to be nested as I am doing? Is there a way to attach a csv file at the TestSuite level (it only allows me to add Global Parameters)?

Re: Turning off Test Case Pass/Fail status

Posted: Thu Apr 07, 2011 12:50 pm
by Support Team
tallahassee101 wrote: So my question is, can I change the settings somewhere to turn this feature off?
tallahassee101 wrote:Also is it possible to attach two csv data connectors to one test case? Or do they have to be nested as I am doing?
Sorry, but such a feature is not available at the moment. You cannot change the state level of a test case. A test case can only have following states fail/success/blocked and this states cannot be changed at the moment. I understand your need. You want for example a folder, where you can add a connector or maybe multiple connectors and use them for the underlying modules/test case, but this folder shouldn't avoid the report result.
To have access to multiple data connectors on a module, you need intricate test cases.

I will add this as a feature request to our bug tracking system.

Regards,
Peter
Ranorex Team