testing - Powershell 用于 web-ui 测试的优势?

标签 testing powershell

我正在从事一个商业项目,该项目是一个基于 Web 的应用程序,它将与一个应用程序/Web 服务器 (JBoss) 捆绑在一起,该服务器在运行时与 Web 应用程序文件一起部署。

我看过有关 Powershell 如何进行 UI 测试的链接。与 Selenium 或 VS2010 的编码 UI 测试相比,Powershell 在网络测试方面有什么优势吗? (Selenium 的文档很差,这对 Powershell 有利,但我对更多功能性原因感兴趣)。

谢谢

最佳答案

如果您需要操作浏览器/网页/网络应用以外的其他东西,Powershell 将为您提供优势。借助 Powershell,您可以在浏览器之外对操作系统、应用程序和事物进行操作。

如果您不需要这样做,如果您只想自动化基于 Web 的应用程序,那么我建议您使用特定于 Web 的工具。 Selenium 很好,MSVS2010 中的测试很棒。如果您更喜欢编码,请尝试 WatiN对于 .net,和 WatiJ对于 Java。所有这些不仅在 IDE 中,而且在 CI 服务器上都能顺利运行。

关于testing - Powershell 用于 web-ui 测试的优势?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3366517/

相关文章:

powershell - Azure 应用服务扩展 powershell

Powershell ISE缓存变量值?

unit-testing - 如何测试 Go 的 "testing"包函数?

powershell - 使用 PowerShell 解锁锁定的帐户(不使用 Quest AD cmdlet)

arrays - PowerShell-如果任何条目具有特定的属性值,则抓取所有同名条目

powershell - 有没有办法通过自定义 System.Management.Automation.ErrorRecord 抛出?

testing - 通过文件初始化 Elasticsearch 数据库

ruby-on-rails - 未捕获的抛出 :warden in Devise Testing

javascript - Web 驱动器管理器正在关闭

mongodb - Jest : Expect() only unique elements in an array