Hi Krishantha, Will look into this. Thanks.
On Wed, Jul 30, 2014 at 6:39 PM, Krishantha Samaraweera <krishan...@wso2.com > wrote: > Hi Dimuthu, > > Solution for the same issue is discussed at [Dev] AM 1.7.0 UI-Integration > test fail. Please refer. > > Thanks, > Krishantha. > > > On Tue, Jul 29, 2014 at 12:56 PM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> Hi Dimuthu, >> >> I've migrated AS UI integration test to verify a Jenkins plugin sometime >> back and used the integration-test-utils module to keep Page Object >> classes, however didn't come across such an issue. >> >> Can you please check your default Firefox version and path of the firefox >> binary. Even you can try with -Dfirefox.driver.bin property and set to >> firefox bin path explicitly. >> >> Thanks, >> Krishantha. >> >> On Mon, Jul 28, 2014 at 8:32 AM, Dimuthu De Lanerolle <dimut...@wso2.com> >> wrote: >> >>> I am getting the below test failures as I move the page objects >>> to tests-common/integration-test-utils module. However we will not >>> encounter these test failures if we add the same page objects to tests-ui >>> module. Currently I am looking into fixing this. >>> >>> JavaScript error: resource://unity/unity-global-property-initializer.js, >>> line 368: NS_ERROR_XPC_SECURITY_MANAGER_VETO: Component returned failure >>> code: 0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO) [nsIDOMWindow.window] >>> JavaScript error: chrome://browser/content/urlbarBindings.xml, line 650: >>> aUrl is undefined >>> >>> at >>> org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:95) >>> at >>> org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:149) >>> at >>> org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:75) >>> at >>> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:128) >>> at >>> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:79) >>> at >>> org.wso2.carbon.automation.extensions.selenium.BrowserManager.getDriver(BrowserManager.java:65) >>> at >>> org.wso2.carbon.automation.extensions.selenium.BrowserManager.getWebDriver(BrowserManager.java:57) >>> at >>> org.wso2.carbon.integration.test.ui.webapp.WebAppSeleniumTestCase.setUp(WebAppSeleniumTestCase.java:40) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) >>> at >>> org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) >>> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) >>> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) >>> at >>> org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173) >>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105) >>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178) >>> at org.testng.TestRunner.privateRun(TestRunner.java:757) >>> at org.testng.TestRunner.run(TestRunner.java:608) >>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) >>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) >>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) >>> at org.testng.SuiteRunner.run(SuiteRunner.java:240) >>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) >>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) >>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) >>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) >>> at org.testng.TestNG.run(TestNG.java:999) >>> at >>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:122) >>> at >>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) >>> at >>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:101) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) >>> at >>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) >>> at >>> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) >>> at >>> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) >>> Jul 28, 2014 5:32:47 PM >>> org.wso2.carbon.automation.engine.testlisteners.TestManagerListener >>> onTestStart >>> INFO: Running the test method --- >>> org.wso2.carbon.integration.test.ui.webapp.WebAppSeleniumTestCase.testHelloWorldExample >>> ---- >>> Jul 28, 2014 5:32:47 PM >>> org.wso2.carbon.automation.engine.testlisteners.TestManagerListener >>> onTestSkipped >>> INFO: On test skipped... >>> Jul 28, 2014 5:32:47 PM >>> org.wso2.carbon.automation.engine.testlisteners.TestManagerListener >>> onTestStart >>> INFO: Running the test method --- >>> org.wso2.carbon.integration.test.ui.webapp.WebAppSeleniumTestCase.testRequestInfoExample >>> ---- >>> Jul 28, 2014 5:32:47 PM >>> org.wso2.carbon.automation.engine.testlisteners.TestManagerListener >>> onTestSkipped >>> INFO: On test skipped... >>> Jul 28, 2014 5:32:47 PM >>> org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener onFinish >>> INFO: Inside Test Suite Listener - On Finish >>> Jul 28, 2014 5:32:47 PM >>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener >>> onExecutionFinish >>> INFO: Inside Test Execution Listener - On Finish >>> Tests run: 15, Failures: 6, Errors: 0, Skipped: 9, Time elapsed: 141.976 >>> sec <<< FAILURE! >>> >>> Results : >>> >>> Failed tests: >>> setUp(org.wso2.carbon.integration.test.ui.webapp.ExampleTestCase): Failed >>> to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process >>> output follows: >>> tearDown(org.wso2.carbon.integration.test.ui.webapp.ExampleTestCase) >>> setUp(org.wso2.carbon.integration.test.ui.webapp.JSPSamplesTestCase): >>> Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; >>> process output follows: >>> tearDown(org.wso2.carbon.integration.test.ui.webapp.JSPSamplesTestCase) >>> >>> setUp(org.wso2.carbon.integration.test.ui.webapp.WebAppSeleniumTestCase): >>> Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; >>> process output follows: >>> >>> tearDown(org.wso2.carbon.integration.test.ui.webapp.WebAppSeleniumTestCase) >>> >>> Tests run: 15, Failures: 6, Errors: 0, Skipped: 9 >>> >>> Regards, >>> >>> >>> -- >>> Dimuthu De Lanerolle >>> Software Engineer >>> WSO2 Inc. >>> lean . enterprise . middlewear. >>> http://wso2.com/ >>> Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com >>> >>> >> >> >> -- >> Krishantha Samaraweera >> Senior Technical Lead - Test Automation >> Mobile: +94 77 7759918 >> WSO2, Inc.; http://wso2.com/ >> lean . enterprise . middlewear. >> > > > > -- > Krishantha Samaraweera > Senior Technical Lead - Test Automation > Mobile: +94 77 7759918 > WSO2, Inc.; http://wso2.com/ > lean . enterprise . middlewear. > -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev