1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.admin.test;
17
18 import org.kuali.rice.testtools.selenium.Failable;
19 import org.kuali.rice.testtools.selenium.ITUtil;
20
21
22
23
24 public abstract class ReviewAllServicesAndWSDLAbstractSmokeTestBase extends AdminTmplMthdSTNavBase{
25
26
27
28
29
30 public static final String BOOKMARK_URL = ITUtil.PORTAL+"?channelTitle=Service%20Registry&channelUrl="+ITUtil.getBaseUrlString()+
31 "/ksb/ServiceRegistry.do";
32
33
34
35
36
37
38 @Override
39 protected String getLinkLocator() {
40 return "Service Registry";
41 }
42
43 public void testReviewAllServicesAndWSDLBookmark(Failable failable) throws Exception {
44 testReviewAllServicesAndWSDL();
45 passed();
46 }
47
48 public void testReviewAllServicesAndWSDLNav(Failable failable) throws Exception {
49 testReviewAllServicesAndWSDL();
50 passed();
51 }
52
53 public void testReviewAllServicesAndWSDL() throws Exception
54 {
55 Thread.sleep(10000);
56 selectFrameIframePortlet();
57 assertTextPresent("{http://rice.kuali.org/core/v2_0}componentService");
58 waitAndClickByXpath("//input[@value='Refresh Service Registry']");
59 Thread.sleep(10000);
60 assertTextPresent("{http://rice.kuali.org/core/v2_0}componentService");
61 waitAndClickByXpath("//a[contains(text(),'/remoting/soap/core/v2_0/componentService')]");
62 }
63 }