Address Helper Functions#
This section documents address helper functions used in the automation testing suite.
fillAddressFieldWithWait#
Deprecated since version 1.0: Use fillCityAllApproaches or other *AllApproaches functions instead.
- fillAddressFieldWithWait(page, fillFunction, value, waitTime)#
Fills an address field and applies a standard wait time
fillCity#
Deprecated since version 1.0: Use fillCityAllApproaches instead.
fillCityAllApproaches#
fillPrimaryAndMailingAddresses#
fillPrimaryAndMailingAddressesAllApproaches#
fillPrimaryAndMailingAddressesCITCorp#
- fillPrimaryAndMailingAddressesCITCorp(page, useMailingAddress, justRequired, mailingAddress, mailingAptNumber, mailingCityName, mailingStateName, mailingStreetName, mailingZipCode, primaryAptNumber, primaryCityName, primaryStateName, primaryStreetName, primaryZipCode)#
- Arguments:
page (Page)
useMailingAddress (boolean)
justRequired (boolean)
mailingAddress (MailingAddress)
mailingAptNumber (string)
mailingCityName (string)
mailingStateName (string)
mailingStreetName (string)
mailingZipCode (string)
primaryAptNumber (string)
primaryCityName (string)
primaryStateName (string)
primaryStreetName (string)
primaryZipCode (string)
- Returns:
Promise –
fillStateAllApproaches#
fillStreetName#
fillStreetNameAllApproaches#
- fillStreetNameAllApproaches(page, value, fallbackInputSelector, targetIndex, containerSelector)#
fillStreetNameAllApproaches
Tries multiple CIT approaches to fill the Street Name field. If all attempts fail, it falls back to using a provided fallback selector.
fillSuiteAllApproaches#
fillSuiteApt#
Deprecated since version 1.0: Use fillSuiteAllApproaches instead.
fillZip#
Deprecated since version 1.0: Use fillZipAllApproaches instead.
fillZipAllApproaches#
- fillZipAllApproaches(page, finalValue, fallbackInputSelector, container)#
fillZipAllApproaches
Attempts the CIT approach to fill a Zip Code field. If that fails, it falls back to a sequence (dblclick, fill intermediate, press Insert, fill final) using the provided fallback selector.
- Arguments:
- Returns:
Promise –