Watir 是否可以与 Ironruby(或任何其他方式的 .Net)一起使用?

发布于 2024-09-27 11:25:54 字数 360 浏览 1 评论 0原文

所以我一直在尝试使用 Ironruby 设置 Watir,这样我就可以使用 Watir 而不是 Watin(我只是不太喜欢 Watin),唯一的问题是我似乎无法让它工作,并且搜索给我带来了一些相互矛盾的信息。有人说不行,有人说用igem。

现在我正在运行 VS 2008(3.5) 和 Ironruby 1.0。每次运行时,

igem install watir

我都会收到一条错误消息,提示我需要安装 .NET Framwork v4.0.30319,

如果我使用 Ironruby 1.1,我也会收到相同的错误。

这里有人让 Watir 在 .Net 中工作吗?或者说它真的无法逃避吗?

So I've been trying to get Watir setup with Ironruby so I can use Watir instead of Watin(I just dont like Watin that much), the only issue is I cant seem to get it working, and searches bring me to some conflicting info. Some say it wont work, others say use igem.

Right now I'm running VS 2008(3.5), and Ironruby 1.0. Every time I run

igem install watir

I get an error saying I need to install .NET Framwork v4.0.30319

I get the same error if I use Ironruby 1.1.

Has anyone here gotten Watir to work in .Net? Or is it true it cannot be run from it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

愁杀 2024-10-04 11:25:54

Watir(至少对于 IE)将需要 Ruby 实现来支持本机 gem。 IronRuby 不支持原生 gem。它不会工作,我相信 JRuby 也有同样的问题。

Watir (for IE at least) will require the Ruby implementation to support native gems. IronRuby does not support native gems. It will not work and I believe JRuby has the same issue.

鸠魁 2024-10-04 11:25:54

Watir 不支持ironruby。我曾尝试让 Vapir 支持 IronRuby,但由于缺乏兴趣而在完成之前放弃了。而且,现在 IronRuby 的主要负责人已经离开微软,这可能很快就会消失。

Watir doesn't support ironruby. I made some attempts to have Vapir support IronRuby, but gave up before completion due to lack of interest. And, now with IronRuby's main guy having left microsoft, that's probably going to be dead soon enough.

云归处 2024-10-04 11:25:54

我从来没有用 IronRuby 尝试过 Watir,如果有人有时间看一下,那会很有趣。 IronRuby 并没有消亡,它还在 github 上并且仍在开发中。如果没有微软的资金和技术支持,这肯定会更加困难,但我还没有认为它已经死了。 :) 如果是一只股票,我会选择“持有”,等待看看它的进展如何。

I've never tried Watir with IronRuby, if someone has time to take a look at it, that would be interesting. IronRuby isn't dead, it's on github and still be worked on. Without the financial and technical backing of MS, it's certainly going to be more difficult, but I'm not one to count it dead yet. :) If it was a stock, I'd go with 'hold', wait and see how it progresses.

碍人泪离人颜 2024-10-04 11:25:54

您是否尝试过使用 WatiN 来使用 IronRuby?这似乎有效。

Did you try IronRuby with WatiN? That seems to work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文