HP Quality Center (QC ALM version 11) Open Test Architecture - API expert needed:
I need 2 functions written using the HP Quality Center OTA API that would accomplish the following:
There is a template folder in the Test Lab module that contains 2 subfolders, each subfolder contains 3 test case sets. Each test case set contains a specific number of test case instances with the execution status of "No Run".
I need this template folder and all the contents copied into another folder under test plan tree and renamed - the name should be an argument that I can pass into this function externally. The function should then validate that the folder and all the contents has been created.
The function should return True if it was successfully executed and False if it failed.
I have a delimited text file generated daily that has folder path, test case name and execution status for each instance of the test case in those test case sets. The function should accept 5 arguments "folder name", "test case name", "status", "execution date" and "responsible_tester"
It should find the appropriate test case instance in the test case set and update the execution status from "No Run" to the "status" argument value. It should also update execution date using the date, provided in the argument, same with "responsible tester".
If all the items were successfully updated - it should return 1, if not - 0.
The following paths in the test planning tree are set:
Root\Daily Template - this is the folder that has 2 subfolders with test case sets. This entire folder needs to be copied to:
it will then be renamed into yyyymmdd name that I will pass into this function as an argument.
For example: 20130627
This folder has 2 subfolders
Each of those subfolders has 3 test case sets:
testcaseset1, testcaseset2, testcaseset3
Each set has a different number of test case instances.
this is the entry from a text file that stores daily execution status
testfolder1- testcaseset2 - Verify entry_date has current value - R1 - system-announcement-daily:PASS
I will parse it and pass values for testfolder, testcaseset and status into your function.
Your function needs to find the designated test case instance in the subfolder/set and update the status, execution date and responsible tester fields.
Please make sure those objects are NOT locked after function is executed.
I can not provide access to Quality Center.