예제 #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);
 }
예제 #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);
        }
예제 #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);
        }