def test_download(self):
     b = download_icon(self.driver)
     res = b.test_donwload()
     if "school-infra-map" in self.driver.current_url:
         print("School infrastructure map based report present")
     else:
         print("School infra map report is not exist")
Beispiel #2
0
 def test_districtwise_download(self):
     b = download_icon(self.driver)
     res = b.test_donwload()
     if "school-infra-map" in self.driver.current_url:
         print("School infrastructure map based report present")
     else:
         print("School infra map report is not exist")
     self.assertTrue(res, msg='Districtwise file is not downloaded')
     b.remove_file()
Beispiel #3
0
 def test_download(self):
     self.tests.pop()
     self.logger.info("test_download" + " " + "Total :" + " " +
                      str(self.total_tests) + " " + "Remaining :" + " " +
                      str(len(self.tests) - 1))
     b = download_icon(self.driver)
     res = b.test_donwload()
     if "school-infra-map" in self.driver.current_url:
         print("School infrastructure map based report present")
     else:
         print("School infra map report is not exist")
     self.logger.info("test_download is completed...")
Beispiel #4
0
 def test_districtwise_download(self):
     b = download_icon(self.driver)
     res = b.test_donwload()
     self.assertEqual(0, res, msg="mismatch found at no of school values")
     self.data.page_loading(self.driver)
 def test_download(self):
     b = download_icon(self.driver)
     res = b.test_donwload()