Package teammates.testing.lib

Examples of teammates.testing.lib.BrowserInstance.logout()


      assertEquals(bi.getElementValue(bi.getSubmissionJustification(i)), String.format("Student Edit:: Justification from %s to %s.", student.email, student.team.students.get(i).email));
      assertEquals(bi.getElementValue(bi.getSubmissionComments(i)), String.format("Student Edit:: Comments from %s to %s.", student.email, student.team.students.get(i).email));
    }
    bi.waitAndClick(bi.studentEvaluationCancelButton);// [cancel]

    bi.logout();
    BrowserInstancePool.release(bi);
  }

  private void setStudent(Student student) {
    this.student = student;
View Full Code Here


        assertTrue(bi.studentGetFeedbackFromOthers(teammate.email, student.email));
      }
    }
   
   
    bi.logout();
    System.out.println("---------- studentViewEvaluationResults: " + student.name + " under test ----------" );
   
    BrowserInstancePool.release(bi);
  }
 
View Full Code Here

    bi.wdClick(bi.studentSubmitEvaluationButton);

    // Check to see evaluation status is "Submitted"
    assertEquals("SUBMITTED", bi.studentGetEvaluationStatus(scn.course.courseId, scn.evaluation.name));

    bi.logout();
    System.out.println("---------- StudentSubmitEvaluation: " + student.name + " under test ----------" );
       
    // Remember to release this instance once done
    BrowserInstancePool.release(bi);
  }
View Full Code Here

        assertTrue(bi.studentGetFeedbackFromOthers(teammate.email, student.email));
      }
    }
   
   
    bi.logout();
    System.out.println("---------- studentViewEvaluationResults: " + student.name + " under test ----------" );
   
    BrowserInstancePool.release(bi);
  }
 
View Full Code Here

    bi.wdClick(bi.studentSubmitEvaluationButton);

    // Check to see evaluation status is "Submitted"
    assertEquals("SUBMITTED", bi.studentGetEvaluationStatus(scn.course.courseId, scn.evaluation.name));

    bi.logout();
    System.out.println("---------- StudentSubmitEvaluation: " + student.name + " under test ----------" );
       
    // Remember to release this instance once done
    BrowserInstancePool.release(bi);
  }
View Full Code Here

      assertEquals(bi.getElementValue(bi.getSubmissionJustification(i)), String.format("Student Edit:: Justification from %s to %s.", student.email, student.team.students.get(i).email));
      assertEquals(bi.getElementValue(bi.getSubmissionComments(i)), String.format("Student Edit:: Comments from %s to %s.", student.email, student.team.students.get(i).email));
    }
    bi.waitAndClick(bi.studentEvaluationCancelButton);// [cancel]

    bi.logout();
    BrowserInstancePool.release(bi);
  }

  private void setStudent(Student student) {
    this.student = student;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.