Need some help. I am attempting to create a workflow that will move Test Plan information into the Test Lab. I'm getting stuck on the creation of Testsets.
In the Test Plan, I have a tree structure and test cases as below.
---->Test Case 1
---->Test Case 2
---->Test Case a
---->Test Case b
In the Test Lab, I would like to create the folder structure so that the last folder in the Test Plan becomes the Test Set as below
-->Testset1 (i.e. TP Folder1.1)
-->Testset2 (i.e. TP Folder1.2)
both testsets have 2 test instances each.
The first Testset is created correctly, however I cannot seem to figure out how to create the second one. When I run the code below, I just get 'Testset1' with 4 test instances.
Anyone have any ideas? The OTA documentation is less than helpful.
If idx = UBound(subjectArray) Then
Set testSetF = newNode.TestSetFactory
Set testSetFilter = testSetF.Filter
testSetFilter.Filter("CY_FOLDER_ID") = NewNode.Nodeid
testSetFilter.Filter("CY_CYCLE") = TCName
Set TSList = testSetF.newList(testSetFilter.Text)
'Add Testset only if necessary
If TSList.Count = 0 Then
Set testSet1 = testSetF.AddItem(Null)
testSet1.Name = TCName
testSet1.Status = "Open"
'else get it
Set testSet1 = TSList.Item(1)
End If 'TSList
we do have any OTA related doucments and materials. Is their any location free trail version download
Are you sure the value of 'TCName' is different ?
@ Kishore -QC document set is available with the product, I recall the same was available as download from hp portal earlier also.
-- Here to Learn and share ---
View Tag Cloud