def clickDecline(self): if self._clickById(self._cancelButtonId): from komodo.dragonweb.pages.logout import LogoutPage page = LogoutPage(self.browserDict) if page.verifyPage(): return page logger.info("ChangePasswordPage: clickDecline did not navigate correctly") return self._navigationReturn()
def clickDecline(self): ''' Clicks on the Decline button ''' from komodo.dragonweb.pages.logout import LogoutPage if self._clickById(self._declineButton): page = LogoutPage(self.browserDict) if page.verifyPage(): return page return self._navigationReturn()