def test_hyperlink(self):
     b = click_on_hyperlink(self.driver)
     res = b.test_link()
     if "school-infra-map" in self.driver.current_url:
         print("school infra map based report present")
     else:
         print("home icon is not working ")
Beispiel #2
0
 def test_hyperlink(self):
     b = click_on_hyperlink(self.driver)
     res = b.test_link()
     if "school-infra-map" in self.driver.current_url:
         print("School infrastructure map based report present")
     else:
         print("School infra map report is not exist")
     time.sleep(3)
Beispiel #3
0
 def test_hyperlink(self):
     self.tests.pop()
     self.logger.info("test_hyperlink" + " " + "Total :" + " " +
                      str(self.total_tests) + " " + "Remaining :" + " " +
                      str(len(self.tests) - 1))
     b = click_on_hyperlink(self.driver)
     res = b.test_link()
     if "school-infra-map" in self.driver.current_url:
         print("school infra map based report present")
     else:
         print("home icon is not working ")
     self.logger.info("test_hyperlink is completed...")