📜  Selenium和 QTP 的区别

📅  最后修改于: 2021-09-10 03:03:58             🧑  作者: Mango

Selenium是用于测试软件的工具。无需学习测试脚本语言,因为Selenium提供了一种无需学习即可编写功能测试的回放工具。

QTP 代表 QuickTest Professional。它是一个自动化的功能测试工具。

以下是Selenium和 QTP 之间的一些差异:-

Selenium QTP
Selenium is an Open source tool hence no license required. License is required.
There is a Low resource consumption during test scripts execution. In QTP there is a High resource consumption.
There is a customer support in Selenium that is dedicated HP support. There is a customer support in QTP that is selenium community forums
There is relyment for parameterization on any one of the supported programming language. For parameterization in QTP, built-in tools are available.
Some supported environments in Selenium are Android, iOS, Windows, Linux, Mac, Solaris. QTP supports only Windows.
It supports automation for web based applications There is a support for test on both web and desktop based applications.
Java, C#, Ruby, Python, Perl, PHP and JavaScript are the programming languages supported in selenium. QTP supports VB Script.
For generating the reports of test, selenium rely on external tool. There is built-in test report generation within the tool QTP.
Object Repository is absent in selenium. There is a build-in object repository in QTP.
Recovery Scenario is absent in selenium. There is a build-in recovery scenario in QTP.
Browsers supported by selenium are Google Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc. Browser supported in QTP are specific versions of Google Chrome, Mozilla Firefox and Internet Explorer.
Selenium is less user friendly. QTP is user friendly.