1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.admin.test;
17
18 import java.util.List;
19
20 import org.junit.Test;
21
22
23
24
25
26
27 public class ParameterNavIT extends AdminTmplMthdSTNavBase {
28
29 String docId;
30 String parameterName;
31
32 @Override
33 protected String getLinkLocator() {
34 return "Parameter";
35 }
36
37 @Test
38 public void testParameter() throws Exception {
39
40
41 super.gotoCreateNew();
42 List<String> params;
43 params=super.testCreateNewParameter(docId, parameterName);
44
45
46 super.gotoMenuLinkLocator();
47 selectFrame("iframeportlet");
48 params=super.testLookUpParameter(params.get(0), params.get(1));
49
50
51 params=super.testEditParameter(params.get(0), params.get(1));
52
53
54 super.gotoMenuLinkLocator();
55 params=super.testVerifyModifiedParameter(params.get(0), params.get(1));
56
57
58 params=super.testCopyParameter(params.get(0), params.get(1));
59
60
61 super.gotoMenuLinkLocator();
62 super.testVerifyModifiedParameter(params.get(0), params.get(1));
63 }
64 }