Meyn.TestLink.TestLink.CreateTestPlan C# (CSharp) 메소드

CreateTestPlan() 공개 메소드

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
리턴 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