-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlocators.py
40 lines (38 loc) · 2.62 KB
/
locators.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# HTML elements
class mainPageLocators(): # consolare_cordoba locators
LOGIN_EMAIL_LOCATORS = "login-email" # By id
LOGIN_PASSWORD_LOCATORS = "login-password" # By id
LENGUAJE_BUTTON = '/html/body/header/nav[1]/div/div/a[3]' # By xpath
RESERVA_NAV = "advanced" # By id
RESERVA_BUTTON_PASSPORT = '/html/body/main/div[3]/div/table/tbody/tr[1]/td[4]/a/button' # By xpath //*[@id="dataTableServices"]/tbody/tr[1]/td[4]/a/button
RESERVA_BUTTON_LEGALIZATION = '/html/body/main/div[3]/div/table/tbody/tr[2]/td[4]/a/button' # By xpath //*[@id="dataTableServices"]/tbody/tr[2]/td[4]/a/button
RESERVA_BUTTON_CONSULAR_SERVICE = '/html/body/main/div[3]/div/table/tbody/tr[3]/td[4]/a/button' # By xpath //*[@id="dataTableServices"]/tbody/tr[3]/td[4]/a/button
RESERVA_BUTTON_CITIZENSHIP = '/html/body/main/div[3]/div/table/tbody/tr[4]/td[4]/a/button' # By xpath //*[@id="dataTableServices"]/tbody/tr[4]/td[4]/a/button
TYPE_OF_RESERVA = "typeofbookingddl" # By id
COMPLETE_ADDRES_PASSPORT = "DatiAddizionaliPrenotante_0___testo" # By id
COMPLETE_ADDRES_CITIZENSHIP = "DatiAddizionaliPrenotante_1___testo" # By id
MINOR_CHILDREN_PASSPORT = "ddls_1" # By id
CIVIL_STATE_PASSPORT = "ddls_2" # By id
CIVIL_STATE_CITIZENSHIP = "ddls_0" # By id
ITALIAN_PASSPORT = "ddls_3" # By id
NUMBER_CHILD_PASSPORT = "DatiAddizionaliPrenotante_4___testo" # By id
NUMBER_CHILD_CITIZENSHIP = "DatiAddizionaliPrenotante_2___testo" # By id
MESSAGE_LOCATORS = "BookingNotes" # By id
PRIVACY_CHECK = "PrivacyCheck" # By id
SUBMIT_LOCATORS = "submit" # By id
class consolare_moron(): # consolare_moron locators
RESERVA_BUTTON_CIVIL_STATE = '/html/body/main/div[3]/div/table/tbody/tr[1]/td[4]/a/button' # By xpath
RESERVA_BUTTON_CITIZENSHIP2 = '/html/body/main/div[3]/div/table/tbody/tr[2]/td[4]/a/button' # By xpath
RESERVA_BUTTON_PASSPORT2 = '/html/body/main/div[3]/div/table/tbody/tr[3]/td[4]/a/button' # By xpath
ITALIAN_PASSPORT_OWNER = "ddls_0" # By id
COMPLETE_ADDRESS_PASSPORT2 = "DatiAddizionaliPrenotante_1___testo" # By id
CIVIL_STATE_PASSPORT2 = "ddls_2" #By id}
FULL_NAME_CONYUGE = "DatiAddizionaliPrenotante_3___testo" # By id
TALL_IN_CM = "DatiAddizionaliPrenotante_4___testo" # By id
EYES_COLOR = "ddls_5" # By id
MINOR_CHILDREN_PASSPORT2 = "ddls_6" # By id
MINOR_CHILDREN_NUMBER2 = "DatiAddizionaliPrenotante_7___testo" # By id
FULL_NAME_MINOR_CHILDREN = "DatiAddizionaliPrenotante_8___testo" # By id
MESSAGE_LOCATORS2 = "BookingNotes" # By id
PRIVACY_CHECK2 = "PrivacyCheck" # By id
SUBMIT_LOCATORS2 = "submit" # By id