For Programmers: Free Programming Magazines  


Home > Archive > Software Testing > May 2005 > How to add a new requirement with TestDirector API?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to add a new requirement with TestDirector API?
mewang

2005-05-16, 3:27 pm

Hi,

I'm trying to connect to TD 8 by using the API with C# .NET. I get one problem: I cannot add requirement. I get exception "the parameter is incorrect" at reqFactory.AddItem(null).

Here is my code:

tdc = (TDConnection) Session["TDConnect"];
ReqFactory reqFactory = (ReqFactory) tdc.ReqFactory;
Req req = (Req) reqFactory.AddItem(null);

Have I done something wrong?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com