如何在同一浏览器中使用 WebAii 和 WatiN [英] How to use WebAii and WatiN with Same Browser

查看:28
本文介绍了如何在同一浏览器中使用 WebAii 和 WatiN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 watin 中编写了太多测试,但它们都能正常工作.页面中有一个silverlight上传控件,我必须使用webaii来控制它.但我不想将我所有的watin 代码转换为webaii.如何在一个浏览器标签页中使用 watin 和 webaii?

I wrote too much tests in watin and all they work. there is a silverlight upload control in a page and I must use webaii to control that. but I don't want to convert all my watin code to webaii. How can I use watin and webaii with one browser tab?

推荐答案

我没有使用 webaii 的经验,但如果我是你,我会尝试这个:使用 webaii 启动浏览器,然后使用 WatiN 浏览器 .AttachTo()让WatiN指向webaii打开的浏览器的方法.

I have no experience with webaii, but if I were you I'd try this: Use webaii to launch the browser then use the WatiN browser .AttachTo() method to get WatiN to point at the browser that webaii opened.

这篇关于如何在同一浏览器中使用 WebAii 和 WatiN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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