Exemplo n.º 1
0
 def test_schools_per_cluster_csv_download3(self):
     self.driver = self.data.get_driver_SR_Download3()
     self.data.open_cqube_appln(self.driver)
     self.data.login_cqube(self.driver)
     self.data.navigate_to_semester_report()
     schools = SchoolsPerClusterCsvDownload(self.driver)
     result = schools.check_csv_download3()
     self.assertEqual(0, result, msg="Some files are not downloaded")
     print("Schools per cluster csv download report is working")
     print("on selection of each district,block and cluster")
     print("The footer value of no of schools and no of students are")
     print("equals to downloaded file")
    def test_schools_per_cluster_csv_download3(self):
        self.driver = self.data.get_driver_SR_Download3()
        self.data.open_cqube_appln(self.driver)
        self.data.login_cqube(self.driver)
        self.data.navigate_to_semester_report()
        self.tests.pop()
        self.logger.info("test_schools_per_cluster_csv_download is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        schools = SchoolsPerClusterCsvDownload(self.driver)
        result = schools.check_csv_download3()
        self.assertEqual(0, result, msg="Some files are not downloaded")
        print("Schools per cluster csv download report is working")
        print("on selection of each district,block and cluster")
        print("The footer value of no of schools and no of students are")
        print("equals to downloaded file")
        self.logger.info("test_schools_per_cluster_csv_download is completed...")