Ejemplo n.º 1
0
 def test_donwload_options(self):
     self.tests.pop()
     self.logger.info("test_donwload_options" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     print("download report select box contais options or not")
     b =Hyperlink(self.driver)
     res = b.click_on_hyperlinks()
     self.logger.info("test_donwload_options is completed...")
Ejemplo n.º 2
0
 def test_check_hyperlinks(self):
     hyperlinks = Hyperlink(self.driver)
     result1, result2, choose_dist = hyperlinks.click_on_hyperlinks()
     if result1 == False and result2 == False and choose_dist == "Choose a District ":
         print("hyperlinks are working")
     else:
         raise self.failureException("hyperlinks are not working")
     self.data.page_loading(self.driver)
Ejemplo n.º 3
0
 def test_donwload_options(self):
     self.tests.pop()
     self.logger.info("test_donwload_options" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     b = Hyperlink(self.driver)
     res = b.click_on_hyperlinks()
     print("Download type select box is working ")
     self.data.page_loading(self.driver)
     self.logger.info("test_donwload_options is completed...")
Ejemplo n.º 4
0
 def test_check_hyperlinks(self):
     self.tests.pop()
     self.logger.info("test_check_hyperlinks" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     hyperlinks = Hyperlink(self.driver)
     result1, result2, choose_dist = hyperlinks.click_on_hyperlinks()
     if result1 == False and result2 == False and choose_dist == "Choose a District ":
         print("hyperlinks are working")
     else:
         raise self.failureException("hyperlinks are not working")
     self.data.page_loading(self.driver)
     self.logger.info("test_check_hyperlinks is completed...")
 def test_donwload_options(self):
     b = Hyperlink(self.driver)
     res = b.click_on_hyperlinks()
     print("Download type select box is working ")
     self.data.page_loading(self.driver)
Ejemplo n.º 6
0
 def test_donwload_options(self):
     b = Hyperlink(self.driver)
     res = b.click_on_hyperlinks()
 def test_donwload_options(self):
     print("download report select box contais options or not")
     b = Hyperlink(self.driver)
     res = b.click_on_hyperlinks()