View Javadoc

1   /*
2    * Copyright 2011 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package edu.samplu.travel.krad.test;
17  
18  import static org.junit.Assert.*;
19  
20  import org.junit.Test;
21  import org.openqa.selenium.Alert;
22  import org.openqa.selenium.By;
23  import org.openqa.selenium.WebElement;
24  
25  import edu.samplu.common.ITUtil;
26  import edu.samplu.common.WebDriverLegacyITBase;
27  
28  /**
29   * tests the inquiry feature in rice.
30   * 
31   * @author Kuali Rice Team (rice.collab@kuali.org)
32   */
33  public class InquiryWDIT extends WebDriverLegacyITBase {
34      public static final String TEST_URL = ITUtil.PORTAL
35              + "?channelTitle=Travel%20Account%20Lookup&channelUrl="
36              + ITUtil.getBaseUrlString()
37              + "/kr-krad/lookup?methodToCall=start&dataObjectClassName=edu.sampleu.travel.bo.TravelAccount&returnLocation="
38              + ITUtil.PORTAL_URL + "&hideReturnLink=true&showMaintenanceLinks=true";
39  
40      @Override
41      public String getTestUrl() {
42          return TEST_URL;
43      }
44  
45      @Test
46      public void testInquiry() throws Exception {
47        super.testInquiry();
48  
49      }
50  }