def input_password(self, password): ps = self.driver.find_element_by_id("password") UiUtil.input(ps, password)
def input_verifycode(self, verifycode): vf = self.driver.find_element_by_id("verifycode") UiUtil.input(vf, verifycode)
def input_verifycode(self, verifycode): vfcode_element = UiUtil.find_elment('login', 'vfcode') UiUtil.input(vfcode_element, verifycode)
def input_username(self, username): name = self.driver.find_element_by_id("username") UiUtil.input(name, username)
def input_account(self, username): uname_element = UiUtil.find_elment('login', 'uname') UiUtil.input(uname_element, username)
def input_password(self, password): upass_element = UiUtil.find_elment('login', 'upass') UiUtil.input(upass_element, password)
def input_barcode(self, name): element = UiUtil.find_elment('save', 'bar') UiUtil.input(element, name) pass
def input_name(self, name): element = UiUtil.find_elment('save', 'name') UiUtil.input(element, name) pass
def input_hao(self, hao): element = UiUtil.find_elment('save', 'hao') UiUtil.input(element, hao)
def input_name(self, name): ele = self.driver.find_element_by_id("customername") UiUtil.input(ele, name)
def input_phone(self, phone): ele = self.driver.find_element_by_id("customerphone") UiUtil.input(ele, phone)