You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just now downloaded the code and when I run the LoginStep feature I am getting the NullPointerException:
Step failed
java.lang.NullPointerException
at steps.Hook.InitializeTest(Hook.java:34)
I understand why we get this exception because we are not creating an instance of BaseUtil. How an instance of BaseUtil is created and passed to Hook and LoginUtil?
Saw the video "Part 9 - Dependency Injection with Picocontainer for cucumber" of "Cucumber wit Selenium Java (Basic)", there also its not mentioned how Hook class constructor is called. so could you please explain.
Thanks
Krishna
The text was updated successfully, but these errors were encountered:
Hi,
Step failed
java.lang.NullPointerException
at steps.Hook.InitializeTest(Hook.java:34)
I understand why we get this exception because we are not creating an instance of BaseUtil. How an instance of BaseUtil is created and passed to Hook and LoginUtil?
Thanks
Krishna
The text was updated successfully, but these errors were encountered: