Turning off Test Case Pass/Fail status

Ask general questions here.
tallahassee101
Posts: 169
Joined: Thu Jan 13, 2011 2:06 pm

Turning off Test Case Pass/Fail status

Post by tallahassee101 » Wed Apr 06, 2011 5:03 pm

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)?

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

Re: Turning off Test Case Pass/Fail status

Post by Support Team » Thu Apr 07, 2011 12:50 pm

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
.
Image