1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.admin;
17
18 import org.junit.Test;
19
20
21
22
23
24 public abstract class AdminTmplMthdAftNavBlanketAppBase extends AdminTmplMthdAftNavCreateNewBase {
25
26 @Override
27 protected String getMenuLinkLocator() {
28 return AdminTmplMthdAftNavBase.ADMIN_LOCATOR;
29 }
30
31 @Override
32 protected String getCreateNewLinkLocator() {
33 return AdminTmplMthdAftNavBase.CREATE_NEW_LOCATOR;
34 }
35
36 protected String testBlanketApprove() throws Exception {
37 selectFrameIframePortlet();
38 waitAndCreateNew();
39 String docId = verifyDocInitiated();
40 assertBlanketApproveButtonsPresent();
41 createNewLookupDetails();
42 blanketApproveTest(docId);
43 return docId;
44 }
45
46 @Test
47 public void testBlanketAppBookmark() throws Exception {
48 testBlanketApprove();
49 passed();
50 }
51
52 @Test
53 public void testBlanketAppNav() throws Exception {
54 testBlanketApprove();
55 passed();
56 }
57 }