Cucumber Step is failing with null ptr exception | Selenium Forum
S
Shashank Rajput Posted 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

 


A
Ashish Thakur Replied on 04/02/2019

Please send your code


S
Shashank Rajput Replied on 05/02/2019

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

 


A
Ashish Thakur Replied 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 Rajput Replied on 05/02/2019

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

Responsive image

Responsive image


A
Ashish Thakur Replied 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 Replied on 06/02/2019

Testing


A
Ashish Thakur Replied on 11/02/2019

Is the issue resolved?


S
Shashank Rajput Replied 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

 


A
Ashish Thakur Replied on 12/02/2019

As I debugged your code.

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


S
Shashank Rajput Replied on 26/02/2019

Sir I've removed the URL from properties file as it was an internal server.I'll update any other website but the issue I'm facing is when I create another scenario in a feature file


A
Ashish Thakur Replied on 06/03/2019

in feature file, you need to specify the url to be accessed.