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

Re: Extracting list of Release Names available in QC 11.5.

$
0
0

Thank you Trudy.

 

And Srihari, thanks for detailed information.

 

Now I have got the complete picture, i am almost done with my coding. Here is my code, and now i face small issue:

 

'--------------------------------------------

Set folderFactory = QCConnection.ReleaseFolderFactory  'extracting list of release folders available in QC

Set relfol = folderFactory.NewList("")
'MsgBox (relfol.Count) 'no. of release folders
For Each Relfol1 In relfol
Set Relsfol2 = folderFactory.Item(Relfol1.ID) 'picked the release folder id

 

Set Releases = Relsfol2.ReleaseFactory
Set rel = Releases.NewList("")
'MsgBox (rel.Count)
For Each Rel1 In rel

MsgBox ("Release name: " & Rel1.Name) 'o/p: Every time same release name is displayed for different Release folder id.


Next


Next

 

'--------------------

Here in the above code, when i printed the Rel1.Name, everytime i am getting same name even if the Release folder is different.
Could you please let me know what is the mistake i have made here...

 

Thanks once again.


Viewing all articles
Browse latest Browse all 14708

Trending Articles



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