I am new to ALM and tried really hard to find an answer to the following questions in the forum. But I couldn't
find one and I got confused about the following. Can anyone can please help me out?
1. If I have to get the number of test cases for each execution status, which of the below queries should I use?
SELECT TC_STATUS, COUNT(TC_TEST_ID)
FROM TESTCYCL
GROUP BY TC_STATUS
SELECT RN_STATUS, COUNT(RN_RUN_ID)
FROM RUN
GROUP BY RN_STATUS
2. If I have to find how many times each test case was executed, which of the below queries should I use?
SELECT DISTINCT TC_TEST_ID, COUNT(TC_TEST_ID)
FROM TESTCYCL
GROUP BY TC_TEST_ID
SELECT RN_TEST_ID, COUNT(RN_RUN_ID)
FROM RUN
GROUP BY RN_TEST_ID
If none of the above queries make sense, can you please direct me to the right post that I may have missed?
Thanks in advance!