server: http://serverIP:port/projectName //server: http://localhost:8080/test----设置服务器的默认地址 load: exclude: serve: proxy: //设置代理。主要适用于对于大型的应用程序(与服务器进行交互的)进行测试 - {matcher: "/matchedPath", server: http://localhost:7000} - {matcher: "*", server: http://localhost/whatever} timeout: 90 //设置超时时间 |
4.打开视图windows ------ show view ----- javascript ------ JsTestDriver
5.启动服务器,点击需要测试的浏览器,启动浏览器
6.配置运行环境,运行test
6.1 创建新的test实例: