Exemple #1
0
 def ifloginok(self):
     return GetElement.getStr(self.driver,
                              CreatafilePage.creatafile_ele['ifcreat_ok'])
Exemple #2
0
 def click_attending_doctor(self):
     GetElement.Clickit(self.driver,
                        CreatafilePage.creatafile_ele['attending_doctor'])
Exemple #3
0
 def click_Creat(self):
     GetElement.Clickit(self.driver,
                        CreatafilePage.creatafile_ele['creat_file'])
Exemple #4
0
 def set_patient_name(self):
     GetElement.Inputit(self.driver,
                        CreatafilePage.creatafile_ele['patient_name'])
Exemple #5
0
 def set_cellphone_number(self):
     GetElement.Inputit(self.driver,
                        CreatafilePage.creatafile_ele['cellphone_number'])
Exemple #6
0
 def click_Patient_management(self):
     GetElement.Clickit(self.driver,
                        CreatafilePage.creatafile_ele['Patient_management'])
Exemple #7
0
 def set_Social_security_number(self):
     GetElement.Inputit(
         self.driver,
         CreatafilePage.creatafile_ele['Social_security_number'])
Exemple #8
0
 def ifloginonimput(self):
     return GetElement.getStr(self.driver,
                              LoginPage.login_ele['noimputerror'])
Exemple #9
0
 def ifloginok(self):
     return GetElement.isElementExist(
         self.driver, LoginPage.login_ele['main_interface']['leftspan'])
Exemple #10
0
 def click_login(self):
     GetElement.Clickit(self.driver, LoginPage.login_ele['button_login'])
Exemple #11
0
 def set_wrong_password(self):
     GetElement.Inputwrongit(self.driver, LoginPage.login_ele['input_pwd'])
Exemple #12
0
 def set_wrong_username(self):
     GetElement.Inputwrongit(self.driver, LoginPage.login_ele['input_name'])