Retrieve values from Quality Center Test Lab and Defects tab using OTA


Getting the Number of Passed, Failed, No Run and Not Completed Test cases


We can make use of the Filter as given below to get the number of Test cases according to the status Passed, Failed, No Run, Not Completed,etc.

Getting the Number of Test cases executed by a tester in a specific test set


We can use the below code to get the count of test cases executed by a tester in a particular test set.

Getting the number of defects raised by a tester in a specific release according to severity


We need to apply multiple filters as we are using Tester name, Release Name and Defect Severity as the criteria.

Getting the number of defects in a specific release according to defect status


Here we need to apply the following criteria: Release Name, Defect status. If we want to be more specific , say, we need to find the same for a particular tester, then we can include tester name as a filter criteria.
The following code will give the output for number of defects raised in a specific release having the status “Closed” which were raised by tester1 and tester2.

Author

Divya Rajaraman

Leave a Reply

Your email address will not be published. Required fields are marked *