示例#1
0
 def clickCloseWithoutSaving(self):
     if self._clickById(self._closeWithoutSavingId):
         self._handleBrowserAlert()
         from komodo.dragonweb.pages.patientGroupList import PatientGroupListPage
         page = PatientGroupListPage(self.browserDict)
         if page.verifyPage(): return page
     return self._navigationReturn()
示例#2
0
 def clickClinicName(self, clinicObject):
     for _ in range(2):  #attempt this twice due to RTC 57501
         for index, value in self.clinicSearchDictionary.items():
             if value.ClinicName == clinicObject.name:
                 if self._clickByElement(value._nameLink):
                     from komodo.dragonweb.pages.patientGroupList import PatientGroupListPage
                     page = PatientGroupListPage(self.browserDict)
                     if page.verifyPage(): return page
     return self._navigationReturn()