Cucumber Step is failing with null ptr exception | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos

Selenium Training Forum

Cucumber Step is failing with null ptr exception

S
shashank Post on 26/01/2019

Hi,

I'm having a step which is passing when I add it in a scenario.I careated a new scenario and it started failing with null ptr exception.What could be an issue :(

PFA

 

D

Instructor

demo Reply on 04/02/2019

Please send your code

S
shashank Reply on 05/02/2019

I can't upload a zip file here and it takes only file at a time :(

 

D

Instructor

demo Reply on 05/02/2019

You can upload a zip file.

Without the complete project, we won't be able to analyse the issue.

S
shashank Reply on 05/02/2019

I'm not kidding I'm not able to able to attach a zip file

D

Instructor

demo Reply on 06/02/2019

The file upload issue has been noted and we're trying our best to resolve this issue at the earliest.

 

In the meantime, you can upload your file to Google Drive or One Drive or Dropbox or any file sharing platform, so that we can resolve your issue at the earliest.

D
Dilip jangid Reply on 06/02/2019

Testing

D

Instructor

demo Reply on 11/02/2019

Is the issue resolved?

S
shashank Reply on 11/02/2019

Hi,I've uploaded in Google drive.Upload here is still not functional.

https://drive.google.com/open?id=1FjZ1I7x3_nJmkv42vT6rtg6vdmQ1rhJa

 

D

Instructor

demo Reply on 12/02/2019

As I debugged your code.

Your test is failing because you have not specified the navigate to URL.