Package teammates.testing.object

Examples of teammates.testing.object.Student


    clickEvaluationViewResults(0);

    // click 'Edit' 1st student:
    clickReviewerSummaryEdit(0);
   
    Student s = sc.students.get(0);
   
    for (int i = 0; i < s.team.students.size(); i++) {
      setSubmissionPoint(i, "100");
    }
    
View Full Code Here


    // click submit:
    while(!getElementText(editEvaluationResultsStatusMessage).equals("Please fill in all the relevant fields."))
      waitAndClick(resultEditButton);
    //waitForElementText(editEvaluationResultsStatusMessage, "Please fill in all the relevant fields.");

    Student s = sc.students.get(0);
    // try 1: fill in estimated contribution only
    for (int i = 0; i < s.team.students.size(); i++) {
      setSubmissionPoint(i, "80");
    }
    waitAndClick(resultEditButton);
View Full Code Here

    // ..Edit a submitted evaluation record:
    System.out.println("testEditResultsByReviewer: Edit Reviewer Feedback");
    // click 'Edit' 1st student:
    clickReviewerSummaryEdit(0);

    Student s = sc.students.get(0);
    for (int i = 0; i < s.team.students.size(); i++) {
      // selenium.select("points" + i, "value=30");
      setSubmissionPoint(i, "30");
      setSubmissionJustification(i, String.format(
          "Edit:: Justification from %s to %s.", s.email,
View Full Code Here

  }

  public static String getStudentsString(List<Student> list) {
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < list.size(); i++) {
      Student s = list.get(i);
      sb.append(String.format("%s|%s|%s|", s.teamName, s.name, s.email));
      if (i != list.size() - 1) {
        sb.append("\n");
      }
    }
View Full Code Here

  @Test
  public void testEditFeedbacks() throws Exception {

    // student login
    Student s = sc.students.get(0);
    studentLogin(s.email, s.password);

    waitAndClickAndCheck(By.className("t_evaluations"), By.id("editEvaluation0"));

    // click [Edit] first evaluation (OPEN):
View Full Code Here

    bi.studentClickEvaluationViewResults(scn.course.courseId, scn.evaluation.name);
    bi.justWait();
   
    //comments order is random
    for(int i = 0; i < scn.students.size(); i++) {
      Student teammate = scn.students.get(i);
      if(teammate.teamName.equals(student.teamName) && !teammate.name.equals(student.name)){
        assertTrue(bi.studentGetFeedbackFromOthers(teammate.email, student.email));
      }
    }
   
View Full Code Here

  }
 
  @Test
  public void testStudentViewResultPoints() throws Exception {
    for(int i = 0; i < sc.students.size(); i++){
      Student s = sc.students.get(i);
      studentLogin(s.email, s.password);
      studentViewResultPoints(0, i);//first evaluation
      studentViewResultPoints(1, i);//second evaluation
      logout();
    }
View Full Code Here

    clickAndConfirm(By.className("t_eval_publish"));
  }
 
  public void testStudentViewResultPoints() throws Exception {
    for(int i = 0; i < sc.students.size(); i++){
      Student s = sc.students.get(i);
      studentLogin(s.email, s.password);
      studentViewResultPoints(0, i);//first evaluation
      studentViewResultPoints(1, i);//second evaluation
      logout();
    }
View Full Code Here

    waitAndClick(By.id("button_editevaluationresultsbyreviewee"));
    waitForElementText(By.id("coordinatorEditEvaluationResultsStatusMessage"),
        "Please fill in all the relevant fields.");

    // try 1: fill in estimated contribution only
    Student s = sc.students.get(0);
    for (int i = 0; i < s.team.students.size(); i++) {
      selectDropdownByValue(By.id("points" + i), "80");
      //selenium.select("points" + i, "value=80");
    }
    waitAndClick(By.id("button_editevaluationresultsbyreviewee"));
View Full Code Here

    waitAndClick(By.id("editEvaluationResults0"));

    // System.out.println("testEditResultsByReviewer: insert new feedbacks. what is "
    // + selenium.getCssCount(By.id("points0")));

    Student s = sc.students.get(0);
    for (int i = 0; i < s.team.students.size(); i++) {
      //selenium.select("points" + i, "value=30");
      selectDropdownByValue(By.id("points" + i), "30");
      wdFillString(By.name("justification" + i), String.format(
          "Edit:: Justification from %s to %s.", s.email,
View Full Code Here

TOP

Related Classes of teammates.testing.object.Student

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.