1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.krad.travelview;
17
18 import edu.samplu.common.KradMenuITBase;
19 import org.junit.Test;
20
21
22
23
24 public class MaintenanceDocumentOverviewIT extends KradMenuITBase {
25
26 @Override
27 protected String getLinkLocator() {
28 return "link=Travel Account Maintenance (New)";
29 }
30
31 @Test
32
33
34
35 public void testVerifyDocumentOverview() throws Exception {
36 gotoMenuLinkLocator();
37 assertTextPresent("Document Overview");
38 assertElementPresent("//input[@name='document.documentHeader.documentDescription']");
39 assertElementPresent("//input[@name='document.documentHeader.organizationDocumentNumber']");
40 assertElementPresent("//textarea[@name='document.documentHeader.explanation']");
41 }
42 }