51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3451|回复: 1
打印 上一主题 下一主题

请高手指点一下,我运行后,浏览器自动关闭了,日志如下:

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-5-20 00:38:20 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
00:32:22.145 INFO - Java: Sun Microsystems Inc. 14.3-b01
00:32:22.147 INFO - OS: Windows 7 6.1 x86
00:32:22.177 INFO - v2.0 [a2], with Core v2.0 [a2]
00:32:22.589 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
00:32:22.594 INFO - Version Jetty/5.1.x
00:32:22.597 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
00:32:22.599 INFO - Started HttpContext[/selenium-server,/selenium-server]
00:32:22.599 INFO - Started HttpContext[/,/]
00:32:22.820 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@15c7850
00:32:22.821 INFO - Started HttpContext[/wd,/wd]
00:32:22.866 INFO - Started SocketListener on 0.0.0.0:4444
00:32:22.866 INFO - Started org.openqa.jetty.jetty.Server@1a5ab41
00:32:23.080 INFO - Checking Resource aliases
00:32:23.092 INFO - Command request: getNewBrowserSession[*firefox, http://www.baidu.com, ] on session null
00:32:23.105 INFO - creating new remote session
00:32:23.401 INFO - Allocated session 56414d6636134178bfdba7ad31cbad86 for http://www.baidu.com, launching...
00:32:23.551 INFO - Preparing Firefox profile...
不是64位
C
DetourRestoreAfterWith
ProcessAttach
ThreadAttach
00:32:28.588 INFO - Launching Firefox...
00:32:37.405 INFO - Got result: OK,56414d6636134178bfdba7ad31cbad86 on session 56414d6636134178bfdba7ad31cbad86
00:32:37.429 INFO - Command request: open[/, ] on session 56414d6636134178bfdba7ad31cbad86
00:32:41.186 INFO - Got result: OK on session 56414d6636134178bfdba7ad31cbad86
00:32:41.198 INFO - Command request: type[//input[@name='wd'], selenium] on session 56414d6636134178bfdba7ad31cbad86
00:32:41.360 INFO - Got result: OK on session 56414d6636134178bfdba7ad31cbad86
00:32:41.366 INFO - Command request: click[//input[@id='su'], ] on session 56414d6636134178bfdba7ad31cbad86
00:32:41.566 INFO - Got result: OK on session 56414d6636134178bfdba7ad31cbad86
00:32:41.574 INFO - Command request: waitForPageToLoad[3000, ] on session 56414d6636134178bfdba7ad31cbad86
00:32:44.402 INFO - Got result: OK on session 56414d6636134178bfdba7ad31cbad86
00:32:44.575 INFO - Shutting down...
00:32:44.623 INFO - Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4444]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2010-6-7 21:13:49 | 只看该作者
你有selenium.stop,浏览器当然自动关闭了。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-23 23:03 , Processed in 0.066584 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表