def select_class2(self, driver, value):
     class2 = driver.find_element_by_id('ph_cl')
     Service.select_value(class2, value)
 def upload_class(self, driver, value):
     class1 = driver.find_element_by_xpath('//*[@id="import_cl"]')
     Service.select_value(class1, value)
 def upload_stage(self, driver, value):
     stage1 = driver.find_element_by_xpath('//*[@id="import_ph"]')
     Service.select_value(stage1, value)
 def select_area(self, driver, value):
     area = driver.find_element_by_css_selector(
         'select.sel-text:nth-child(1)')
     Service.select_value(area, value)
 def select_class(self, driver, value):
     cclass = driver.find_element_by_xpath(
         '/html/body/div[8]/div[2]/div/div/div/div[1]/select[2]')
     Service.select_value(cclass, value)
Ejemplo n.º 6
0
 def select_area(self, driver, value):
     area_ele = "/html/body/div[8]/div[2]/div/div/div/div[1]/select[1]"
     area = driver.find_element_by_xpath(area_ele)
     Service.select_value(area, value)
 def select_stage(self, driver, value):
     stage2 = driver.find_element_by_xpath('//*[@id="ph_phase"]')
     Service.select_value(stage2, value)
Ejemplo n.º 8
0
 def btn_upload_stage(self, driver, value):
     upload_stage_ele = "import_ph"
     upload_stage = driver.find_element_by_id(upload_stage_ele)
     Service.select_value(upload_stage, value)
Ejemplo n.º 9
0
 def btn_upload_week(self, driver, value):
     upload_week_ele = "import_we"
     upload_week = driver.find_element_by_id(upload_week_ele)
     Service.select_value(upload_week, value)
Ejemplo n.º 10
0
 def btn_upload_class(self, driver, value):
     upload_class_ele = "import_cl"
     upload_class = driver.find_element_by_id(upload_class_ele)
     Service.select_value(upload_class, value)
Ejemplo n.º 11
0
 def select_class(self, driver, value):
     # 选择班级名
     cname_ele = "/html/body/div[8]/div[2]/div/div/div/div[1]/select[2]"
     cname = driver.find_element_by_xpath(cname_ele)
     Service.select_value(cname, value)
Ejemplo n.º 12
0
 def record_entry_weeks(self, driver, value):
     record_entry_weeks = driver.find_element_by_id("we_week")
     Service.select_value(record_entry_weeks, value)
Ejemplo n.º 13
0
 def record_entry_stage(self, driver, value):
     record_entry_stage = driver.find_element_by_id("we_phase")
     Service.select_value(record_entry_stage, value)
Ejemplo n.º 14
0
 def record_entry_class(self, driver, value):
     record_entry_class = driver.find_element_by_id("we_cl")
     Service.select_value(record_entry_class, value)