将WatiN附加到Firefox [英] Attaching WatiN to Firefox

查看:159
本文介绍了将WatiN附加到Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用WatiN,我正面临一些问题。

FireFox FF =新的FireFox(http://www.google.com) ;



此时FireFox总是崩溃,VS报告:


无法从传输
连接读取数据:现有的连接是由远程主机强制关闭的


$

Win7 32Bit - VS2008 - .NET 3.5 - Firefox 3.5 - WatiN-2.0.10.928-net-2.0 / p>

解决方案



我下载了 Swat (简单网络自动化工具包 - sourceforge项目),它附带一个更新的jssh的版本是FF 3.5,现在Watin成功启动FF。


Using WatiN, Im facing some issues with

FireFox FF = new FireFox ("http://www.google.com");,

FireFox always crashes at this point and VS report :

Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

any idea why this is happening ?

Win7 32Bit - VS2008 - .NET 3.5 - Firefox 3.5 - WatiN-2.0.10.928-net-2.0

解决方案

The jssh that comes with Watin CTP has an issue with FireFox 3.5.

I downloaded Swat (Simple Web Automation Toolkit - sourceforge project) and it came with a newer version of jssh which is for FF 3.5 and now Watin starts FF successfully..

这篇关于将WatiN附加到Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆