1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.admin.test;
17
18 import edu.samplu.common.AdminMenuBlanketAppITBase;
19 import edu.samplu.common.AdminMenuITBase;
20 import edu.samplu.common.ITUtil;
21
22
23
24
25
26
27 public class IdentityPermissionBlanketAppIT extends AdminMenuBlanketAppITBase {
28
29 @Override
30 protected String getLinkLocator() {
31 return "link=Permission";
32 }
33
34 @Override
35 public String blanketApprove() throws Exception {
36 String docId = waitForDocId();
37 waitAndType("//input[@name='document.documentHeader.documentDescription']", "Validation Test Permission");
38 waitAndType("//input[@name='document.documentHeader.organizationDocumentNumber']", "10012");
39 select("//select[@name='document.newMaintainableObject.namespaceCode']", AdminMenuITBase.LABEL_KUALI_KUALI_SYSTEMS);
40 select("//select[@name='document.newMaintainableObject.templateId']", AdminMenuITBase.LABEL_KUALI_DEFAULT);
41 waitAndType("//input[@name='document.newMaintainableObject.name']","Validation Test Responsibility " + ITUtil.DTS);
42 return docId;
43 }
44 }
45