Dear customers,
Some samples about Component parameters queries. please do not forget to review the ALM Database reference (ALM Help menu > Documentation library > HP ALM Database Referece )for furhter details:
This returns the parameters for iteration:
SELECT a.ts_name, /*Test name*/
c.co_id, /*Comp id*/
c.co_name, /*Comp name*/
c.CO_STATUS, /*Comp status*/
bt.BPI_ID, /*Iteration id*/
bit.BPIP_VALUE ,/*Iter defultt value*/
fp.FP_NAME, /*Param name for the iteration*/
fp.fp_value, /*Param value*/
fp.FP_IS_OUT, /*If Param is Out ..*/
fp.FP_DESC /*Param desc*/
FROM test a, bptest_to_components b, component c, bp_iteration bt, bp_iter_param bit,
bp_param bp, framework_param fp
where a.ts_test_id =b.bc_bpt_id and b.bc_id = bt.bpi_bpc_id and bit.bpip_bpi_id = bt.bpi_id
and bp.bpp_id=bit.bpip_bpp_id and fp.fp_id=bp.bpp_param_id and b.bc_co_id = c.co_id
and a.ts_name='test' /* Business test name*/
This is for checking which components are associated to which business test:
SELECT a.ts_name,
c.co_id,
c.co_name,
c.CO_BPTA_COMPONENT_TYPE,
c.CO_STATUS
FROM test a,
BPTEST_TO_COMPONENTS b,
component c
where a.ts_test_id =b.bc_bpt_id
and b.bc_co_id = c.co_id
and a.ts_name=’test’
Cordially
↧
Component Parameters queries_
↧