Introduction on QTP

Quick Test Professional (QTP) is an automation tool that helps in GUI testing, functional testing, Regression Testing. QTP uses a scripting language such as VB Script , Java Script. It is a record and play back automation tool , which can be extended for verification and validation.



QTP Concepts

  • Basic Scripting
  • Recording Modes
  • Object Repository
  • Actions
  • DataTables
  • Reporting
  • Checkpoints
  • Keyword and Expert View
  • Object Spy

Basic Scripting

  • Launch QTP Application , the add-manager screen is displayed first and it contains all the Add-in that is been used by QTP. By defualt QTP supports Activex, Visual Basic and Web. E.g If your doing an autoamtion on SAP application, you need to purchase it from QTP and install it, once installed it will be displayed in the Add-in Manager screen. Now click on okay and proceed.
  • Once the QTP Application is launched, Click on New Test under File ---> New ---> Test. This will open a new test, ctrl + N is the short cut for creating a new test.
  • Open a QTP sample application from (Start --->Program---> QTP Professional ---> Sample Application ---> Flight), once you see the login page, click on record button in QTP Application and enter the following login details (Username: Jhon, Password: mercury), and stop recording.