Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

UI Script - How to find test case context when adding a result from the 3 pane Test Run view


#1

I am trying to create a ui script that, when an issue is pushed to JIRA, will allow me to automatically populate the labels field with a string which is taken from a custom field defined in the test case.

If a user tries to add a test result from the left-hand pane in the 3 pane run view, I am unable to find details of the test (and therefore I cannot access the test case details).

Is there any way that I can access the test context relevant to an ‘add result’ dialog that is on screen even though the current context is technically a ‘run’ context?