on 08-04-2014 6:20 AM
Hello All,
I have a requirement where I need to get the Test case details from the Test plan.
I have test plan id from which I have to fetch Test package id and details and then Test Cases id, status and other details.
Is there any tables or FM or Class where I can get these details.
Thanks,
Bharat
Is there any standard report available where I can get these details??
Thanks,
Bharat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharat,
Testpackages to testplan:
CALL FUNCTION 'STREE_GET_FILTER'
EXPORTING
structure_id = lv_structure_id "testplan-id
TABLES
filter = lt_testpackages.
Testcases to testpackage:
CALL FUNCTION 'STREE_HIERARCHY_READ'
EXPORTING
structure_id = lv_plan
filter_id = lv_pack
read_also_texts = 'X'
TABLES
list_of_nodes = lt_list_of_nodes
list_of_references = lt_list_of_refs
list_of_texts = lt_list_of_texts.
Details of testcase:
CALL FUNCTION 'STAT_GET_VALUES_TW'
TABLES
id = lt_ids
status_values = lt_status.
If not sure how to use them, set breakpoints on the function module, call STWB_WORK and look how they are called .
Best regards,
Christoph
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.