Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Common Reporting > Report Test Suites with Test Cases

Hi, i'm using Rational common Reporting and want to make a report with something that should be simple like this :


Test Suite Name -- Test Case Name -- Test Case Result

Suite #1 --- Case 1 -- Passed
Suite #1 -- Case 2 Not Run
Suite #1 --- Case 3 -- Failed
Suite #2 ----Case 12 ---Not Run


And so on. I used the data on the RCR but could not get the suites with the test cases together

0 votes



6 answers

Permanent link
Within the folder 'Operation Data Store' > 'Test Suite Area', there are two tables that would be of interest to you - 'Test Suite' and 'Test Suite Related Execution Work Items'.

Try using the following columns:

'Name' within the Test Suite table
'Test Case Name' within the Test Suite Related Execution Work Items table
'Current Result Verdict' within the Test Suite Related Execution Work Items

Hope that helps.

Rizwan

0 votes


Permanent link
Within the folder 'Operation Data Store' > 'Test Suite Area', there are two tables that would be of interest to you - 'Test Suite' and 'Test Suite Related Execution Work Items'.

Try using the following columns:

'Name' within the Test Suite table
'Test Case Name' within the Test Suite Related Execution Work Items table
'Current Result Verdict' within the Test Suite Related Execution Work Items

Hope that helps.

Rizwan


Hi Rizwan

Actually i tried this before and now again but it dosent seem to work for me. In my case if i put like you said :

Name (From T. Suite table) -- T. Case Name -- Current Result Veredict (from T.S. Related Ex. Work Item)

It only shows the Name from the Test Suite, but if i only put the last 2 columns (the ones from the Execution Work Item table) it shows the Test Cases and their results. but Cant get that together.

Does it worked for you?

0 votes


Permanent link
I have just tried the using a column from each table in Query Studio, to be sure that it works.

I did the following:
* Used the 'Name' column within the 'Test Suite' table
* Used the 'Test Case Name' within the 'Test Suite Related Execution Work Items' table

I did indeed see a table with rows returned. And the rows seemed to contain the correct data.

Just out of curiosity, which version are you using? I have installed RCR Version: 1.0.0.0 Build id: 20100310-0900 with RQM 2.0.1 IFix 4.

Rizwan

0 votes


Permanent link
I'm sorry , it did worked. But first i noticed that the Job RQMALL (ETL) was failing and that's why the results gone bad.

Now they show the Cases with the Suites. But it dosent say "Not Run", and it has appear a Test Suite that was deleted :S

0 votes


Permanent link
I was able to reproduce the same behaviour - a deleted Test Suite appeared in the report. I'll follow up with Rational to see if this is expected behaviour.

However, I have found that these issues are not present if you create your report using an alternative manner.

Within the 'Execution Work Item Area' folder:

* select the 'Test Case Name' column from the 'Execution Work Item' table
* select the 'Current Result Verdict' column from the 'Execution Work Item' table
* select the 'Name' column from the 'Execution Work Item Related Test Suites' table

Hope that works.

Rizwan

0 votes


Permanent link
I'm having the same issues.
Deleted items are being displayed!
Suites, Cases and results had been deleted by they show up in the rport!

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 31 '11, 5:16 p.m.

Question was seen: 4,592 times

Last updated: Jan 31 '11, 5:16 p.m.

Confirmation Cancel Confirm