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 MaintenanceButtonsLegacyIT extends KradMenuLegacyITBase {
25 @Override
26 protected String getLinkLocator() {
27 return "Travel Account Maintenance (New)";
28 }
29 @Test
30
31
32
33 public void testVerifyButtonsLegacy() throws Exception {
34 gotoMenuLinkLocator();
35 assertElementPresentByXpath("//button[contains(.,'ubmit')]");
36 assertElementPresentByXpath("//button[contains(.,'ave')]");
37 assertElementPresentByXpath("//button[contains(.,'lanket approve')]");
38 assertElementPresentByXpath("//button[contains(.,'lose')]");
39 assertElementPresentByXpath("//a[contains(.,'ancel')]");
40 passed();
41 }
42 }