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.KradMenuLegacyITBase;
19 import org.junit.Test;
20
21
22
23
24 public class MaintenanceDocumentOverviewLegacyIT extends KradMenuLegacyITBase {
25
26 @Override
27 protected String getLinkLocator() {
28 return "Travel Account Maintenance (New)";
29 }
30
31 @Test
32
33
34
35 public void testVerifyDocumentOverviewLegacy() throws Exception {
36 gotoMenuLinkLocator();
37 assertTextPresent("Document Overview");
38 assertElementPresentByXpath("//input[@name='document.documentHeader.documentDescription']");
39 assertElementPresentByXpath("//input[@name='document.documentHeader.organizationDocumentNumber']");
40 assertElementPresentByXpath("//textarea[@name='document.documentHeader.explanation']");
41 }
42 }