def test_home_icon(self):
     home = Home(self.driver)
     home.click_on_blocks_click_on_home_icon()
     result = home.click_HomeButton()
     if "Student Attendance Report" in result:
         print("This is Student Attendance Report page")
     else:
         raise self.failureException('Home Icon is not working')
Example #2
0
 def test_home_icon(self):
     home = Home(self.driver)
     home.click_on_blocks_click_on_home_icon()
     result = home.click_HomeButton()
     if "student-attendance" in result:
         print("Home Icon is Working")
     else:
         raise self.failureException('Home Icon is not working')
Example #3
0
 def test_academic_dropdown_options(self):
     p = Home(self.driver)
     res = p.check_academic_dropdown_options()
     self.assertNotEqual(0, res, msg="Options are not present in dropdown")
     print('checked with academic years')
     self.data.page_loading(self.driver)
Example #4
0
 def test_academic_year_csv_file_download(self):
     p = Home(self.driver)
     res = p.download_yearwise_files_by_academic_year()
     self.assertEqual(0, res, msg="Academic file is not downloaded")
     print('checked with academic years')
     self.data.page_loading(self.driver)