def input_train_name(self, name):
     t_name = self.driver.find_element_by_name('cus.name')
     Service.send_input(t_name, name)
Example #2
0
 def input_stu_age(self,age):
     ele = self.driver.find_element_by_name('stu.age')
     Service.send_input(ele,age)
 def input_train_telephone(self, telephone):
     t_phone = self.driver.find_element_by_name('cus.tel')
     Service.send_input(t_phone, telephone)
Example #4
0
 def input_major(self,major):
     ele = self.driver.find_element_by_name('stu.major')
     Service.send_input(ele,major)
Example #5
0
 def input_id_number(self,id_number):
     ele = self.driver.find_element_by_name('stu.IDnumber')
     Service.send_input(ele,id_number)
Example #6
0
 def input_connect_tel(self,connect_tel):
     ele = self.driver.find_element_by_name('stu.emergency_tel')
     Service.send_input(ele,connect_tel)
Example #7
0
 def input_box_school(self,school):
     ele = self.driver.find_element_by_name('stu.school')
     Service.send_input(ele,school)
Example #8
0
 def input_box_stu_tel(self,stu_tel):
     ele = self.driver.find_element_by_name('stu.tel')
     Service.send_input(ele, stu_tel)
Example #9
0
 def input_connect_person(self,person):
     ele = self.driver.find_element_by_name('stu.emergency_person')
     Service.send_input(ele,person)
Example #10
0
 def input_stu_name(self,stu_name):
     ele = self.driver.find_element_by_name('stuName')
     Service.send_input(ele,stu_name)
Example #11
0
 def input_box_stu_name(self,name):
     ele = self.driver.find_element_by_name('stu.student_name')
     Service.send_input(ele, name)
 def input_comment(self, comment):
     ele = self.driver.find_element_by_css_selector(
         '#phaseExam-form > div:nth-child(3) > '
         'div:nth-child(3) > textarea')
     Service.send_input(ele, comment)
 def input_score(self, score):
     ele = self.driver.find_element_by_css_selector(
         '#phaseExam-form > div:nth-child(3) > div:nth-child(1) > input:nth-child(2)'
     )
     Service.send_input(ele, score)
 def input_username(self, username):
     u_name = self.driver.find_element_by_name('userName')
     Service.send_input(u_name, username)
 def input_checkcode(self, checkcode):
     u_code = self.driver.find_element_by_name("checkcode")
     Service.send_input(u_code, checkcode)
 def input_password(self, password):
     u_pass = self.driver.find_element_by_name('userPass')
     Service.send_input(u_pass, password)