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