Java.lang.Error: The operation completed successfully. | Selenium Forum
M
Posted on 02/10/2015
Hi Guys,
I am getting this error and my test case failed.
This error is coming on line code
driver.quit();
But it does not come on when I use code
driver.close();

Actually my test is pass but due to this error on the last line I used this code, it gives error and my test is failed.

Anyone knows why this error is coming? How to get rid of this error please?

Please see attached screenshot to understand it

Cheers,
Waqar Ali

M
Replied on 03/10/2015

1st try to clean eclipse. project>>clean

if doesn't work then try this

if (Driver != null)
Driver.Quit();


M
Replied on 07/10/2015

Still I am getting same error
Is there any other solution please


M
Replied on 08/10/2015

upload your java file here.


M
Replied on 08/10/2015

Here is simplest file even which giving me same error what can be missing or reason

Responsive image

M
Replied on 08/10/2015

upload your java file here i will take a look at it. when i make the java file its working.