Beispiel #1
0
 def test_logout(self):
     b = Logout_function(self.driver)
     res = b.test_logout()
     if "crc-report" in self.driver.current_url:
         print("Navigated back to crc report")
     else:
         print("CRC report is not loaded ")
 def test_logout(self):
     self.tests.pop()
     self.logger.info("test_logout" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     b = Logout_function(self.driver)
     res = b.test_logout()
     if "crc-report" in self.driver.current_url:
         print("Navigated back to crc report")
     else:
         print("CRC report is not loaded ")
     time.sleep(2)
     self.logger.info("test_logout is completed...")