1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.travel;
17
18 import org.kuali.rice.testtools.common.JiraAwareFailable;
19 import org.kuali.rice.testtools.selenium.AutomatedFunctionalTestUtils;
20 import org.kuali.rice.testtools.selenium.WebDriverLegacyITBase;
21 import org.kuali.rice.testtools.selenium.WebDriverUtils;
22
23
24
25
26
27
28 public abstract class FiscalOfficerInfoMaintenanceAftBase extends WebDriverLegacyITBase {
29
30
31
32
33
34
35
36
37 public static final String BOOKMARK_URL = AutomatedFunctionalTestUtils.PORTAL
38 + "?channelTitle=FiscalOfficerInfo%20Maintenance%20(New)&channelUrl="
39 + WebDriverUtils.getBaseUrlString()
40 + "/kr-krad/maintenance?methodToCall=start&dataObjectClassName=edu.sampleu.travel.dto.FiscalOfficerInfo&returnLocation="
41 + AutomatedFunctionalTestUtils.PORTAL_URL + AutomatedFunctionalTestUtils.HIDE_RETURN_LINK;
42
43 @Override
44 protected String getBookmarkUrl() {
45 return BOOKMARK_URL;
46 }
47
48 protected void navigation() throws InterruptedException {
49 waitAndClickKRAD();
50 waitAndClickByXpath(FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH);
51 }
52
53 protected void testFiscalOfficerInfoMaintenanceNav(JiraAwareFailable failable) throws Exception {
54 navigation();
55 testFiscalOfficerInfoMaintenanceNew();
56 passed();
57 }
58
59 protected void testFiscalOfficerInfoMaintenanceBookmark(JiraAwareFailable failable) throws Exception {
60 testFiscalOfficerInfoMaintenanceNew();
61 passed();
62 }
63 }