开始使用 Ruby、Watir 和 Ruby Mine? [英] Getting started with Ruby, Watir and Ruby Mine?

查看:79
本文介绍了开始使用 Ruby、Watir 和 Ruby Mine?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想对电子商务网站进行自动化测试.我安装了 Ruby、Watir、Gems 和 Ruby Mine.

I want to automate testing of an e-commerce website. I installed Ruby, Watir, Gems and Ruby Mine.

虽然我玩过 RubyMine,但我不知道如何开始编写一个简单的脚本:

Though I played around with RubyMine I could not figure how to start writing a simple script:

  1. 如何开始使用 RubyMine 编写简单的脚本?我创建了一个项目.你下一步怎么做?我现在必须创建一个 rspec 文件吗?可能会搜索一个示例程序并运行它?
  2. 谁能给我一个打开网站并点击链接的示例,以便我可以看到它正在运行?

如果能提供对我有帮助的简单文档,我将不胜感激.

I would be grateful for simple documentation which helps me.

推荐答案

您是否检查过 Watir 网站?那里有很多关于如何开始的文档.

Did you even check Watir web site? There is plenty of documentation on how to get started there.

这篇关于开始使用 Ruby、Watir 和 Ruby Mine?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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