Small selenium program is not excuting. | Selenium Forum
T
tanveer Posted on 22/10/2019

i try with stackoverflow from google. i was unable slove the issue

 


A
Ashish Thakur Replied on 23/10/2019

Which Version of JDK are you using?

Have you imported TestNG Library?


T
tanveer Replied on 24/10/2019

JDK 1.8

Yes imported TestNG Library


A
Ashish Thakur Replied on 24/10/2019

Please make sure that you are executing the expected file only.

If still facing the issue, share the complete error stack trace.


T
tanveer Replied on 24/10/2019

 

 

Responsive image      Responsive image


A
Ashish Thakur Replied on 25/10/2019

Did you try debugging the code?

The error is at line number 16. 

Make sure that you are using the browser compatible driver only.


T
tanveer Replied on 25/10/2019

my perivous code is working on browser 

my new code not working on same browser ..

 

 


T
tanveer Replied on 25/10/2019

 

 

Responsive image                                                                                                                                                                                                                         

Responsive image                                                                                                                Responsive image         i was trying with new workspace with eclipse also i am facing issue and there i was getting"No suchmethod found " and here i was "no such class found".... help me out


T
tanveer Replied on 25/10/2019

in above i was added jar fails in Library.


A
Ashish Thakur Replied on 25/10/2019

Please export your project and share it with us.


T
tanveer Replied on 25/10/2019

i was send .java file


T
tanveer Replied on 25/10/2019

can tell what should be uninstall and reinstall so that problem can slove


T
tanveer Replied on 25/10/2019

Actually i was running without Maven .the progrm is runining well

After buliding Maven project then i was getting issue .

the pic when i was runing in Maven project bulid

Responsive image

Responsive image 

 


A
Ashish Thakur Replied on 28/10/2019

As I can see in the screenshot, you are getting access denied exception. 

Make sure that you are having proper access rights in the specified directory. I would suggest you move the project in a drive other than C://.

If you still face issues related to the project not executing, then you need to share your complete project with us as we won't be able to suggest any solution without examining it.

 


T
tanveer Replied on 28/10/2019

sloved issue