从QTP移到硒,谁能帮我找到报告目的的框架 [英] move from QTP to selenium , can anyone help me to find a framework for reporting purposes

查看:140
本文介绍了从QTP移到硒,谁能帮我找到报告目的的框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司想从QTP搬到硒,任何人都可以帮我找到报告的目的,我只是需要确保当步失败有耕种我说了报告的框架:)
谢谢

my company want to move from QTP to selenium , can anyone help me to find a framework for reporting purposes i just need to make sure when the step is failed there is a report to till me that :) thank you

推荐答案

首先,你必须明白,不像QTP,硒是不是测试工具。这仅仅是一个库,以允许网络浏览器的自动化。它不提供断言机制,测试运行,报告等,像QTP商业工具做的。

Firstly you must understand that unlike QTP, Selenium is NOT a test tool. It is just a library to allow automation of a web browser. It does not provide an assertion mechanism, test runner, reporting, etc that commercial tools like QTP do.

相反,你必须硒与测试框架库结合起来。这些都是具体的平台,并将为您提供的方法来构建测试,作出断言并创建报告。

Instead, you have to combine Selenium with a test framework library. These are platform specific and will provide you with methods to structure tests, make assertions and create reports.

有很多选择,如RSpec的(红宝石),黄瓜(红宝石/ JAVA),NUnit的(C#),TestNG的(渣),和很多很多。

There are many options such as RSpec (Ruby), Cucumber (Ruby/Java), NUnit (C#), TestNG (Java), and many, many more.

这篇关于从QTP移到硒,谁能帮我找到报告目的的框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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