示例#1
0
	def select_priority(self):
		priority = self.driver.find_element_by_xpath('/html/body/div[13]/div/div/div/div[2]/div[1]/div[1]/div/form/div[1]/div[2]/select')
		Service.select_random(priority)
示例#2
0
	def select_source(self):
		source_select = self.driver.find_element_by_xpath('/html/body/div[13]/div/div/form/div[1]/div[5]/div[1]/select')
		Service.select_random(source_select)
示例#3
0
	def select_new_status(self):
		new = self.driver.find_element_by_id('newStatus')
		Service.select_random(new)
示例#4
0
	def select_empn(self):
		emp = self.driver.find_element_by_xpath('//*[@id="empNameSelect2"]')
		Service.select_random(emp)
示例#5
0
	def select_status(self):
		status_select = self.driver.find_element_by_xpath('/html/body/div[13]/div/div/form/div[1]/div[2]/div[1]/select')
		Service.select_random(status_select)
示例#6
0
	def select_depart(self):
		depart = self.driver.find_element_by_xpath('//*[@id="deptSelect2"]')
		Service.select_random(depart)
示例#7
0
	def select_region(self):
		reg = self.driver.find_element_by_xpath('//*[@id="regionSelect2"]')
		Service.select_random(reg)
示例#8
0
	def select_department2(self):
		department_select = self.driver.find_element_by_xpath(
			'//*[@id="dpetSelect"]')
		Service.select_random(department_select)
示例#9
0
	def select_department(self):
		department_select = self.driver.find_element_by_xpath('/html/body/div[11]/div/div/form/div/div/div[2]/select')
		Service.select_random(department_select)
示例#10
0
	def select_region(self):
		region_select = self.driver.find_element_by_xpath('/html/body/div[11]/div/div/form/div/div/div[1]/select')
		Service.select_random(region_select)