Пример #1
0
 def test_click_on_student_attendence_report(self):
     sar = DahboardSar(self.driver)
     result = sar.click_on_sar()
     if "Student Attendance Report" in self.driver.page_source:
         print("Navigating to Student Attendance Report is working")
     else:
         print("SAR 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("SAR 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 Report" in result:
         print("Student Attendance Report is Working")
     else:
         raise self.failureException("Student Attendance Report Is Not Working")
 def test_click_on_student_attendence_report(self):
     self.tests.pop()
     self.logger.info("test_click_on_student_attendence_report is running"+" "+"Total :"+" "+ str(self.total_tests) +" "+"Remaining :"+" " + str(len(self.tests)-1))
     sar = DahboardSar(self.driver)
     result = sar.click_on_sar()
     if "Student Attendance Report" in result:
         print("Student Attendance Report is Working")
     else:
         raise self.failureException("Student Attendance Report Is Not Working")
     self.logger.info("test_click_on_student_attendence_report is completed...")
    def test_click_on_student_attendence_report(self):
        self.tests.pop()
        self.logger.info("test_click_on_student_attendence_report is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        sar = DahboardSar(self.driver)
        result = sar.click_on_sar()
        if "Student Attendance Report" in result:
            print("This is Student Attendance Report page")
        else:
            print("SAR page does not exist!...")

        self.logger.info("test_click_on_student_attendence_report is completed...")