예제 #1
0
 def get_address_link(self):
     locate_method, locate_exp = read_ini_file_option(
         conf_file_path, "126mail_homePage",
         "homePage.addressLink").split(">")
     address_link = find_element(self.driver, locate_method, locate_exp)
     return address_link
 def get_other_info(self):
     locate_method, locate_exp = read_ini_file_option(conf_file_path, "126mail_contactPersonPage", "contactPersonPage.otherinfo").split(">")
     other_info = find_element(self.driver, locate_method, locate_exp)
     return other_info
 def get_create_contact_person_button(self):
     locate_method, locate_exp = read_ini_file_option(conf_file_path, "126mail_contactPersonPage",
                                                      "contactPersonPage.createButton").split(">")
     create_contact_person_button = find_element(self.driver, locate_method, locate_exp)
     return  create_contact_person_button
 def get_phone(self):
     locate_method, locate_exp = read_ini_file_option(conf_file_path,  "126mail_contactPersonPage","contactPersonPage.phone").split(">")
     phone = find_element(self.driver, locate_method, locate_exp)
     return phone