1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.test;
17
18
19 public final class TkTestConstants {
20 public static String BASE_URL = HtmlUnitUtil.getBaseURL();
21 public static String DOC_NEW_ELEMENT_ID_PREFIX = "document.newMaintainableObject.";
22 public static String EFFECTIVE_DATE_ERROR = "'Effective Date' must be a future date that is NOT more than a year away from current date.";
23
24 public static class Urls {
25 public static final String DEPT_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.department.Department&returnLocation="+
26 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
27 public static final String ASSIGNMENT_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.assignment.Assignment&returnLocation="+
28 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
29
30 public static final String ASSIGNMENT_ACCOUNT_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.assignment.AssignmentAccount&returnLocation="+
31 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
32
33 public static final String TIME_COLLECTION_RULE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.collection.rule.TimeCollectionRule&returnLocation="+
34 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
35
36 public static final String WORK_SCHEDULE_ENTRY_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.workschedule.WorkScheduleEntry&returnLocation="+
37 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
38
39 public static final String WORK_SCHEDULE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.workschedule.WorkSchedule&returnLocation="+
40 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
41
42 public static final String SHIFT_DIFFERENTIAL_RULE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.shiftdiff.rule.ShiftDifferentialRule&returnLocation="+
43 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
44
45 public static final String WEEKLY_OVERTIME_RULE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.overtime.weekly.rule.WeeklyOvertimeRule&returnLocation="+
46 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
47
48 public static final String EARN_CODE_SECURITY_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.earncodesec.EarnCodeSecurity&returnLocation="+
49 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
50
51 public static final String DAILY_OVERTIME_RULE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.overtime.daily.rule.DailyOvertimeRule&returnLocation="+
52 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
53
54 public static final String CLOCK_LOG_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.clocklog.ClockLog&returnLocation="+
55 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
56
57 public static final String DEPT_LUNCH_RULE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.dept.lunch.DeptLunchRule&returnLocation="+
58 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
59
60 public static final String ACCRUAL_CATEGORY_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.accrual.AccrualCategory&returnLocation="+
61 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
62
63 public static final String SAL_GROUP_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.salgroup.SalGroup&returnLocation="+
64 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
65
66 public static final String PRIN_HR_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.principal.PrincipalHRAttributes&returnLocation="+
67 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
68
69 public static final String DOC_HEADER_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.workflow.TimesheetDocumentHeader&returnLocation="+
70 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
71
72 public static final String EARN_CODE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.earncode.EarnCode&returnLocation="+
73 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
74
75 public static final String EARN_GROUP_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.earngroup.EarnGroup&returnLocation="+
76 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
77
78 public static final String JOB_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.job.Job&returnLocation="+
79 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
80
81 public static final String PAYTYPE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.paytype.PayType&returnLocation="+
82 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
83
84 public static final String HOLIDAY_CALENDAR_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.holidaycalendar.HolidayCalendar&returnLocation="+
85 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
86
87 public static final String TIME_OFF_ACCRUAL_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.accrual.TimeOffAccrual&returnLocation="+
88 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
89
90 public static final String WORK_AREA_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.workarea.WorkArea&returnLocation="+
91 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
92
93 public static final String TASK_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.task.Task&returnLocation="+
94 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
95
96 public static final String EMPLOYEE_OVERRIDE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.lm.employeeoverride.EmployeeOverride&returnLocation="+
97 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
98
99 public static final String LEAVE_ADJUSTMENT_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.lm.leaveadjustment.LeaveAdjustment&returnLocation="+
100 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
101
102 public static final String TIME_OFF_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.lm.timeoff.SystemScheduledTimeOff&returnLocation="+
103 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
104
105 public static final String LEAVE_CODE_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.lm.leavecode.LeaveCode&returnLocation="+
106 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
107
108 public static final String LEAVE_DONATION_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.lm.leavedonation.LeaveDonation&returnLocation="+
109 BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
110
111 public static final String PAY_CALENDAR_ENTRIES_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.calendar.CalendarEntries&methodToCall=start";
112
113 public static final String ASSIGNMENT_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.assignment.Assignment&methodToCall=start";
114
115 public static final String HOLIDAY_CALENDAR_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.holidaycalendar.HolidayCalendar&methodToCall=start";
116
117 public static final String WORK_AREA_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.workarea.WorkArea&methodToCall=start";
118
119 public static final String WEEKLY_OVERTIME_RULE_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.overtime.weekly.rule.WeeklyOvertimeRuleGroup&tkWeeklyOvertimeRuleGroupId=1&returnLocation=" + BASE_URL + "/portal.do&methodToCall=edit";
120
121 public static final String SHIFT_DIFFERENTIAL_RULE_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.shiftdiff.rule.ShiftDifferentialRule&methodToCall=start#topOfForm";
122
123 public static final String POSITION_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.position.Position&methodToCall=start";
124
125 public static final String POSITION_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.position.Position&returnLocation="+BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
126
127 public static final String PAY_GRADE_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.paygrade.PayGrade&methodToCall=start";
128
129 public static final String CALENDAR_MAINT_NEW_URL = BASE_URL + "/kr/maintenance.do?businessObjectClassName=org.kuali.hr.time.calendar.Calendar&methodToCall=start";
130
131 public static final String CALENDAR_MAINT_URL = BASE_URL + "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.hr.time.calendar.Calendar&returnLocation="+BASE_URL + "/portal.do&hideReturnLink=true&docFormKey=88888888";
132
133 public static final String PORTAL_URL = BASE_URL + "/portal.do";
134
135 public static final String DELETE_TIMESHEET_URL = BASE_URL + "/deleteTimesheet.do";
136
137 public static final String CLOCK_URL = BASE_URL + "/Clock.do";
138
139 public static final String TIME_DETAIL_URL = BASE_URL + "/TimeDetail.do";
140
141 public static final String PERSON_INFO_URL = BASE_URL + "/PersonInfo.do";
142
143 }
144
145 public static class FormElementTypes {
146 public static final String DROPDOWN = "dropDown";
147 public static final String CHECKBOX = "checkBox";
148 public static final String TEXTAREA = "textArea";
149 }
150
151 }