Esempio n. 1
0
 def test_logout(self):
     logout = Logout(self.driver)
     result = logout.click_on_logout()
     self.assertEqual("Log in to cQube",
                      result,
                      msg="login page is not exist!..")
     print("Logout Functionality is working")
     self.data.login_cqube(self.driver)
     self.data.navigate_to_student_report()
    def test_logout(self):
        self.tests.pop()
        self.logger.info("test_logout is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        logout = Logout(self.driver)
        result = logout.click_on_logout()
        self.assertEqual("cQube", result, msg="login page is not exist!..")
        self.data.login_cqube(self.driver)
        self.data.select_month_year(self.year, self.month)

        self.logger.info("test_logout is completed...")
    def test_logout(self):
        self.tests.pop()
        self.logger.info("test_logout is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        logout = Logout(self.driver)
        result = logout.click_on_logout()
        self.assertEqual("Log in to cQube", result, msg="login page is not exist!..")
        print("Logout Functionality is working")
        self.data.login_cqube(self.driver)
        self.data.navigate_to_student_report()
        self.logger.info("test_logout is completed...")
 def test_logout(self):
     logout = Logout(self.driver)
     result = logout.click_on_logout()
     self.assertEqual("cQube", result, msg="login page is not exist!..")
     self.data.login_cqube(self.driver)
     self.data.select_month_year(self.year, self.month)