svn commit r43934 - trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit r43934 - trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup

Yumani Ranaweera
Author: yumani
Date: Fri Aug 21 01:43:17 2009
New Revision: 43934
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=43934

Log:
Updated the testCreateNewService method to accept the service name.

Modified:
   trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/MSCommon.java

Modified: trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/MSCommon.java
URL: http://wso2.org/svn/browse/wso2/trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/MSCommon.java?rev=43934&r1=43933&r2=43934&view=diff
==============================================================================
--- trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/MSCommon.java (original)
+++ trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/MSCommon.java Fri Aug 21 01:43:17 2009
@@ -59,10 +59,10 @@
     /*
     Create a new .js service
      */
-    public static void testCreateNewService() throws Exception {
+    public static void testCreateNewService(String serviceName) throws Exception {
         selenium.click("link=Create");
         selenium.waitForPageToLoad("30000");
-        selenium.type("serviceName", "testServiceManagement");
+        selenium.type("serviceName", serviceName);
         selenium.click("next");
         selenium.waitForPageToLoad("30000");
         assertTrue(selenium.isTextPresent("Editing the mashup " + "testServiceManagement"));
@@ -118,7 +118,7 @@
     /*
         API Documentation
      */
-       public static void testAPIDocumentation(String serviceName,String IP,String httpPort,String httpsPort) throws Exception {
+      public static void testAPIDocumentation(String serviceName,String IP,String httpPort,String httpsPort) throws Exception {
 
             ServiceManagement serviceManagement = new ServiceManagement(selenium);
             serviceManagement.accessServiceDashboard(serviceName);

_______________________________________________
Commons-dev mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/commons-dev