def test_report(self):
     b = click_report(self.driver)
     res = b.test_infra()
     if "school-infrastructure" in self.driver.current_url:
         print("Shool infrastructure report page")
     else:
         print("School infrastructure report page is not exist")
Example #2
0
 def test_report(self):
     self.tests.pop()
     self.logger.info("test_report" + " " + "Total :" + " " +
                      str(self.total_tests) + " " + "Remaining :" + " " +
                      str(len(self.tests) - 1))
     b = click_report(self.driver)
     self.data.page_loading(self.driver)
     res = b.test_infra()
     if "school-infrastructure" in self.driver.current_url:
         print("Shool infrastructure report page")
     else:
         print("School infrastructure report page is not exist")
     self.data.page_loading(self.driver)
     self.logger.info("test_report is completed...")