Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Actually I'm trying to automate the registration form using Java, TestNG with Page Object Model. I am using two java classes. One Class is mainly for keeping the Web Elements & the Action Methods and the other Class is for the Test Cases.

When i try to run the Test Case I'm getting an error called Null Pointer Exception : Search Context is Null, element is not Clickable.

Can anyone please provide the Solution for this?

What I have tried:

Trying to automate the Registration form using, Java, TestNG with Page Object Model.
Posted
Updated 18-Jun-22 0:25am

1 solution

Null Pointer Exception

This means that you are trying to use an object reference in your code that has not been initialised. But since you have not shown the relevant code it is impossible to guess where or why this occurred.

Please use the Improve question link above, and add complete details to your post.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900