Showing posts with label HP UFT. Show all posts
Showing posts with label HP UFT. Show all posts

Saturday 20 August 2016

What are the reasons for choosing to automate your project and why did you choose HP UFT/QTP?

This is a frequently asked question to Test Automation Engineer. I tried to jot down my thoughts on it.  I would like to answer this query in two part -

1. Reasons for choosing to automate your project :
First part of this query is here, reason behind automation is plain & simple -
  • Automation saves lots of time while retesting and regression testing.
  • Automation saves manual resource and money.
  • It increases test coverage and Accuracy.
  • Run tests faster than human users.
  • Tests can be re-used on different versions of the software at any time.
  • Less human resources are involved in automation
  • Automate repetitive work & save QA Engineer time for business elusive bugs
  • Ultimately save money
  • write once run anywhere,anytime
  • Saves time and money.
  • we can schedule the scripts and set computer to run it automatically.
  • Its cool and more interesting than manual testing, even it help developers.
2. Reasons for choosing HP UFT/QTP :

  • UFT/QTP support both Web application and window application.
  • It generates the code automatically, you do not have to waste your time writing code and debugging the code like in selenium.
  • Object repository is one of the major features of QTP. Object repository stores the properties of various object or element.
  • QTP supports almost all popular automation frameworks like Linear, Keyword, Data Driven, Hybrid etc. for automation purpose.



The only disadvantage of HP UFT/QTP is that it is not open source. In order to use it, you need to buy license.

Monday 2 May 2016

Does QTP testing require in depth knowledge of VB script

You need to understand what you are trying to do with QTP. Generally, QTP testers work on three different levels -

1. User - Framework and automation test scripts are created by other people in this scenario. The user only executes the prewritten scripts and analyze the results. You will need little knowledge of vbscript in this case, just to be able to troubleshoot if something goes wrong. You should know following in VB Script - Focus on flow controls, creating methods, basic string operations, date operations, variables type, reading and writing to Excel, and commonly used VB script methods.

2. Script developer - In this case, you will need to prepare test scripts, adhering to the guidelines of the framework in your organization. You will need deeper understanding of VBScript and programming in general to play this role.

3. Framework designer/developer - This is a highly specialized role. You will need in depth knowledge of VBScript and at least another high level language, understanding of design patterns and good grasp of data structures and algorithms to play this role.

Think where you want to be in your career. In case you want to opt for #3, You should start learning VBScript.


You can visit W3Schools Online Web Tutorials and complete online tutorial on VB. 

Thursday 2 January 2014

Monday 23 December 2013

What is HP QTP Test Batch Testing tool

HP Quick Test Professional Test Batch Runner runs several tests in succession. Once the scripts are added in the tool, it will automatically open the scripts and start executing them one after the other.
·        To enable Test Batch Runner to run tests, you must select [Allow other HP products to run tests and components] in the Run pane of the Options dialog box.
·        Test Batch Runner can be used only with tests located in the file system. If you want to include tests saved in Quality Center in the batch run, you must first save the tests in the file system.
·        You can stop a test batch run at any time by clicking the Stop button.

To set up and run a test batch:
1.      From the Start menu, select Programs > Quick Test Professional > Tools > Test Batch Runner. The Test Batch Runner dialog box opens.
2.      Click the Add button or select Batch > Add. The Open Test dialog box opens.
3.      Select a test you want to include in the test batch list and click Open. The test is added to the list.
4.      If you want to save the batch list, click the Save button, or select File > Save, and enter a name for the list. The file extension is .mtb.
5.      When you are ready to run your test batch, click the Run button or select Batch > Run.