示例#1
0
 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()
示例#2
0
 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()