i've never used testng before i'm trying understand it. i've installed testng , built path. made testng class tests. upon running testng error: cannot find class in classpath
i aware there multiple questions out there issue i've tried answers given , none have worked.
i have tried using junit , ran successfully. i'm trying redo using testng.
here screenshot of project in eclipse
public class testsigninandnotebook { private webdriver driver; private login login; private home home; private cloudapp cloudapp; private notebook notebook; @beforetest public void beforetest() { driver = new firefoxdriver(); } @parameters({""}) @test public void f() { /* test code */ } @aftertest public void aftertest() { driver.quit(); } }
if need anymore information let me know.
can try adding folder tests under build path . looks not added there , hence, unable recognise class. should wolfram/tests under source
Comments
Post a Comment