1

我是 Selenium 自动化测试的新手。我安装了 Selenium IDE,我需要安装一些东西来测试 Silverlight Web 应用程序。谁能指导我做对吗?至于 Selenium RC,我该如何安装和使用它?

4

2 回答 2

2

您可能想阅读http://learnwpf.com/post/2012/06/27/Silverlight-Automated-UI-Testing-With-Selenium.aspx并尝试https://code.google.com/p/silverlight-硒/

于 2012-10-11T09:27:58.607 回答
0

要在您的系统中配置 selenium,您需要。1.Selenium RC (http://selenium.googlecode.com/files/selenium-server-standalone-2.25.0.jar) 2.selenium java 客户端驱动(http://selenium.googlecode.com/files/selenium- java-2.25.0.zip) 3.TestNG.jar(找到最新版本..我认为是5.5)(如果你使用的是testNG框架)首先去Eclipse市场安装TstNG框架。然后将 java 客户端驱动程序和 testNG.jar 添加到您的项目的引用库中。您可以从 cmd 提示符或 Eclipse 运行 Selenium rc。创建一个 testNG 文件以执行测试并开始执行。

于 2012-10-12T09:50:31.650 回答