Example #1
0
 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);
 }
Example #2
0
        //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);
        }
Example #3
0
        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);
        }