I have an application/product which is created using .net technologies. This product has a GUI, which connects to a DB using a Web API (SOAP on an application server). Majority of the tests are executed for the values in the DB, while the others may fall into Usability, Performance, etc. As such, 60-70% of the tests to be executed are to verify if the values in the DB are correctly shown on the GUI, while the others test if the GUI is working as desired in the requirement specifications.
The other aspect to the testing will also be testing the backend Application server interface with both the DB and the GUI. As this will enable us to determine, if the App Server is sending bad values to the GUI or is it the DB which has bad values!
The product UI does not change much, except to add new features in the form of additional dropdown menu items and additional pages for these menu items.
Considering the above, which framework would be more suitable? QTP or Selenium or some other Commercial/Open Source tool?
(Cost is not a major concern, and neither is browser compatibility or OS. The system installs on a Windows Server, and DB is compatible.)
Key Differences between QTP and SeleniumQTP can be used to test web, desktop applications, and client-server But Selenium is used to test only web applications. QTP UFT supports only code written in VB script. On the other hand, Selenium supports many languages, like PHP, Java, Ruby, Python, etc.
UFT is a more powerful tool as compared to Selenium, but because of its higher license cost, many organisations do not adopt this tool for automation. Moreover, the maximum number of tools which could be integrated with UFT are paid as well, reducing its demand and popularity.
With QTP, it supports VB scripting language whereas Selenium offers more power and flexibility. Therefore, those using Java, . net, Python and Ruby can use Selenium since it accommodates all these scripting languages.
QTP – History and Evolution HP Quick Test Professional was originally owned by Mercury Interactive and it was acquired by HP. Its original name was Astra Quick Test and later named as Quick Test Professional but the latest version is known as Unified Functional Tester (UFT).
We have an acceptance testing 'framework' built around Selenium to test our app which has a flex UI that talks to a java + db back-end.
We could easily integrate Selenium into our existing testing and continuous integration infrastructure because we can write our scripts in java and use junit to drive the testing. These tests are also written and maintained by developers. We also use dbunit to set up the database before each test.
Our test department however decided to go with QTP. They were shown our infrastructure built around Selenium but they found it hard to understand. I know they have a full-time dedicated person to write the tests and maintain them.
Since I do not know your exact situation I can only suggest you to consider the following:
Selenium is an excellent choice if...
QTP might be a good choice if...
This article might also help you.
I think it is obvious which one I prefer, but you need to decide what works best for your situation.
I think your best choice will be HP new solution for GUI and non GUI testing. The new solution is a new integration with 2 products - QTP & ServiceTest.
The integration between those 2 give the users one solution to automate cross layers applications as well as integration testing between different applications.
You can find more information at HP site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With