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()
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()