|
本帖最后由 hinjyo 于 2011-8-1 11:58 编辑
我从selenium idle 里将转换成java的代码拷贝到eclipse里后SeleneseTestCase 出现划黑线的现象,说不赞成,反对。。这是什么意思,请各位高手指导一下吧
import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;
public class unit1 extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
//selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://172.17.1.182/life/index.jsp");
selenium = new DefaultSelenium("localhost", 4444, "*iexplore", "http://172.17.1.182/life/index.jsp");
selenium.start(); |
|