question

amichaels avatar image
amichaels asked amichaels commented

How Do I Get "Identification Information" for a test case from within a test case?

On the general page of each test case is a section labeled "Identification Information". There are 3 fields: - Test case ID - Test case name - Namespace How can I get the value of these fields from a test case step? I tried the info command and the summarize step action to no avail. I do see that these values are present in the HTML (or XML) version of the test report, which indicates they're in the report DB. I'd rather not open a connection to the report DB to get this info.
iTesttest casecommand
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
drakesh avatar image
drakesh answered amichaels commented
By reading the testcase as xml file we can get these values. ![alt text][1] [1]: /storage/temp/4758-screenshot.jpg

screenshot.jpg (54.7 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amichaels avatar image amichaels ♦ commented ·
Thanks, drakesh! This is what we're doing, but I was hoping there was a more elegant way of handling it.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.