Unable to excute Driver script in Hybrid Framework | Selenium Forum
M
Posted on 22/10/2015
Hi,

I have imported core?_hybrid_webdriver project into eclipse and added all the external jar files but when i am trying to execute driver script i am hitting below mentioned error,i am not sure what am i missing. Please advise.

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.qtpselenium.test.DriverScript.executeKeywords(DriverScript.java:156)
at com.qtpselenium.test.DriverScript.start(DriverScript.java:112)
at com.qtpselenium.test.DriverScript.main(DriverScript.java:68)

Thanks,
Neha Sahu

M
Replied on 23/10/2015

i have not seen this exact error

so looking around I found this q/a

http://stackoverflow.com/questions/21732894/why-java-lang-reflect-invocationtargetexception-showing