org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:
Hi All, I'm trying to connect selenium from readyapi, I followed the same steps given in the selenium integration documentation, but I'm getting below error org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:38669 Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48' System info: host: 'ITORL464', ip: '192.168.102.6', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: FirefoxDriver error at line: 7 I'm new to this, anyhelp is appreticated. I'm using geckodriver-v0.9.0 selenium-java-3.14.Solved8.9KViews0likes1CommentUpgrade the version of Chrome running on Selenium on Alertsite
As we have Angular web pages running version 6 and 7 that was released in 2018 they do not work on the version of Chrome that launches with Selenium on Alertsite. When you launch Chrome in alertsite it uses version 49 of Chrome which was released in 2016. Using Dejaclick Chrome launches in version 74. Suggestion. Upgrade the version of Chrome that Selenium launches in Alertsite to version 74 or greater. Thanks, Douglas McGonegle1.3KViews0likes1CommentWork SoapUI Free Version with Selenium WebDriver
Hi, I'm trying to integrate Selenium Webdriver with SoapUI tool as in my project, there is a test case like need to run a webservice from SoapUI and then get a "zipcode" from the response and it should be passed to the GUI to fetch the list of matched customers. SoapUI Version : 5.3.0 free version Selenium WebDriver : 3.4.0 ChromeDriver: 2.46 Java Version: 1.8 I have tried with different versions of Selenium and related dependant JARs but not able to run the selenium script. Here's the sample script executed viaGroovy Script test stepand throwing the below error message. Sample Selenium script: import java.lang.*; import org.openqa.selenium.*; import org.openqa.selenium.chrome.*; launchBrowser() public void launchBrowser() { System.setProperty("webdriver.chrome.driver", "D:\\SoapUI-5.3.0\\bin\\ext\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); driver.get("https://www.google.com"); log.info("Browser launched successfully."); } ERROR:java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.findExecutable(Ljava/lang/String;)Ljava/lang/String; java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.findExecutable(Ljava/lang/String;)Ljava/lang/String; at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:84) at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:186) at Script1.launchBrowser(Script1.groovy:10) at Script1.run(Script1.groovy:5) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:90) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:141) at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:250) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Anyone guide me what would be the reason or any dependencies missing? Thanks, Karunagara Pandi G832Views0likes0CommentsIntegrating the NUnit tests(Selenium C#) with TestComplete
Hi , I have Selenium C# script available with NUnit framework and planning to integrate with test Complete. I have added NUnit Console.exe in the assmbly file name and trying to run the scripts. But its failing. Plz help600Views0likes1CommentSoap UI 5.3 doesnt work with Selenium 3.0.1 due to apache http jar version mismatch.
Are there versions of Soap UI and Selenium that work together? I tried 5.3 and 3.0.1 but that did not work. The selenium version of http is much more recent that the Soap UI versions. Apparently this is an ongoing problem: https://community.smartbear.com/t5/SoapUI-Open-Source/SoapUI-5-0-0-and-Selenium-WebDriver-2-44-0/td-p/953532.2KViews0likes4CommentsIntegration With CodedUITest
I have a suite of tests that were built using the C# bindings using Microsoft CodedUITest with Selenium 2 (WebDriver). The tests use the Page Object Model. My company uses TestComplete and we are currently on build 12.10.590.7 and I would like to bring these tests into the greater regression suite that we have constructed. I have found that re-creating the Page Object model in TestComplete is not practical. So my question is whether or not TestComplete can integrate with CodedUITest and Selenium so that I can run these tests using TestComplete? I can't seem to find anything on the 'Net or in the support portal that addresses this and I'd like to avoid having to re-create the tests using a different framework Thanks in advance for any assistance Mike KiewiczSolved1.3KViews0likes1CommentRun Selenium/JAVA in TestComplete / QAComplete:
Hi SmartBear Community, End goal: To run Selenium/JAVA within TestComplete / QAComplete. Details: I have a functional web testing code that checks parameters on the internet explorer web page. The code is written in JAVA programming and Selenium. The IDE is Intellij, where I use to execute, debug, and develop my program. The Intellij also sync up with Maven which also has POM.xml. I found this video which shows 6 steps to run JAVA/Selenium in TestComplete: http://blog.smartbear.com/how-to/how-to-run-selenium-from-testcomplete-in-6-simple-steps/ The tutorial uses eclipse instead of Intellij, but I don't think it makes any different. Case 1 (use Maven): Procedure: 1) Create Junit project in TestComplete 2) Under "Use Maven Project" radio button, I put the path to C://****/pom.xml 3) Select "Run all tests" 4) Run Output: mvn.cmd test [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building JPAExample 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ JPAExample --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ JPAExample --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ JPAExample --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\MITRE\Functional_Test\DTS_Lync_Code\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ JPAExample --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ JPAExample --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.190 s [INFO] Finished at: 2016-03-16T14:04:54-04:00 [INFO] Final Memory: 10M/155M [INFO] ------------------------------------------------------------------------ My issue: - It does not show any error, but it did not execute any of my test. (Note: my java tests run fine inside Intellij). Do I need to configure pom.xml or TestComplete somehow? Case 2 (Use classpath directory): Procedure: 1) Create Junit project in TestComplete 2) Under "Specify the classpath directly" radio button, I put the path as C:\Users\ckhim\.m2\repository\junit\junit\4.10\junit-4.10.jar; C:\Users\ckhim\.m2\repository\org\seleniumhq\selenium\selenium-java\2.45.0\selenium-java-2.45.0.jar; C:\MITRE\Functional_Test\DTS_Lync_Code\src\test\java\ 3) Select "Run the following test classes", I put org.mitre.test.tests.testFunctionalDTS.checkDTSTitlePage. 4) Run Output Error: "C:\Program Files (x86)\Java\jre1.8.0_74\Bin\java.exe" org.junit.runner.JUnitCore org.mitre.test.tests.testFunctionalDTS.checkDTSTitlePage JUnit version 4.10 Could not find class: org.mitre.test.tests.testFunctionalDTS.checkDTSTitlePage Time: 0.001 OK (0 tests)1.3KViews0likes0CommentsExporting TestComplete scripts to be used with Selenium
Greetings, Going to the point, I know I can execute Selenium scripts into TestComplete, but I brought a tuff question... I think. :) Is it possible to export ou reuse scrips developed using TestComplete to Selenium WebDriver? At the middle of our project, was decided that we should migrate tools and we don't want to loose work. Regards1.6KViews0likes2Comments