Package teammates.testing.object

Examples of teammates.testing.object.Evaluation


    System.out.println("testEvaluationNameCaseSensitivity: evaluation name - insensitive");
   
    bi.gotoEvaluations();
   
    // evaluation 1
    Evaluation eval = Evaluation.createEvaluation(scn.course.courseId, EVALUATION_NAME_LOWER, "true", "Please please fill in the forth evaluation", 10);
    bi.addEvaluation(eval);
   
    bi.waitForElementText(bi.statusMessage, bi.MESSAGE_EVALUATION_ADDED);
    assertTrue(bi.isEvaluationPresent(scn.course.courseId, EVALUATION_NAME_LOWER));
   
View Full Code Here


   */
  public void testDuplicateEvaluation() {
    cout("TestCoordEvaluation: TestCreatingEvaluationPreviouslyNamed");
    gotoEvaluations();
   
    Evaluation eval = nsc.evaluation;
    clickEvaluationTab();
    // Select the course
    waitAndClick(inputCourseID);
    cout("click " + eval.courseID);
    selectDropdownByValue(By.id("courseid"), eval.courseID);   
View Full Code Here

   
   
    cout("testSystemCaseSensitivity: evaluation name - insensitive");
    clickEvaluationTab();
    //evaluation 1
    Evaluation eval = Evaluation.createEvaluation(COURSE_ID_LOWER, EVALUATION_NAME_LOWER, "true", "Please please fill in the forth evaluation", 10);
    addEvaluation(eval, 0);
    //EVALUATION 1
    eval = Evaluation.createEvaluation(COURSE_ID_LOWER, EVALUATION_NAME_UPPER, "true", "Please please fill in the forth evaluation", 10);
    addEvaluation(eval, 1);
    //verify evaluations: evaluation 1 == EVALUATION 1
View Full Code Here

    System.out.println("========== testCoordAddDuplicateEvaluationInDifferentCourseSuccessful ==========");
  }

  // TODO:
  public void testCoordAddEvaluationWithInvalidInputFailed() {
    Evaluation eval = scn2.evaluation;
    String invalidEvalName = "Evaluation =)";
   
    bi.gotoEvaluations();
    bi.addEvaluation(eval.courseID, invalidEvalName, eval.dateValue, eval.nextTimeValue, eval.p2pcomments, eval.instructions, eval.gracePeriod);
    bi.justWait();
View Full Code Here

    System.out.println("testEvaluationNameCaseSensitivity: evaluation name - insensitive");
   
    bi.gotoEvaluations();
   
    // evaluation 1
    Evaluation eval = Evaluation.createEvaluation(scn.course.courseId, EVALUATION_NAME_LOWER, "true", "Please please fill in the forth evaluation", 10);
    bi.addEvaluation(eval);
   
    bi.waitForElementText(bi.statusMessage, bi.MESSAGE_EVALUATION_ADDED);
    assertTrue(bi.isEvaluationPresent(scn.course.courseId, EVALUATION_NAME_LOWER));
   
View Full Code Here

   
   
    cout("testSystemCaseSensitivity: evaluation name - insensitive");
    clickEvaluationTab();
    //evaluation 1
    Evaluation eval = Evaluation.createEvaluation(COURSE_ID_LOWER, EVALUATION_NAME_LOWER, "true", "Please please fill in the forth evaluation", 10);
    addEvaluation(eval, 0);
    //EVALUATION 1
    eval = Evaluation.createEvaluation(COURSE_ID_LOWER, EVALUATION_NAME_UPPER, "true", "Please please fill in the forth evaluation", 10);
    addEvaluation(eval, 1);
    //verify evaluations: evaluation 1 == EVALUATION 1
View Full Code Here

   */
  public void testDuplicateEvaluation() {
    cout("TestCoordEvaluation: TestCreatingEvaluationPreviouslyNamed");
    gotoEvaluations();
   
    Evaluation eval = nsc.evaluation;
    clickEvaluationTab();
    // Select the course
    waitAndClick(inputCourseID);
    cout("click " + eval.courseID);
    selectDropdownByValue(By.id("courseid"), eval.courseID);   
View Full Code Here

TOP

Related Classes of teammates.testing.object.Evaluation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.