import BaseContactFormPage from 'automation.client.ui/src/page_objects/web/contacts/create/base.contactForm.js'BaseContactFormPage
Extends:
BaseContactFormPage
Constructor Summary
| Public Constructor | ||
| public | 
       constructor(args: args)  | 
    |
Member Summary
| Public Members | ||
| public | 
      
       | 
    |
Method Summary
| Public Methods | ||
| public | 
       cancelButton(): *  | 
    |
| public | 
       async clickCancelButton() Click the cancel button  | 
    |
| public | 
       async clickSaveButton() Click the save button  | 
    |
| public | 
       async getNameFieldErrorText(): String Returns name field error text  | 
    |
| public | 
       async getNameFieldLimit(): Integer Get the name field limit via the HTML  | 
    |
| public | 
       async isFavoriteFieldSet(): Boolean Returns whether the favorite field in the modal is set  | 
    |
| public | 
      
       Checks to see if name field's error exclamation point is visible  | 
    |
| public | 
       async isSaveButtonEnabled(): Boolean Returns if saveButtonisEnabled  | 
    |
| public | 
       nameField(): *  | 
    |
| public | 
      
       | 
    |
| public | 
       nameFieldErrorText(): *  | 
    |
| public | 
       saveButton(): *  | 
    |
| public | 
       async setFavoriteField(favorite: Boolean) Sets favorite field in create contact modal  | 
    |
| public | 
       async setNameField(name: String) Set Name field in contact modal  | 
    |
Public Constructors
public constructor(args: args) source
Params:
| Name | Type | Attribute | Description | 
| args | args | Args from controller  | 
    
Public Methods
public async getNameFieldLimit(): Integer source
Get the name field limit via the HTML
Return:
| Integer | Value for namefield's "maxlength" attribute  | 
        
public async isFavoriteFieldSet(): Boolean source
Returns whether the favorite field in the modal is set
public async isNameFieldErrorExclamationVisible(): Boolean source
Checks to see if name field's error exclamation point is visible