1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.admin.test;
17
18 import edu.samplu.common.Failable;
19 import edu.samplu.common.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 gotoMenuLinkLocator();
50 testReviewAllServicesAndWSDL();
51 passed();
52 }
53
54 public void testReviewAllServicesAndWSDL() throws Exception
55 {
56 Thread.sleep(10000);
57 selectFrameIframePortlet();
58 assertTextPresent("{http://rice.kuali.org/core/v2_0}componentService");
59 waitAndClickByXpath("//input[@value='Refresh Service Registry']");
60 Thread.sleep(10000);
61 assertTextPresent("{http://rice.kuali.org/core/v2_0}componentService");
62 waitAndClickByXpath("//a[contains(text(),'http://env1.rice.kuali.org/remoting/soap/core/v2_0/componentService')]");
63 }
64 }