Example #1
0
 def input_verifycode(self, verifycode):
     vfcode = UiUtil.find_element('login', 'vfcode')
     UiUtil.input(vfcode, verifycode)
Example #2
0
 def input_username(self, username):
     uname = UiUtil.find_element('login', 'uname')
     UiUtil.input(uname, username)
Example #3
0
 def input_password(self, password):
     pws = UiUtil.find_element('login', 'upass')
     UiUtil.input(pws, password)
Example #4
0
 def input_goodsname(self, goodsname):
     gname = UiUtil.find_element('store_query', 'gname')
     UiUtil.input(gname, goodsname)
Example #5
0
 def input_barcode(self, barcode):
     code = UiUtil.find_element('store_query', 'barcode')
     UiUtil.input(code, barcode)
Example #6
0
 def input_goodsSize(self, goodsserial):
     gsize = UiUtil.find_element('store_query', 'gserial')
     UiUtil.input(gsize, goodsserial)
Example #7
0
 def input_creditcloth(self, creditcloth):
     credcloth = self.driver.find_element_by_id('creditcloth')
     UiUtil.input(credcloth, creditcloth)
Example #8
0
 def input_creditkids(self, creditkids):
     credit = self.driver.find_element_by_id('creditkids')
     UiUtil.input(credit, creditkids)
Example #9
0
 def input_cusname(self, cusname):
     cname = self.driver.find_element_by_id('customername')
     UiUtil.input(cname, cusname)
Example #10
0
 def input_cusphone(self, customerphone):
     cphone = self.driver.find_element_by_id('customerphone')
     UiUtil.input(cphone, customerphone)