Ask a Question

How do i hide a testcase from reports?

smakkerlak
Occasional Contributor

How do i hide a testcase from reports?

Due to the security used with my api (josso) i have created a testcase that gets user information and their necessary sessionid. I then use the Run TestCase teststep in my testcases and get user information from that. The testcase itself is disabled and is only run from other testcases.

 

My issue now is that the testcase shows up in reports, effectively doubling the reported amount of testcases which muddies results.

 

How do i remove the testcase from reports? I use the junit style reports if that could be relevant.

 

Equally interesting to me: is there a better solution? I'd like to stick to the GUI functionality to make it easier for others to maintain, but i cannot figure out if my "Bearer fixed_token.sessionId" header scheme can be supported along with getting user information from an excel sheet.

3 REPLIES 3
nmrao
Champion Level 2

@smakkerlak, this seemed to be a valid use case. Unfortunately, you can't remove it from report unless you customize it.

Would you mind showing the issue with a screen shot where the disabled test appears in the report?

By the way, you can consider adding it as feature request using below link.

https://community.smartbear.com/t5/ReadyAPI-Feature-Requests/idb-p/ReadyAPIFeatureRequests


Regards,
Rao.
smakkerlak
Occasional Contributor

It will be a few days until i can post a screenshot.

 

Meanwhile, i tried finding some more information about customizing reports, but it seems to be its own complexity. I have not learned how to use it yet, so can you recommend some reading material or just some ideas for approaching the problem, so i can search for the right things? The junit reports are great so all i need is to remove that one testcase.

smakkerlak
Occasional Contributor

Heres screenshots of the report and the testcases in a suite. It does seem odd that getPlayerAndSession is up top even if it is disabled. Excuse my masterful removal of information. 🙂

 

soapui report testcase.PNGsoapui report testcase2.PNG

cancel
Showing results for 
Search instead for 
Did you mean: