Hello Siddhant, some of the major differences between Selenium and QTP are:
-
Selenium is an open source tool which can be used freely, while QTP is a licensed tool owned by HP. You need to purchase a license to use QTP.
-
Selenium supports different browsers like Chrome, IE, Firefox, Safari, Opera etc, on the other hand QTP supports IE & Firefox only.
-
Selenium tests could be written in multiple languages such as Java, Ruby, C# and Python, but QTP supports only VB script.
-
Selenium is platform independent thus can be used in Windows, Linux and MacOS, while QTP Supports Windows Platform only.
-
Selenium can only automate web-based applications, on the other hand QTP can test desktop-based, mainframe applications.