def input_verifycode(self, verifycode): vfcode = UiUtil.find_element('login', 'vfcode') UiUtil.input(vfcode, verifycode)
def input_username(self, username): uname = UiUtil.find_element('login', 'uname') UiUtil.input(uname, username)
def input_password(self, password): pws = UiUtil.find_element('login', 'upass') UiUtil.input(pws, password)
def input_goodsname(self, goodsname): gname = UiUtil.find_element('store_query', 'gname') UiUtil.input(gname, goodsname)
def input_barcode(self, barcode): code = UiUtil.find_element('store_query', 'barcode') UiUtil.input(code, barcode)
def input_goodsSize(self, goodsserial): gsize = UiUtil.find_element('store_query', 'gserial') UiUtil.input(gsize, goodsserial)
def input_creditcloth(self, creditcloth): credcloth = self.driver.find_element_by_id('creditcloth') UiUtil.input(credcloth, creditcloth)
def input_creditkids(self, creditkids): credit = self.driver.find_element_by_id('creditkids') UiUtil.input(credit, creditkids)
def input_cusname(self, cusname): cname = self.driver.find_element_by_id('customername') UiUtil.input(cname, cusname)
def input_cusphone(self, customerphone): cphone = self.driver.find_element_by_id('customerphone') UiUtil.input(cphone, customerphone)