elements/addaddress.py
def fill_address_form(self, address):
        """
        Fill fields with data in Add Address form.

        :param address: object with parameters for fields.
        """
        self.change_text_field_data(self.firstname_field, address.first_name)
        self.change_text_field_data(self.lastname_field, address.last_name)
        self.change_text_field_data(self.company_field, address.company)
        self.change_text_field_data(self.address1_field, address.address_1)
        self.change_text_field_data(self.address2_field, address.address_2)
        self.change_text_field_data(self.city_field, address.city)
        self.change_text_field_data(self.postcode_field, address.post_code)
        self.change_drop_list_data(self.country_option, address.country)
        self.change_drop_list_data(self.region_option, address.region_state)

        Fill fields with data in Add Address form.

        :param address: object with parameters for fields.
        
Fill fields with data in Add Address form.
Fill fields with data in Add Address form .
def fill_address_form(self, address):
        self.change_text_field_data(self.firstname_field, address.first_name)
        self.change_text_field_data(self.lastname_field, address.last_name)
        self.change_text_field_data(self.company_field, address.company)
        self.change_text_field_data(self.address1_field, address.address_1)
        self.change_text_field_data(self.address2_field, address.address_2)
        self.change_text_field_data(self.city_field, address.city)
        self.change_text_field_data(self.postcode_field, address.post_code)
        self.change_drop_list_data(self.country_option, address.country)
        self.change_drop_list_data(self.region_option, address.region_state)
def fill_address_form ( self , address ) : self . change_text_field_data ( self . firstname_field , address . first_name ) self . change_text_field_data ( self . lastname_field , address . last_name ) self . change_text_field_data ( self . company_field , address . company ) self . change_text_field_data ( self . address1_field , address . address_1 ) self . change_text_field_data ( self . address2_field , address . address_2 ) self . change_text_field_data ( self . city_field , address . city ) self . change_text_field_data ( self . postcode_field , address . post_code ) self . change_drop_list_data ( self . country_option , address . country ) self . change_drop_list_data ( self . region_option , address . region_state )
Fill fields with data in Add Address form.
Fill fields with data in Add Address form .
"""
        Fill fields with data in Add Address form.

        :param address: object with parameters for fields.
        """
self
address
object with parameters for fields.
object with parameters for fields .