Meyn.TestLink.TestLink.CreateTestPlan C# (CSharp) Method

CreateTestPlan() public method

create a new Testplan
public CreateTestPlan ( string testplanname, string testProjectName, string notes = "", bool active = true ) : GeneralResult
testplanname string the name of the plan
testProjectName string the name of the test project that contains the test plan
notes string
active bool whether this plan is currently active
return GeneralResult
        public GeneralResult CreateTestPlan(string testplanname, string testProjectName, string notes = "", bool active = true)
        {
            stateIsValid();
            object[] o = proxy.createTestPlan(devkey, testplanname, testProjectName, notes, active ? "1" : "0");
            handleErrorMessage(o);
            foreach (XmlRpcStruct data in o)
                return new GeneralResult(data);
            return null;
        }
        #endregion