Please provide the exact required Testbase Java file to run pilot project | Selenium Forum
R
Rajan Kumar Kaushik Posted on 08/02/2021

Hi Ashish,

I am following pilot project, and I am using Testbase java as you created in "projcet structure" project but my SakraworldTest class file throwning null pointer exception then I have used the testbase Java file as available in selenium code uploaded in your website then it also throwning error in eclispe I am totally confused what should I do. I am stuck badly.Please help me on this ASAP.

Thanks in advance.


A
Ashish Thakur Replied on 09/02/2021

Its there in downloaded code

I have checked it

Its throwing error because some dependency might be missing from POM

 

I always advice that you should write your own code rather than copy and pasting

I know, its tough and takes time but that is the right way to learn. Coping somebody's elses code will always give you some or other issues


A
Ashish Thakur Replied on 09/02/2021

Its there in downloaded code

I have checked it

Its throwing error because some dependency might be missing from POM

 

I always advice that you should write your own code rather than copy and pasting

I know, its tough and takes time but that is the right way to learn. Coping somebody's elses code will always give you some or other issues