Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

require 'rubygems'
require 'selenium-webdriver'

require_relative "../../helpers/entry_form"

class PersonalContacts < EntryForm

FIRST_NAME = "input[name='firstName']"
LAST_NAME = "input[name='lastName']"
RELATIONSHIP = "select[name='relationship']"
PRIMARY_PHONE = "input[name='primaryPhone']"
PRIMARY_PHONE_TYPE = "select[name='primaryPhoneType']"
OTHER_PHONE_1 = "input[name='otherPhone1']"
OTHER_PHONE_TYPE_1 = "select[name='otherPhoneType1']"
OTHER_PHONE_1_DELETE = "button[name='deletePhone1']"
OTHER_PHONE_2 = "input[name='otherPhone2']"
OTHER_PHONE_TYPE_2 = "select[name='otherPhoneType2']"
OTHER_PHONE_2_DELETE = "button[name='deletePhone2']"
OTHER_PHONE_3 = "input[name='otherPhone3']"
OTHER_PHONE_TYPE_3 = "select[name='otherPhoneType3']"
OTHER_PHONE_3_DELETE = "button[name='deletePhone3']"
OTHER_PHONE_4 = "input[name='otherPhone4']"
OTHER_PHONE_TYPE_4 = "select[name='otherPhoneType4']"
OTHER_PHONE_4_DELETE = "button[name='deletePhone4']"
ADD_PHONE = "button[ng-click='addPhone()']"
EMAIL = "input[name='email']"
COUNTRY = "select[name='addressCountry']"
ADDRESS_LINE_1 = "input[name='addressLineOne']"
ADDRESS_LINE_2 = "input[name='addressLineTwo']"
CITY = "input[name='addressCity']"
STATE = "select[name='addressStateAbbreviation']"
STATE_PROVINCE = "input[name='addressStateProvince']"
ZIP_POSTAL_CODE = "input[name='addressZipPostalCode']"
NOTE = "textarea[name='note']"
NOTE_CHARACTER_COUNT = "span[ng-if='characterCounter']"
HEADER = "Personal Contacts"
ADD_HEADER = "Add Personal Contact"
EDIT_HEADER = "Edit Personal Contact"

def initialize(driver)
super(driver);
end

end