Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

Finding Folders and cycles from Releases section in ALM?

$
0
0

Hi, 

 

I have successfully retrived all the fields from Testsets and Defects sections by creating object in the following way. (By using C#)

 

TDConnection qcc = qccTDConnection;

BugFactory bf = (BugFactory)qcc.BugFactory;
List bugs = (List)bf.NewList(bf.Filter.Text);

 

foreach (TDAPIOLELib.Bug bg in bugs)
{
//store that value in to dataset

status = Convert.ToString(bg["BG_STATUS"]);
assignTo = bg.AssignedTo.ToString();
priority = Convert.ToString(bg["BG_PRIORITY"]); // PRIORITY VERY HIGH
}

 

This is fine ,But now i want to get the fields from Releses (cycles, folder... ). Here i tried like below but it couldnt work.

 

 

ReleaseFolderfactory rel = (Release)qcc.ReleaseFolderFactory;
List listRel = (List)rel.NewList(rel.Filter.Text);

foreach(TDAPIOLELib.Release rl in listRel)

{

string PlanStartDate = Convert.ToString(rl["RCYC_START_DATE"]);
string PlanEndDate = Convert.ToString(rl["RCYC_START_DATE"]);

 

}

 

Any one help me to solve this.. 

Thanks in advance.

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



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