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")
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()
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...")
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()