-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalConsts.java
77 lines (57 loc) · 3.82 KB
/
GlobalConsts.java
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package Config;
public class GlobalConsts {
//UTIL_PATHS
public static final String SCREENSHOT_PATH = System.getProperty("user.dir")+"/ScreenShots/";
public static final String PROPERTIES_PATH = "src/main/java/Config/GlobalData.properties";
public static final String EXTEND_REPORT_PATH = "Reports/report.html";
//DATA_PATHS
//BASIC
public static final String SIMPLE_FORM_DEMO_DATA_PATH = "src/test/java/TestData/BasicTestsData/SimpleFormDemoData.xlsx";
public static final String BOOSTRAP_ALERTS_DATA_PATH = "src/test/java/TestData/BasicTestsData/BoostrapAlertsData.xlsx";
public static final String BOOSTRAP_MODALS_DATA_PATH = "src/test/java/TestData/BasicTestsData/BoostrapModalsData.xlsx";
public static final String CHECKBOX_DEMO_DATA_PATH = "src/test/java/TestData/BasicTestsData/CheckboxDemoData.xlsx";
public static final String JAVASCRIPT_ALERTS_DATA_PATH = "src/test/java/TestData/BasicTestsData/JavaScriptAlertsData.xlsx";
public static final String RADIO_BUTTONS_DATA_PATH = "src/test/java/TestData/BasicTestsData/RadioButtonsData.xlsx";
public static final String SELECT_DROPDOWN_LIST_DEMO_DATA_PATH = "src/test/java/TestData/BasicTestsData/SelectDropdownListDemoData.xlsx";
public static final String WINDOWS_POPUP_DEMO_DATA_PATH = "src/test/java/TestData/BasicTestsData/WindowsPopupDemoData.xlsx";
//INTERMEDIATE
public static final String INPUT_FORM_WITH_VALIDATIONS_DATA_PATH = "src/test/java/TestData/IntermediateTestsData/AjaxFormSubmitData.xlsx";
public static final String AJAX_FORM_SUBMIT_DATA_PATH = "src/test/java/TestData/IntermediateTestsData/AjaxFormSubmitData.xlsx";
public static final String BOOSTRAP_LIST_BOX_DATA_PATH = "src/test/java/TestData/IntermediateTestsData/BoostrapListBoxData.xlsx";
//ADVANCED
public static final String DRAG_AND_DROP_DATA_PATH = "src/test/java/TestData/AdvancedTestsData/DragAndDropData.xlsx";
public static final String TABLE_DATA_SEARCH_DATA_PATH = "src/test/java/TestData/AdvancedTestsData/TableDataSearchData.xlsx";
//EXERCISES_LEVELS
public static final String BASIC= "basic_example";
public static final String INTERMEDIATE = "inter_example";
public static final String ADVANCED = "advanced_example";
//EXERCISES
//BASIC
public static final String SIMPLE_FORM = "Simple Form Demo";
public static final String BOOSTRAP_ALERTS = "Bootstrap Alerts";
public static final String BOOSTRAP_MODALS = "Bootstrap Modals";
public static final String CHECK_BOX = "Check Box Demo";
public static final String JAVASCRIPT_ALERTS = "Javascript Alerts";
public static final String RADIO_BUTTON = "Radio Buttons Demo";
public static final String SELECT_DROPDOWN_LIST = "Select Dropdown List";
public static final String WINDOWS_POPUP = "Window Popup Modal";
//INTERMEDIATE
public static final String INPUT_FORM_WITH_VALIDATIONS= "Input Form with Validations";
public static final String AJAX_FORM_SUBMIT= "Ajax Form Submit";
public static final String BOOSTRAP_LIST_BOX = "Bootstrap List Box";
//ADVANCED
public static final String DRAG_AND_DROP = "Drag and Drop";
public static final String TABLE_DATA_SEARCH = "Table Data Search";
//WAITS
public static final int PAGE_LOUD_TIME = 30;
public static final int EXPLICITE_TIME = 8;
//I_RETRY_ANALYZER
public static final int I_RETRY_ANALYZER_COUNT=1;
//BROWSER_CONFIG
public static final String START_MAXIMIZED = "--start-maximized";
public static final String DISABLE_INFOBARS = "--disable-infobars";
public static final String DISABLE_NOTIFICATIONS = "--disable-notifications";
public static final String REMOTE_ALLOW_ORIGINS = "--remote-allow-origins=*";
public static final String HEADLESS = "-headless";
public static final String DISABLE_EXTENSIONS = "--disable-extensions";
}