예제 #1
0
 def input_password(self, password):
     ps = self.driver.find_element_by_id("password")
     UiUtil.input(ps, password)
예제 #2
0
 def input_verifycode(self, verifycode):
     vf = self.driver.find_element_by_id("verifycode")
     UiUtil.input(vf, verifycode)
예제 #3
0
 def input_verifycode(self, verifycode):
     vfcode_element = UiUtil.find_elment('login', 'vfcode')
     UiUtil.input(vfcode_element, verifycode)
예제 #4
0
 def input_username(self, username):
     name = self.driver.find_element_by_id("username")
     UiUtil.input(name, username)
예제 #5
0
    def input_account(self, username):

        uname_element = UiUtil.find_elment('login', 'uname')
        UiUtil.input(uname_element, username)
예제 #6
0
 def input_password(self, password):
     upass_element = UiUtil.find_elment('login', 'upass')
     UiUtil.input(upass_element, password)
예제 #7
0
 def input_barcode(self, name):
     element = UiUtil.find_elment('save', 'bar')
     UiUtil.input(element, name)
     pass
예제 #8
0
 def input_name(self, name):
     element = UiUtil.find_elment('save', 'name')
     UiUtil.input(element, name)
     pass
예제 #9
0
 def input_hao(self, hao):
     element = UiUtil.find_elment('save', 'hao')
     UiUtil.input(element, hao)
예제 #10
0
 def input_name(self, name):
     ele = self.driver.find_element_by_id("customername")
     UiUtil.input(ele, name)
예제 #11
0
 def input_phone(self, phone):
     ele = self.driver.find_element_by_id("customerphone")
     UiUtil.input(ele, phone)