Hello All,
Scenario: To pull the test case information with the help of test ID from test plan and update the Type field of that test case.
I am facing "Method Item of Object IfactoryList failed" when trying to extract filtered data from test plan. PFB the VBA code
Set TestFact= TestTree.TestFactory
Set TestFilter=TestFact.Filter
TestFilter.Filter("TS_TEST_ID")=testID ' here I am trying to get the details of the test case by entering its test ID.
Set TestList = TestFiler.NewList
Set Test = TestList.Item(1). 'Error is thrown after this step.
I have even tried in the following ways.
Set TestList = TestFiler.NewList(TestFilter.Text)
Set Test = TestList.Item(1). 'Error is thrown after this step.
and
For each test In TestList
..
Next
In case of For Each Next, conrol didnot enter the loop.
Kindly help me in this.
I am using QC 11 ALM Patch level 07.
Thanks,
Tejo.