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 ")
Exemple #2
0
 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):
     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)
     time.sleep(5)