Closed lczub closed 10 years ago
with TL 1.9.10, api method getTestCasesForTestSuite could return test cases keywords, if the new optional parameter getkeywords is True. (see #23)
getTestCasesForTestSuite
getkeywords
True
Example getTestCasesForTestSuite return value for a test case with two keywords:
[{'node_order': '0', 'is_open': '1', 'keywords': {'1': {'keyword_id': '1', 'notes': 'a key word', 'testcase_id': '8144', 'keyword': 'KeyWord01'}, '3': {'keyword_id': '3', 'notes': 'a third key word', 'testcase_id': '8144', 'keyword': 'KeyWord03'}}, 'id': '8144', 'node_type_id': '3', 'layout': '1', 'tc_external_id': '2', 'parent_id': '8134', 'version': '1', 'node_table': 'testcases', 'tcversion_id': '8145', 'name': 'TESTCASE_B', ....}{...}]
New service methods seems to be helpful, which list only the keywords a) for a special test case
['KeyWord01', 'KeyWord03']
b) for all test case for a test suite
{'TESTCASE_B' : ['KeyWord01', 'KeyWord03'], 'TESTCASE_BB' : []}
released with v0.5.0
with TL 1.9.10, api method
getTestCasesForTestSuite
could return test cases keywords, if the new optional parametergetkeywords
isTrue
. (see #23)Example
getTestCasesForTestSuite
return value for a test case with two keywords:New service methods seems to be helpful, which list only the keywords a) for a special test case
b) for all test case for a test suite