def input_train_name(self, name):
     t_name = self.driver.find_element_by_name('cus.name')
     Service.send_input(t_name, name)
Esempio n. 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)
Esempio n. 4
0
 def input_major(self,major):
     ele = self.driver.find_element_by_name('stu.major')
     Service.send_input(ele,major)
Esempio n. 5
0
 def input_id_number(self,id_number):
     ele = self.driver.find_element_by_name('stu.IDnumber')
     Service.send_input(ele,id_number)
Esempio n. 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)
Esempio n. 7
0
 def input_box_school(self,school):
     ele = self.driver.find_element_by_name('stu.school')
     Service.send_input(ele,school)
Esempio n. 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)
Esempio n. 9
0
 def input_connect_person(self,person):
     ele = self.driver.find_element_by_name('stu.emergency_person')
     Service.send_input(ele,person)
Esempio n. 10
0
 def input_stu_name(self,stu_name):
     ele = self.driver.find_element_by_name('stuName')
     Service.send_input(ele,stu_name)
Esempio n. 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)
Esempio n. 14
0
 def input_username(self, username):
     u_name = self.driver.find_element_by_name('userName')
     Service.send_input(u_name, username)
Esempio n. 15
0
 def input_checkcode(self, checkcode):
     u_code = self.driver.find_element_by_name("checkcode")
     Service.send_input(u_code, checkcode)
Esempio n. 16
0
 def input_password(self, password):
     u_pass = self.driver.find_element_by_name('userPass')
     Service.send_input(u_pass, password)