Java.lang.reflect.InvocationTargetException Error | Selenium Forum
S
shankar gopalakrishnan Posted on 19/10/2019

Hi,

I am creating Keyword driven hybrid framework. In the attached screenshot if i use the click function in my first test case its running fine. but if i use the same click function in my second test case i am getting error as "java.lang.reflect.InvocationTargetException Error" . Not only click function i tried various options in test case 2 its not working in test case 2. could you please look into it and provide me the solution


A
Ashish Thakur Replied on 21/10/2019

Please share the complete stack trace from the console tab.

In addition to this, please make sure that the keywords in the sheet and code have the same case and spellings. A little difference would make the code not to execute.