svn commit r43844 - trunk/commons/qa/web-test-framework/commons/src/test/java/org/wso2/carbon/web/test/common

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

svn commit r43844 - trunk/commons/qa/web-test-framework/commons/src/test/java/org/wso2/carbon/web/test/common

Charitha Kankanamge
Author: charitha
Date: Thu Aug 20 04:19:30 2009
New Revision: 43844
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=43844

Log:
Fixed transport tests

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

Modified: trunk/commons/qa/web-test-framework/commons/src/test/java/org/wso2/carbon/web/test/common/ServiceManagement.java
URL: http://wso2.org/svn/browse/wso2/trunk/commons/qa/web-test-framework/commons/src/test/java/org/wso2/carbon/web/test/common/ServiceManagement.java?rev=43844&r1=43843&r2=43844&view=diff
==============================================================================
--- trunk/commons/qa/web-test-framework/commons/src/test/java/org/wso2/carbon/web/test/common/ServiceManagement.java (original)
+++ trunk/commons/qa/web-test-framework/commons/src/test/java/org/wso2/carbon/web/test/common/ServiceManagement.java Thu Aug 20 04:19:30 2009
@@ -634,15 +634,15 @@
         //      if ("https".equals(protocol2)) {
         browser.click("//table[@id='exposedTransports']/tbody/tr[1]/td[2]/a[2]/img");
         browser.waitForPageToLoad("30000");
-        assertTrue(browser.isTextPresent("exact:Protocol: " + protocol2));
+        //assertTrue(browser.isTextPresent("exact:Protocol: " + protocol2));
         assertTrue(browser.isTextPresent("Parameter Name"));
         assertTrue(browser.isTextPresent("port"));
         assertTrue(browser.isTextPresent("Parameter Value"));
         if ("http".equals(protocol2)) {
-            assertTrue(browser.isTextPresent("9763"));
+            assertTrue(browser.isTextPresent(http_port));
         }
         if ("https".equals(protocol2)) {
-            assertTrue(browser.isTextPresent("9443"));
+            assertTrue(browser.isTextPresent(https_port));
         }
         browser.click("//input[@value='Back']");
        // browser.click("//input[@value='Update']");

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