While running your TestNG classes you may encounter some Exception like
java.net.SocketException: Software caused connection abort: socket write error
to avoid the SocketException in Eclipse please do the following changes.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRyPz34VS0NetEWBJVxzvWrkN7XLeQoT9l2vvl1LsTIj-Emhkf4XmYyw829v4S2S8vUtz0KblpP3khQnfMhyjRTuTyzmdUTzzYfbDwfjX1OP7CbuEtRvmjPcvM0t6hxcUVfYBaSc6LaOMR/s400/Capture.JPG)
java.net.SocketException: Software caused connection abort: socket write error
to avoid the SocketException in Eclipse please do the following changes.
- Go to Windows from Menu Bar in Eclipse.
- Select Preferences.
- It will open a new window.
- Choose TestNg and uncheck Use Project TestNG Jar.
- Click apply and click OK.
No comments:
Post a Comment