Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
441 views
by
I am attempting to run the most basic example test using Eclipse, Selenium, Maven, and TestNG.

I am facing below error in eclispe.

“Couldn't connect to the RemoteTestNG Client”

1 Answer

0 like 0 dislike
by
selected by
 
Best answer

It looks like its memory issue. I resolved this by increasing memory size in eclipse.

Go to location where your eclipse executable is. Open eclipse.ini and change lines in bold.

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...