-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a116b1
commit a80813c
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#  | ||
使用servlet,实现WebUI自动化,和接口测试自动化。 | ||
使用tomcat servlet和Selenium,实现WebUI自动化,和接口测试自动化。 | ||
|
||
# 功能描述 | ||
请查看https://github.com/learningperl/autoTest/blob/master/文档/Feature.md | ||
|
@@ -20,9 +20,9 @@ | |
1. 下载(http://pan.baidu.com/s/1eQQw7Gu)或者eclipse导出jar包 | ||
2. 将selenium-server-standalone-2.42.2.jar放到tomcat,lib目录下。如果tomcat,lib目录下没有servlet-api.jar,也将它放进去。 | ||
3. 将war包放到tomcat,webapps目录下 | ||
4. 配置tomcat/conf目录下的server.xml。添加:两个context。一个是war包对的context,另一个是静态图片的context。静态图片对的context目录需要和配置文件中的imgPath一致 | ||
4. 配置tomcat/conf目录下的server.xml。添加:两个context。一个是war包的context,另一个是静态图片的context。静态图片的context目录需要和配置文件中的imgPath一致 | ||
5. 配置好后启动tomcat。访问地址与context中配置的访问路径有关。如果启动报错,请到tomcat/webapps目录下的war文件名目录下找到Test.properties文件,修改配置。 | ||
6. 运行tomcat时,不能使用管理员模式,或者是管理员模式运行net start tomcat。这两种情况会导致用例执行时,看不到浏览器界面。 | ||
6. 运行tomcat时,windows下不能使用管理员模式,或者是管理员模式运行net start tomcat。这两种情况会导致用例执行时,看不到浏览器界面。 | ||
|
||
###any questions : [email protected] | ||
|