Пример #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...")
Пример #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)
Пример #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...")
Пример #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)
Пример #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()