Esempio n. 1
0
 def test_clusterbtn(self):
     b = cluster_button(self.driver)
     res1, res2 = b.test_clusterbtn()
     self.assertNotEqual(0, res1, msg="Records are not present on map ")
     self.assertTrue(res2,
                     msg='Cluster wise file downloading is not working ')
     print("cluster button is working ")
Esempio n. 2
0
 def test_clusterbtn(self):
     self.tests.pop()
     self.logger.info("test_clusterbtn" + " " + "Total :" + " " +
                      str(self.total_tests) + " " + "Remaining :" + " " +
                      str(len(self.tests) - 1))
     b = cluster_button(self.driver)
     self.assertNotEqual(0, b, msg="Records are not present on map ")
     print("checking with cluster button")
     self.logger.info("test_clusterbtn is completed...")
Esempio n. 3
0
    def test_click_on_block_cluster_school(self):
        b = click_on_blocks(self.driver)
        res1, res2 = b.test_blocks_button()
        self.assertNotEqual(0, res1, msg="Records are not present on map ")
        self.assertTrue(res2,
                        msg='Block wise file downloading is not working ')
        print("Block buttons is working...")

        b = cluster_button(self.driver)
        res1, res2 = b.test_clusterbtn()
        self.assertNotEqual(0, res1, msg="Records are not present on map ")
        self.assertTrue(res2,
                        msg='Cluster wise file downloading is not working ')
        print("cluster button is working ")

        b = click_schoolbutton(self.driver)
        res1, res2 = b.test_click_on_school_btn()
        self.assertNotEqual(0, res1, msg="Records are not present on map ")
        self.assertTrue(res2,
                        msg='School wise file downloading is not working ')
        print("school button is working ")
Esempio n. 4
0
 def test_clusterbtn(self):
     print("check with cluster button ")
     b = cluster_button(self.driver)
     self.assertNotEqual(0, b, msg="Records are not present on map ")
     self.data.page_loading(self.driver)
 def test_clusterbtn(self):
     b = cluster_button(self.driver)
     self.assertNotEqual(0, b, msg="Records are not present on map ")
     print("checking with cluster button")
 def test_clusterbtn(self):
     b = cluster_button(self.driver)
     self.assertNotEqual(0, b, msg="Records are not present on map ")