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 ParameterTypeNavIT extends AdminTmplMthdSTNavBase {
28 String docId;
29 String parameterType;
30 String parameterCode;
31
32 @Override
33 protected String getLinkLocator() {
34 return "Parameter Type";
35 }
36
37 @Test
38 public void testParameterType() throws Exception {
39
40
41 super.gotoCreateNew();
42 List<String> params;
43 params=super.testCreateNewParameterType(docId, parameterType,parameterCode);
44
45
46 super.gotoMenuLinkLocator();
47 selectFrame("iframeportlet");
48 params=super.testLookUpParameterType(params.get(0), params.get(1),params.get(2));
49
50
51 params=super.testEditParameterType(params.get(0), params.get(1),params.get(2));
52
53
54 super.gotoMenuLinkLocator();
55 params=super.testLookUpParameterType(params.get(0), params.get(1),params.get(2));
56
57
58 params=super.testCopyParameterType(params.get(0), params.get(1),params.get(2));
59
60
61 super.gotoMenuLinkLocator();
62 super.testVerifyCopyParameterType(params.get(0), params.get(1),params.get(2));
63
64 }
65 }