Junit - Initialization error | Selenium Forum
S
Siddharth Rathod Posted on 26/06/2019

I am getting initialization error for Junit with parameters.

PFA screenshot.


A
Ashish Thakur Replied on 28/06/2019

Please make sure the imports are correct. Refer the imports below

import org.junit.Test;
import org.junit.runners.Parameterized.Parameters;


S
Siddharth Rathod Replied on 28/06/2019

Yes imports are correct but still initialization error is coming.


A
Ashish Thakur Replied on 29/06/2019

We need to analyze your code for resolution. Please export your project in a zip file and share it with us.


S
Siddharth Rathod Replied on 29/06/2019

PFA the project.


A
Ashish Thakur Replied on 01/07/2019

After analyzing your project I found a few configuration problems with your project.

I would suggest you watch the videos again and recreate your project and do not delete the default packages that are created. You won't be able to execute your project otherwise.