Use UFT/QTP to read QC/ALM test results

  • Questions
  • Use UFT/QTP to read QC/ALM test results
Question ID: 105523
0
0

I want to use UFT to read and store the test results of another test that is in the same test set in ALM. I’m thinking that this would be done using QCUtil, but I’m not sure where to go from there. Any help would be great!

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on July 23, 2014 12:19 pm
18 views
Answers (2)
0
Private answer

Tell us more about exactly what you are trying to read and how you then want to store it?

Using the QCUtil object in UFT you can fully access the Open Test Architecture API for ALM. Do you have any experience with that? You would use the API to query the system to get information about the test you are interested in. Somehow you would have to identify that other test so that you could query for it. The exact code you would need depends on exactly what data you are trying to get. Are you trying to get summary information from the Test Instance? Are you trying to get summary information from a specific Run? Are you trying to get detailed step execution information?

Provide more information and we can provide a better answer.

Marked as spam
Posted by (Questions: 1, Answers: 101)
Answered on July 23, 2014 5:28 pm
0
Private answer

As tclasp said, we could use more details about what you are trying to get and what you are going to do with the information.

If you are simply trying to ensure that one test passes before another test runs, you could use the built in Execution Conditions in the ALM Test Lab Execution Flow tab.

![alt text][1]

[1]: /storage/temp/202-alm_test_results.png

Marked as spam
Posted by (Questions: 16, Answers: 748)
Answered on July 23, 2014 7:12 pm