Example #1
0
 def Log_In_DFKM(self):
     '''从登陆界面进入税金科目配置'''
     global page, Data
     page = Subject_Config_JM(self.driver, self.base_url, '')
     Data = AllData()
     page.open()
     page.input_username(Data.name)
     page.input_password(Data.pwd)
     page.click_submit()
     self.driver.implicitly_wait(10)
     page.CWJC()
     page.Win_XF()
     page.Win_Split()
     page.Sbu_Config()
     page.switch_frame(Data.myframe)
Example #2
0
 def Log_In_DF_KMPZ(self):
     '''从登陆界面进入借方科目配置,2020,001,新增按钮'''
     global page, Data
     page = Subject_Config_JM(self.driver, self.base_url, '')
     Data = AllData()
     page.open()
     page.input_username(Data.name)
     page.input_password(Data.pwd)
     page.click_submit()
     self.driver.implicitly_wait(10)
     page.CWJC()
     page.Win_XF()
     page.Win_Split()
     page.Sbu_Config()
     page.switch_frame(Data.myframe)
     page.JF_select_2020()
     page.JF_select_YWDJMJ_A()
     page.JF_ZT_and_001()
     page.Add_Button_JF()
     page.switch_frame_default()
     page.switch_frame(Data.frame1)