Highlighted
Absent Member.
Absent Member.
538 views

query: Test Case / Test Step with attachment

Pls, how can I write an sql query to find the Test Cases which have an attachment on a Test Step in the Test Plan.
Thanks in advance.

0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

Hi Mathias_Sch. You can use this query. You can add or remove fields as you see fit.

SELECT TS_TEST_ID, TS_NAME, DS_STEP_ORDER, DS_STEP_NAME, DS_DESCRIPTION
FROM TEST
INNER JOIN DESSTEPS ON TS_TEST_ID = DS_TEST_ID
WHERE DS_ATTACHMENT = 'Y'
ORDER BY TS_TEST_ID, DS_STEP_ORDER

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.