Beispiel #1
0
 def test_click_on_block(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...")
Beispiel #2
0
 def test_click_on_block(self):
     self.tests.pop()
     self.logger.info("test_click_on_block" + " " + "Total :" + " " +
                      str(self.total_tests) + " " + "Remaining :" + " " +
                      str(len(self.tests) - 1))
     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 ")
     self.logger.info("test_click_on_block is completed...")
Beispiel #3
0
 def test_click_on_block(self):
     self.tests.pop()
     self.logger.info("test_click_on_block" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     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)
     self.logger.info("test_click_on_block is completed...")
Beispiel #4
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 ")
Beispiel #5
0
 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)
 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):
     b = click_on_blocks(self.driver)
     res = b.test_blocks_button()
     self.assertNotEqual(0, res, msg="Records are not present on map ")