自动转换成HTML硒测试的JUnit的方式吗? [英] Automated way of converting Selenium HTML tests to JUnit?

查看:117
本文介绍了自动转换成HTML硒测试的JUnit的方式吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Selenium IDE 1.0.10为Firefox在Mac 10.6.6。我们的QA部门创造了硒一些HTML测试,我需要转换为Junit的。在IDE中,我可以通过转到文件菜单并选择出口做到这一点。什么是自动/脚本的方式做到这一点同样的任务?

I'm using Selenium IDE 1.0.10 for Firefox on Mac 10.6.6. Our QA department has created some HTML tests for Selenium that I need to convert to Junit. In the IDE, I can do that by going to the File menu and choosing export. What is an automated/scriptable way to do this same task?

谢谢, - 戴夫

推荐答案

看selenese4J - Maven的插件。类似selenium4j( https://github.com/RaphC/selenese4j-maven-plugin )。

Look at the selenese4J-maven-plugin. Similar to selenium4j (https://github.com/RaphC/selenese4j-maven-plugin).

提供了许多功能:
硒1/2(的webdriver)转换
测试套件代
您的HTML文件的国际化
可能使用片段转化为具体的测试您的HTML文件(例如:计算工作日,编写自定义生成值,处理动态值...)
标记化属性使用

Provides many features : Selenium 1/2 (WebDriver) conversion Test Suite generation Internationalisation of your html file Possibility to use snippet into your html file for specific test (e.g : computing working day, write custom generation of values, handle dynamic values ...) Use of tokenized properties

这篇关于自动转换成HTML硒测试的JUnit的方式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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