Whiile running a Test NG test I am seeing error Error Could not find or load main class orgtestngremoteRemoteTestNG | Selenium Forum
P
Pmanoj_qa Posted on 20/10/2018
Below is the code for TestNG Runner class

package first;
import cucumber.api.CucumberOptions;
import cucumber.api.testng.AbstractTestNGCucumberTests;

@CucumberOptions(features="src/test/resources/",
glue="first")

public class MyRunner extends AbstractTestNGCucumberTests {

}

A
Ashish Thakur Replied on 23/10/2018

Please give us your project


P
Pmanoj_qa Replied on 24/10/2018

Hi Ashish,

I had maven dependency for TesNG, but i was getiing error "Error Could not find or load main class orgtestngremoteRemoteTestNG"

But after adding TestNG library manually to the project resoved this problem.

Thanks,
Mnaoj