Ejemplo n.º 1
0
 def select_region(self):
     area = self.driver.find_element_by_css_selector(
         'div.col-lg-12:nth-child(8) > select:nth-child(1)')
     Service.select_random(area)
Ejemplo n.º 2
0
 def select_status(self):
     state = self.driver.find_element_by_name('last_status')
     Service.select_random(state)
Ejemplo n.º 3
0
 def select_source(self):
     source = self.driver.find_element_by_css_selector(
         'div.col-lg-12:nth-child(1) > select:nth-child(3)')
     Service.select_random(source)
Ejemplo n.º 4
0
 def select_common_source(self):
     source = self.driver.find_element_by_name('source')
     Service.select_random(source)
Ejemplo n.º 5
0
 def select_common_education(self):
     education = self.driver.find_element_by_name('education')
     Service.select_random(education)
Ejemplo n.º 6
0
 def select_new_status(self):
     status = self.driver.find_element_by_css_selector(
         '#addCus > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > select:nth-child(2)'
     )
     Service.select_random(status)
Ejemplo n.º 7
0
 def select_common_emp(self):
     emp = self.driver.find_element_by_name('empName')
     Service.select_random(emp)
Ejemplo n.º 8
0
 def resource_store(self):
     Resource_bank = self.driver.find_element_by_css_selector(
         'div.col-lg-12:nth-child(1) > select:nth-child(1)')
     Service.select_random(Resource_bank)
Ejemplo n.º 9
0
 def select_common_region(self):
     area = self.driver.find_element_by_name('region')
     Service.select_random(area)
Ejemplo n.º 10
0
 def select_turn_dept(self):
     dept = self.driver.find_element_by_id('deptSelect2')
     Service.select_random(dept)
Ejemplo n.º 11
0
 def select_turn_emp(self):
     emp = self.driver.find_element_by_id('empNameSelect2')
     Service.select_random(emp)
Ejemplo n.º 12
0
 def select_turn_region(self):
     area = self.driver.find_element_by_id('regionSelect2')
     Service.select_random(area)
Ejemplo n.º 13
0
 def select_dept(self):
     dept = self.driver.find_element_by_name('dept')
     Service.select_random(dept)
Ejemplo n.º 14
0
 def select_channel(self):
     ditch = self.driver.find_element_by_css_selector(
         '#addCus > div:nth-child(1) > div:nth-child(5) > div:nth-child(1) > select:nth-child(2)'
     )
     Service.select_random(ditch)
Ejemplo n.º 15
0
 def select_department(self):
     department = self.driver.find_element_by_css_selector(
         'div.col-lg-12:nth-child(8) > select:nth-child(2)')
     Service.select_random(department)
Ejemplo n.º 16
0
 def select_common_department(self):
     department = self.driver.find_element_by_name('dept')
     Service.select_random(department)
Ejemplo n.º 17
0
 def select_consultant(self):
     counselor = self.driver.find_element_by_css_selector(
         'div.col-lg-12:nth-child(8) > select:nth-child(3)')
     Service.select_random(counselor)
Ejemplo n.º 18
0
 def select_status(self):
     state = self.driver.find_element_by_css_selector(
         'div.col-lg-12:nth-child(1) > select:nth-child(2)')
     Service.select_random(state)