Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

SQL Query : For detailed results from Test to Test Runs

$
0
0

Hi,

 

I wrote the below query inorder to detail out the test results of a:

 

Test -> Test Set -> Test Instance-> Test Run for a specific release.

 

But when I execute it I get the error " The report does not contain all the records returned by the query as the number of records exceeds the maximum set by the site administrator".

 

I checked with my administrator - the The REPORT_QUERY_RECORDS_LIMIT is set to 65500.

 

So something needs to be optimised in my query? Can the experts please check & correct the mistakes in my query.

 

Thanks for your guidance.

 

Regards,

Bharath S

 

SELECT TEST.TS_TEST_ID as 'Test-Id',

TEST.TS_NAME as 'Test-Name',

TEST.TS_SUBJECT as 'Subject-Folder',

TEST.TS_EXEC_STATUS as 'Test-Exec-Status',

CYCLE.CY_CYCLE_ID as 'Test-Set-Id',

CYCLE.CY_CYCLE as 'Test-Set-Name',

TESTCYCL.TC_TESTCYCL_ID as 'Test-Instance-Id',

TESTCYCL.TC_STATUS as 'Test-Instance-Status',

TESTCYCL.TC_TEST_INSTANCE as 'Test-Instance-Number',

RUN.RN_RUN_ID as 'Run-Id',

RUN.RN_RUN_NAME as 'Run-Name',

RUN.RN_STATUS as 'Run-Status',

RUN.RN_TEST_INSTANCE as 'Run-Test-Instance',

RELEASE_CYCLES.RCYC_NAME as 'Cycle-Name',

RELEASES.REL_NAME as 'Release-Name'

 

FROM TEST, TESTCYCL, CYCLE, RUN, RELEASE_CYCLES, RELEASES

 

WHERE

 

(TEST.TS_TEST_ID=TESTCYCL.TC_TEST_ID AND

TESTCYCL.TC_CYCLE_ID=CYCLE.CY_CYCLE_ID AND

CYCLE.CY_CYCLE_ID =RUN.RN_CYCLE_ID AND

RUN.RN_ASSIGN_RCYC=RELEASE_CYCLES.RCYC_ID AND

RCYC_PARENT_ID=RELEASES.REL_ID AND

RELEASES.REL_ID=1095)

ORDER BY TEST.TS_TEST_ID

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>