def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.user_id = 10001476 self.tr_participant_ukid = 10001476 self.origin = '杭州' self.end = '浙江、安徽、上海' self.no = '3088' self.num = '3' self.weight = '0-10' self.type = '发货量' self.express = '韵达速递' self.unit_hour = '单' self.express_type = '标准快递' self.position = '江干区、下城区、上城区' self.start_time = '2020-12-23' self.end_time = '2025-12-23' self.driver = driver self.tr_card_locator = None self.tr_unit_locator = None self.tr_confirmation_contract_locator = None self.tr_line_locator = None self.tr_type_locator = None self.tr_no_locator = None self.tr_unit_one_locator = None self.tr_origin_locator = None self.tr_end_locator = None self.confirm_locator = None self.tr_line_num_locator = None self.all_ele = None try: self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise
def initial_element(self): try: self.is_loaded() self.page_factory() except NoSuchWindowException: initial_element_error_wrapper(self.driver) raise
def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.driver = driver try: self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise
def initial_element(self): try: self.is_loaded() self.page_factory() except Exception(): initial_element_error_wrapper(self.driver) raise pass
def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.driver = driver self.get_success_activation_locator = None try: self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise
def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.driver = driver self.click_forward_locator = None self.click_sure_choice_locator = None try: self.is_loaded() self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise
def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.driver = driver self.click_activation_depot_locator = None try: self.is_loaded() self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) assert False
def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.click_nav_more_locator = None self.click_nav_me_locator = None self.click_logout_locator = None self.driver = driver try: self.is_loaded() self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise
def __init__(self, driver): BasePage.__init__(self, driver, __file__) self.driver = driver self.click_add_address_locator = None self.input_nike_name_locator = None self.input_name_locator = None self.click_mobile_locator = None self.click_choice_locator = None self.click_save_locator = None try: self.is_loaded() self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise
def __init__(self, driver): self.user_name_locator = None self.password_locator = None self.login_button_locator = None self.more_button_locator = None self.personal_button_locator = None self.logout_button_locator = None BasePage.__init__(self, driver, __file__) self.driver = driver self.user_name_locator = None self.password_locator = None self.login_button_locator = None self.more_button_locator = None self.personal_button_locator = None self.logout_button_locator = None self.bound_locator = None try: self.initial_element() except ParseXmlErrorException: initial_element_error_wrapper(self.driver) raise