Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Issues with ALM OTA List Collection

$
0
0
In VBScript you are not allowed to cast the variable as a particular type when you declare it. That is why you get an error on the statement:
Dim testList as List

I think the problem is that you instantiated a Test Factory. That manages Tests from the Test Plan. But then you try to create a list of Tests using a filer that includes a field that is not part of a Test. Your filter is trying to use the TC_ASSIGN_RCYC field. That is not a field in the Test entity. That is a field in the Test Instance entity.

Are you trying to get a list of Tests from the Test Plan, or a list of Test Instances as seen in the Execution Grid in the Test Lab?

If you are trying to get a list of Test Instances, then you need to use the TSTestFactory instead of the TestFactory.


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>