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.ITUtil;
20
21
22
23
24
25
26 public class IdentityResponsibilityBlanketAppIT extends AdminMenuBlanketAppITBase {
27 @Override
28 protected String getLinkLocator() {
29 return "link=Responsibility";
30 }
31
32 @Override
33 public String blanketApprove() throws Exception {
34 String docId = waitForDocId();
35 waitAndType("//input[@id='document.documentHeader.documentDescription']", "Validation Test Responsibility");
36 select("//select[@id='document.newMaintainableObject.namespaceCode']", "label=KUALI - Kuali Systems");
37 waitAndType("//input[@id='document.newMaintainableObject.name']", "Validation Test Responsibility " + ITUtil.DTS);
38 waitAndType("//input[@id='document.newMaintainableObject.documentTypeName']", "Test");
39 waitAndType("//input[@id='document.newMaintainableObject.routeNodeName']", "Test");
40 waitAndClick("//input[@id='document.newMaintainableObject.actionDetailsAtRoleMemberLevel']");
41 waitAndClick("//input[@id='document.newMaintainableObject.required']");
42 return docId;
43 }
44 }
45