private void AddRandomAdHocColumns(AdHocColumn adHocColumn) { adHocColumn.AddColumn(RandomString(5), ColumnType.Text); adHocColumn.AddColumn(RandomString(5), ColumnType.Numeric); adHocColumn.AddColumn(RandomString(5), ColumnType.Text); adHocColumn.AddColumn(RandomString(5), ColumnType.Numeric); }
//public CreateMarksheet AddPredefinedStatutoryAssessment() //{ // Predefined.Click(); // PredefinedAssessment predefinedAspects = new PredefinedAssessment(); // predefinedAspects.SerachPredefinedStatutoryAspects(); // WaitUntillAjaxRequestCompleted(); // predefinedAspects.SelectPredefinedAspects(); // predefinedAspects.ClickDone(); // return this; //} public CreateMarksheet AddAdHoc() { AdHoc.Click(); AdHocColumn adHocColumn = new AdHocColumn(); AddRandomAdHocColumns(adHocColumn); adHocColumn.AddColumn_Done(); return(this); }
public CreateMarksheet AddAdHocWithAssessment() { AdHoc.Click(); AdHocColumn adHocColumn = new AdHocColumn(); AddRandomAdHocColumns(adHocColumn); adHocColumn.AdHoc_Column_LinkPeriod_Click(); PredefinedAssessment predefinedAssessment = new PredefinedAssessment(); predefinedAssessment.SelectHowOftenYouAccess(); predefinedAssessment.ClickDone(); return(this); }