コード例 #1
0
 def test_click_on_student_attendence_report(self):
     sar = DahboardSar(self.driver)
     result = sar.click_on_sar()
     if "Student Attendance Infra_Table_Report" in self.driver.page_source:
         print("Navigating to Student Attendance Infra_Table_Report is working")
     else:
         print("Student_Attendance page does not exist!...")
 def test_click_on_student_attendence_report(self):
     sar = DahboardSar(self.driver)
     result = sar.click_on_sar()
     if "Student Attendance Report" in result:
         print("This is Student Attendance Report page")
     else:
         print("Student_Attendance page does not exist!...")
コード例 #3
0
 def test_click_on_student_attendence_report(self):
     sar = DahboardSar(self.driver)
     result = sar.click_on_sar()
     if "student-attendance" in result:
         print("Student Attendance Report is Working")
     else:
         raise self.failureException(
             "Student Attendance Report Is Not Working")