EPiServer 中的自动化 UI 测试
如何在 EPiServer 等 CMS 上执行 UI 测试?编辑器根据页面类型创建内容,而您作为开发人员必须测试每个页面实例?
我们目前正在使用基于相应页面类型动态创建的测试来测试 EPiServer 中的所有页面。然后,我们的构建服务器每天晚上都会生成测试并启动 Selenium RC,确保我们的测试覆盖所有页面并每天运行。
它已经工作多年,但出现了一些问题:
- 它基于 Selenium RC 1.0.3,现在似乎已弃用,取而代之的是 WebDriver。
- Seleniun RC 似乎只适用于较旧的 Firefox 版本,当我升级到最新版本(10)时,它停止工作
我想做的是找出如何迁移到 WebDriver 方法并保留让测试的可能性可以即时生成,或者指向另一个可以给我带来同样好处的设置。
我应该怎么办?
How do you perform your UI tests on a CMS like EPiServer? Where the editor creates content based on Page Types, and you as a developer must test each page instance?
We are currently testing all our pages in EPiServer using dynamically created tests based on the respective Page Type. Our buildserver then every night generates the tests and launches the Selenium RC, ensuring that our tests are covering all pages and run each day.
It has been working for years, but some issues has arisen:
- It is based on Selenium RC 1.0.3, which now seems deprecated in favor of the WebDriver.
- The Seleniun RC seems to work only with older Firefox versions, when I upgraded to the latest (10), it stopped working
What I would like to do is find out either how to migrate to the WebDriver approach and retain the possibility to let the tests be generated on the fly, or be pointed to another setup that will bring me the same benefits.
What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 Stefan Forsbergs 项目:https://github.com/stefanforsberg/EPiTest
另请阅读他的博客,其中他写了很多有关在 EpiServer 中测试 UI 的文章,网址为 http://www.popkram.com/博客/
希望有帮助。
Check out Stefan Forsbergs project at https://github.com/stefanforsberg/EPiTest
Also read his blog where he has written a lot about testing UI in EpiServer at http://www.popkram.com/blog/
Hope that helps.