Junit - Initialization error | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos
30% Mid August Discount Avail now

Selenium Training Forum

Junit - Initialization error

S
Siddharth Rathod Post on 26/06/2019

I am getting initialization error for Junit with parameters.

PFA screenshot.

S

Instructor

Support Team Reply 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 Reply on 28/06/2019

Yes imports are correct but still initialization error is coming.

S

Instructor

Support Team Reply 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 Reply on 29/06/2019

PFA the project.

S

Instructor

Support Team Reply 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.