Selenium errors and solutions | TestNG plugin for eclipse | Java is not recognised

Опубликовано: 29 Июль 2026
на канале: RoboticQA Academy
510
8

1) 'java' is not recognized as an internal or external command

JAVA_HOME
PATH

2) Target option 1.5 is no longer supported. Use 1.6 or later.

3) java.net.SocketException: Connection reset
Java (Recommend to use JDK1.8 and above)
Selenium jars/dependency - 3.141.59
Chrome browser version
chromedriver.exe

4) Exception in thread "main" java.lang.IllegalStateException: The driver executable must exist:

5) Exception in thread "main" org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath expression

6) Run as Java application option is not present

7) Run as TestNg option is not present

Our Playlist:
Learn complete selenium from basic to advance:    • Playlist  

Our social links:
YouTube :    / @roboticqa  
Facebook :   / roboticqa  
Instagram :   / roboticqatest  
Website : https://softtestautomation.com/

RoboticQA
Robotic QA
robotic qa
#RoboticQA #roboticqa #selenium #maven #testng #automation #testautomation #testng #cypress #protractor #azurecloud #awscloud