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 ")
def test_click_on_block(self): b = click_on_blocks(self.driver) res = b.test_blocks_button() self.assertNotEqual(0, res, msg="Records are not present on map ") print("checking block button is working or not ")
def test_click_on_block(self): print("Clicking on blocks button ") b = click_on_blocks(self.driver) res = b.test_blocks_button() self.assertNotEqual(0, res, msg="Records are not present on map ") self.data.page_loading(self.driver)