My projects in Eclipse Kepler were working just fine until I downloaded TestNG. Post TestNG download, I am unable to click on Run button for my code. after I click on run or even if I hover over on run the following error message is displayed.
An internal error occurred during: "Compute launch button tooltip". java.lang.IllegalArgumentException
If I uninstall testing all my scripts run. But as soon as I reinstall Testing the issue reappears
I have tried the following methods:
- Re-installing Eclipse
- Changing Workspace
- Restarting Eclipse
- Creating new projects
- Installing TestNg from Eclipse Marketplace as well as by Installing new software.
The error says it all :
Root Cause
You are unable to click on Run button for your code or after you click on Run when you hover over on Run you see the error because the labels of these buttons are calculated depending on the *.java file in the active editor. This issue can occur if there are two jars with same classes e.g. (
selenium-server-standalone-3.9.1
andclient-combined-3.9.1
).Solution
So the possible solutions are :
Execute your Tests
Here you can find here a detailed discussion on
"Compute launch button tooltip" error