I am trying to write an automated test and the code successfully compiles but when i try executing it as "Java Application", I am getting an AssertionViolatedException error and the code won't execute.
I have already tried:
-
changing the sendKeys("string") to sendKeys(new String[] {"string"}).
-
executing the application with: "Run as: JAVA APPLICATION"
-
setting the jre environment in build path.
The error message I am getting is:
Exception in thread "main" org.apache.bcel.verifier.exc.AssertionViolatedException: FOUND: INTERNAL ERROR: Oops! Exiting!!
at org.apache.bcel.verifier.exc.AssertionViolatedException.main(AssertionViolatedException.java:102)
Aucun commentaire:
Enregistrer un commentaire