class erp_product_model_page(): def __init__(self, driver): self.f = Findelement(driver) #获取产品成型完成按钮元素 def get_chengxing_wancheng(self): return self.f.get_element('chengxing_wancheng') #获取产品成型确认按钮元素 def get_queding(self): return self.f.get_element('queding')
class erp_product_baozhuang_page(): def __init__(self, driver): self.f = Findelement(driver) #获取完成按钮元素 def get_baozhuang_wangc_button(self): return self.f.get_element('baozhuang_wangc') #获取确认完成按钮 def get_queren_ruku_button(self): return self.f.get_element('queren_ruku')
class erp_search_page(): def __init__(self,driver): self.f=Findelement(driver) #获取搜索输入框 def get_sousuoshuru_text(self): return self.f.get_element('received_search_text') #获取搜索查询按钮元素 def get_sousuochaxun_button(self): return self.f.get_element('received_button')
class erp_chufangguanli_page(): def __init__(self, driver): self.f = Findelement(driver) # 获取处方管理界面查看更多button def get_chakangenduo_button(self): return self.f.get_element('cankangenduo') #获取处方管理-临床操作说明按钮 def get_chakan_linchaung_button(self): return self.f.get_element('lc_shuoming')
class erp_production_quality_page(): def __init__(self,driver): self.f=Findelement(driver) #获取包装按钮元素 def get_shengc_zhijian_button(self): return self.f.get_element('sc_zhijain_button') #获取包装质检按钮 def get_baozhuangzhijian_button(self): return self.f.get_element('baozhuang_button') #获取质检确认按钮 def get_zhijian_ok_button(self): return self.f.get_element('zhijian_ok')
class erp_fahuo_confirm_page(): def __init__(self, driver): self.f = Findelement(driver) #获取发货确认页面发货按钮 def get_fahuo_button(self): return self.f.get_element('fahuo') #获取可以发货按钮 def get_select_keyifahuo_button(self): return self.f.get_element('select_keyifahuo') #获取确认按钮 def get_fahuo_quren_button(self): return self.f.get_element('fahuo_quren')
class erp_moni_design_page(): def __init__(self, driver): self.f = Findelement(driver) #获取模拟排牙界面指派订单元素 def get_moni_zhipaidingdan_button(self): return self.f.get_element('m_zhipai') #获取指派订单确认按钮 def get_moni_zhipai_quren_button(self): return self.f.get_element('m_zhipaiqueren') #获取审核通过按钮元素 def get_moni_shehetongguo_button(self): return self.f.get_element('m_shehe')
class erp_design_quality_page(): def __init__(self, driver): self.f = Findelement(driver) #获取设计质检界面指派订单元素 def get_d_zj_zhipaidingdan_button(self): return self.f.get_element('sheji_zhipai') #获取指派订单确认按钮 def get_d_zj_zhipai_quren_button(self): return self.f.get_element('sheji_zhipaiqueren') #获取审核通过按钮元素 def get_d_zj_shehetongguo_button(self): return self.f.get_element('sheji_shehe')
class erp_sheji_genjin_page(): def __init__(self,driver): self.f=Findelement(driver) #获取设计跟进界面指派订单元素 def get_shejigenjin_fenpei_button(self): return self.f.get_element('fenpei_button') #获取设计跟进界面分配确认按钮元素 def get_shejigenjin_fenpei_queren_button(self): return self.f.get_element('fenpei_queren') #获取设计跟进界面处方button def get_shejigenjin_chufang_button(self): return self.f.get_element('chufang_button')
class erp_orderguanli_page(): def __init__(self,driver): self.f=Findelement(driver) # 获取设计按钮元素 def get_sheji_button(self): return self.f.get_element('sheji_button') #获取创建订单按钮元素 def get_chaungjian_order_button(self): return self.f.get_element('chaungjian_order') #获取生产按钮元素 def get_shengchang_button(self): return self.f.get_element('shengchang') # 获取点选订单 def get_click_dingdanbianhao(self): return self.f.get_element('click_dingdanbianhao') #获取选择供选择的订单按钮 def get_select_dingdanbianhao(self): return self.f.get_element('select_dingdanbianhao') #获取上颌开始步文本框 def get_up_start(self): return self.f.get_element('up_start') #获取上颌结束步文本框 def get_up_end(self): return self.f.get_element('up_end') #获取下颌开始步文本框 def get_lower_start(self): return self.f.get_element('lower_start') #获取下颌结束步文本框 def get_lower_end(self): return self.f.get_element('lower_end') #获取确认下单按钮元素 def get_queren_xiadan(self): return self.f.get_element('queren_xiadan')
class erp_Dataquality_page(): def __init__(self, driver): self.f = Findelement(driver) #获取质检按钮元素 def get_quality_button(self): return self.f.get_element('zhijian_button') #获取上传第一张元素 def get_upload_one_img(self): return self.f.get_element('upload_one_img') #获取上传第二张元素 def get_upload_two_img(self): return self.f.get_element('upload_two_img') #获取质检完成按钮元素 def get_upload_wangcheng_buttom(self): return self.f.get_element('click_zj_wanc')
class erp_model_print_page(): def __init__(self, driver): self.f = Findelement(driver) #获取完成按钮元素 def get_shengchan_wangcheng(self): return self.f.get_element('shengchan_ok') #获取打印机元素 def get_click_dayinji(self): return self.f.get_element('click_dayinji') #选择打印机元素 def get_select_dayinji(self): return self.f.get_element('select_dayinji') #获取打印完成按钮 def get_click_wancheng(self): return self.f.get_element('click_wancheng')
class login_Page(): def __init__(self,driver): self.find_element=Findelement(driver) #获取登录用户名框 def get_login_username(self): return self.find_element.get_element('username') #获取登录密码框 def get_login_password(self): return self.find_element.get_element('passwod') #获取登录点击登录按钮 def get_login_button(self): return self.find_element.get_element('buttom') #获取登录失败元素 def get_login_error(self): return self.find_element.get_element('login_error') #获取登录成功元素 # def get_login_success(self): # return self.find_element.get_element('login_success')
class erp_tishi_page(): def __init__(self,driver): self.f=Findelement(driver) #获取错误提示信息 def get_tishi_error(self): return self.f.get_element('tishi_error') # 获取正确提示信息 def get_tishi_success(self): return self.f.get_element('tishi_success') #获取资料质检界面档案质检是否合格元素 def get_zhiliaozhijian_hege(self): return self.f.get_element('zl_zj_hege') #获取模型扫描界面需求订单编号 def get_moxing_sm_RO(self): return self.f.get_element('moxing_sm_RO') # 获取模型扫描界面需求病例编号 def get_moxing_sm_caseno(self): return self.f.get_element('moxing_caseno') #获取设计跟进界面订单编号 def get_shejigenjin_dingdannum(self): return self.f.get_element('dingdan_num')
class demand_guanli_page(): def __init__(self, driver): self.f = Findelement(driver) #获取匹配按钮 def get_pipei_button(self): return self.f.get_element('xuqiu_pipei') #获取输入病例号文本 def get_xuqiu_pipei_case(self): return self.f.get_element('xuqiu_pipei_case') #获取关联档案 def get_xuqiu_pipei_danan(self): return self.f.get_element('xuqiu_piepi_danan') #获取确认匹配按钮 def get_xuqiu_queren_pipei_button(self): return self.f.get_element('xuqiu_pipei_button') #关闭匹配界面 def get_guanbi_button(self): return self.f.get_element('xuqiu_pipei_guanbi') #判断提示 def get_tishi(self): return self.f.get_element('tishi')
class erp_login_page(): def __init__(self, driver): self.f = Findelement(driver) #获取用户账号元素 def get_erp_accout(self): return self.f.get_element('erp_accout') #获取输入密码元素 def get_erp_password(self): return self.f.get_element('erp_password') #获取点击登录元素 def get_erp_login_button(self): return self.f.get_element('erp_login_button') #获取流程 def get_erp_liucheng(self): return self.f.get_element('erp_dao_hang') def get_erp_shohuoliebiao(self): return self.f.get_element('erp_received') def get_erp_xuqiuguanli(self): return self.f.get_element('demand_management')
class erp_moxing_sm_page(): def __init__(self,driver): self.f=Findelement(driver) #获取点击上传stl按钮 def get_shangchaung_button(self): return self.f.get_element('shangchaung') #获取上传上颌stl文件元素 def get_shangc_up_stl(self): return self.f.get_element('shang_stl') #获取上传下颌stl文件元素 def get_shangc_lower_stl(self): return self.f.get_element('xia_stl') #获取上传确认按钮元素 def get_shangc_stl_queren(self): return self.f.get_element('queren_button') #获取模型是扫描页面完成按钮 def get_moxing_sm_wangcheng_button(self): return self.f.get_element('moxing_sm_wanc')
class erp_fahuo_list_page(): def __init__(self, driver): self.f = Findelement(driver) #获取邮寄按钮元素 def get_youji_button(self): return self.f.get_element('youji') #获取快递单号输入框 def get_kaudidanhao_text(self): return self.f.get_element('kaudidanhao') #获取快递单号填写完成确认按钮 def get_kaudi_queren_button(self): return self.f.get_element('kaudi_queren') #获取确认按钮元素 def get_queren_button(self): return self.f.get_element('queren') #获取确认发货按钮元素 def get_qurenfahuo_button(self): return self.f.get_element('qurenfahuo')
class new_page(): def __init__(self, driver): self.p = Findelement(driver) def get_account(self): return self.p.get_element('doctor_account') def get_password(self): return self.p.get_element('doctor_password') def get_new_login_button(self): return self.p.get_element('doctor_button') def get_new_case_button(self): return self.p.get_element('new_case') def get_name_send(self): return self.p.get_element('patientName') def get_sex_click(self): return self.p.get_element('patientSex') def get_year_click(self): return self.p.get_element('birthdayYear') def get_mouth_click(self): return self.p.get_element('birthdayMonth') def get_day_click(self): return self.p.get_element('birthdayDate') def get_phoneNum_click(self): return self.p.get_element('patientTel') def get_hospotl_click(self): return self.p.get_element('hospital') #点击填写基本信息界面的下一步 def get_t_next_click(self): return self.p.get_element('t_button') def click_img1(self): return self.p.get_element('45Profile1') def click_img2(self): return self.p.get_element('FrontalRepose1') def click_img3(self): return self.p.get_element('FrontalSmile1') def click_img4(self): return self.p.get_element('Profile1') def click_img5(self): return self.p.get_element('Upper1') def click_img6(self): return self.p.get_element('Left1') def click_img7(self): return self.p.get_element('Lower1') def click_img8(self): return self.p.get_element('Anterior1') def click_img9(self): return self.p.get_element('Right1') def click_img10(self): return self.p.get_element('Cephalometric1') def click_img11(self): return self.p.get_element('Panoramic1') #点击上传照片界面的下一步 def clicl_s_button(self): return self.p.get_element('s_button') #勾选临床诊断情况 def click_lchuang_text_button(self): return self.p.get_element('lc_tape') #勾选治疗选择-患者类型 def click_huanze_tape(self): return self.p.get_element('ziliao_tape') #勾选治疗选择-产品类型 def click_chanpin_tape(self): return self.p.get_element('canpin_tape') #点击临床诊断下一步 def click_l_button(self): return self.p.get_element('l_button') #选择已邮寄模型 def click_shuzi_button(self): return self.p.get_element('shuzi_m_buttom') #数字模型 def click_s_m_button(self): return self.p.get_element('s_m_button') #上传上颌 def click_u_stl_button(self): return self.p.get_element('u_stl') #上传下颌 def click_l_stl_button(self): return self.p.get_element('l_stl') def click_m_button(self): return self.p.get_element('m_button') def click_t_bu_button(self): return self.p.get_element('t_bu_button') #获取病例详情按钮元素 def get_patient_details(self): return self.p.get_element('patient_details') #获取病例元素 def get_patient_number(self): return self.p.get_element('patient_number') #获取病例详情中的病例姓名 def get_patient_details_name(self): return self.p.get_element('patient_details_name') #获取病例姓名 def get_patinet_name(self): return self.p.get_element('patient_name')
class erp_liucheng_page(): def __init__(self, driver): self.f = Findelement(driver) #获取流程按钮 def get_liucheng_button(self): return self.f.get_element('erp_dao_hang') #获取收货列表 def get_souhuo_list_button(self): return self.f.get_element('erp_received') #获取需求管理 def get_xuqiuguanli_button(self): return self.f.get_element('demand_management') #获取模型扫描 def get_moxingsaomiao_button(self): return self.f.get_element('moxingsaomiao') #获取资料质检 def get_ziliaozhijian_button(self): return self.f.get_element('ziliaoguanli') #获取订单管理 def get_dingdanguanli_button(self): return self.f.get_element('dingdanguanli') #获取设计跟进 def get_shejigenjin_button(self): return self.f.get_element('shejigenjin') #获取数字建模 def get_shuozijianmo_button(self): return self.f.get_element('shuozijianmo') #获取模拟排牙 def get_monipaiya_button(self): return self.f.get_element('monipaiya') #获取设计质检 def get_shejizhijian_button(self): return self.f.get_element('shejizhijian') #获取生产调度 def get_shengchandiaodu_button(self): return self.f.get_element('shengchangdiaodu') #获取模型打印 def get_moxingdayin_button(self): return self.f.get_element('moxingdayin') #获取产品成型 def get_chanpinchengxing_button(self): return self.f.get_element('changpinchengxing') #获取成品包装 def get_chengpinbaozhuang_button(self): return self.f.get_element('chengpinbaozhuang') #获取发货确认 def get_fahuoqueren_button(self): return self.f.get_element('fahuoqueren') #获取发货列表 def get_fahuoliebiao_button(self): return self.f.get_element('fahuoliebiao') #获取病例查询 #获取医生列表 #获取生产设备 #获取质检按钮元素 def get_erp_zhiliang_button(self): return self.f.get_element('erp_zhijian') #获取生产质检按钮 def get_shengchangzhijian_button(self): return self.f.get_element('shengchangzhijian')
class NewcasePage(): def __init__(self, driver): self.find_element = Findelement(driver) #z找到医生账号输入框 def get_doctor_login_username(self): return self.find_element.get_element('Doctoruser') #z找到医生密码输入框 def get_doctor_login_password(self): return self.find_element.get_element('Doctorpassword') #z找到医生登录提交按钮输入框 def get_doctor_login_button(self): return self.find_element.get_element('Doctorbutton') #找到新建病例按钮 def get_doctor_newcase_button(self): return self.find_element.get_element('Doctorxinzeng') #找到患者姓名输入框 def get_Patient_name(self): return self.find_element.get_element('Patientname') #找到患者性别选择 def get_Patient_sex(self): return self.find_element.get_element('Patientsex') #找到患者生日 def get_Patient_bath(self): return self.find_element.get_element('Patientbrth') #找到患者手机输入栏位 def get_Patient_phone(self): return self.find_element.get_element('Patientphone') #找到登记资料下一步按钮 def get_Dj_next(self): return self.find_element.get_element('Patientnext') #找到正式通道元素 def get_Formal_load(self): return self.find_element.get_element('PatientZTD') #找到石膏模型按钮 def get_SG_model(self): return self.find_element.get_element('PatientSgMx') #找到快递单号输入框 def get_Kd_number(self): return self.find_element.get_element('KDnumber') #找到上传图片位置 def get_IMG1(self): return self.find_element.get_element('IMG1') def get_IMG2(self): return self.find_element.get_element('IMG2') def get_IMG3(self): return self.find_element.get_element('IMG3') def get_IMG4(self): return self.find_element.get_element('IMG4') def get_IMG5(self): return self.find_element.get_element('IMG5') def get_IMG6(self): return self.find_element.get_element('IMG6') def get_IMG7(self): return self.find_element.get_element('IMG7') def get_IMG8(self): return self.find_element.get_element('IMG8') def get_IMG9(self): return self.find_element.get_element('IMG9') def get_IMG10(self): return self.find_element.get_element('IMG10') def get_IMG11(self): return self.find_element.get_element('IMG11') #找到上传下一步按钮 def get_upload_picture_next(self): return self.find_element.get_element('Pationxiabu') #找到主诉输入框 def get_mian_Opinion_text(self): return self.find_element.get_element('Pationtext') #找到过敏史输入框 def get_GminS_Text(self): return self.find_element.get_element('Pationtext1') #找到治疗史输入框 def get_History_treatment_text(self): return self.find_element.get_element('Pationtext2') #找到治疗方案 def get_Treatment_plan_test(self): return self.find_element.get_element('Pationtext3') #找到临床处方意见界面下一步按钮 def get_lin_cuang_yijian_next(self): return self.find_element.get_element('Pationnext3') #找到提交病例按钮 def get_Case_submit(self): return self.find_element.get_element('Bltijiao')