使用eclipse+selenium+webdriver过程中,遇到的问题整理,做个备忘的同时,加深自己的理解。
1、错误提示:no tests found with runner 'junit4'
错误原因:测试类中没有注解。
解决方法:在代码加上@Before和@After、@Test注解。
使用eclipse+selenium+webdriver过程中,遇到的问题整理,做个备忘的同时,加深自己的理解。
1、错误提示:no tests found with runner 'junit4'
错误原因:测试类中没有注解。
解决方法:在代码加上@Before和@After、@Test注解。