Ins & Outs of Software Testing Technology Under One Roof
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
Ins & Outs of Software Testing Technology Under One Roof
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
Home > Knowledge Center > Interview Preparation - FAQ > FAQ - QTP - Quick Test Professional > HP QTP Question Bank: Q. 191 to 200

HP QTP Question Bank: Q. 191 to 200

Sign up to receive Regular updates via email or RSS!

Type your email address and press Enter

Download Free eBooks

Download Several World-Class eBooks on "Software Testing" and "Quality Assurance" Absolutely Free of Cost!!!


Quick Links

  • Free Updates
  • Write & Earn
  • Quick Navigation Sitemap
  • ISTQB Certification
  • QTP Certifications

Advertisements

HP QTP Question Bank: Q. 191 to 200

Posted in: 3 responses

HP QTP Question Bank: Q. 191 to 200

Q. 191: What is the advantage of using Index Property in Programmatic Descriptions?

The index property is quite useful test object property for uniquely identifying an object. The index test object property identifies an object based on the order in which it appears within the source code, where the first occurrence is 0.

Index property values are object-specific.

<<<<<< =================== >>>>>>

Q. 192: How can we run standard DOS commands in QTP tests?

We can run standard DOS commands in our QTP test or function using the VBScript Windows Scripting Host Shell object (WSCript.shell). For example, we can open a DOS command window, change the path to

C:, and run the DIR command using the following statements:Dim oShell

Set oShell = CreateObject (“WSCript.shell”)

oShell.run “cmd /K CD C: & Dir”

Set oShell = Nothing

<<<<<< =================== >>>>>>

Q. 193: What is the advantage of having User-Defined Functions?

If we have segments of code that we need to use several times in our tests, we create a user-defined function.

A user-defined function encapsulates an activity (or a group of steps that require programming) into a keyword. By using user-defined functions, our tests become shorter, and easier to design, read, and maintain. We can then call user-defined functions from an action by inserting the relevant keywords into that action.

<<<<<< =================== >>>>>>

Q. 194: What is a Function Library?

A function library is a Visual Basic script containing VBscript functions, subroutines, modules, and so forth.

We can use QTP to modify and debug any existing function libraries (such as .vbs or .txt files).

Using QTP, we can define and store our user-defined functions in a function library (saved as a .qfl file, by default)

<<<<<< =================== >>>>>>

Q. 195: What are the modes available to open a function library?

We can open a function library, only if you have read or read-write permissions for the file. We can open a function library in following two modes:

1) Edit Mode: Enables us to view and modify the function library. While the function library is open on our computer, other users can view the file in read-only mode, but they cannot modify it.

2) Read-only mode: Enables us to view the function library but not modify it. By default, when we open a function library that is currently open on another computer, it opens in read-only mode.

We can also open a function library in read-only mode if we want to review it, but we do not want to prevent another user from modifying it.

<<<<<< =================== >>>>>>

Q. 196: How can we debug a Function Library?

Before we can debug a function library, we must first associate it with a test and then insert a call to at least one of its functions. For example, we can use the Debug Viewer to view, set, or modify the current value of objects or variables in our function library.

We can step into all the functions, set breakpoints, stop at breakpoints, view expressions, and so forth.

We can begin debugging from a specific step, or we can instruct QTP to pause at a specific step.

<<<<<< =================== >>>>>>

Q. 197: What is Function Definition Generator?

Function Definition Generator is a feature of QTP, which enables us to generate definitions for new user-defined functions and add header information to them.

We can then register these functions to a test object, if needed. We fill in the required information and the Function Definition Generator creates the basic function definition for us. After we define the function definition, we can insert the definition in our function library and associate it with our test, or we can insert the definition directly in a test script in the Expert View. Finally, we complete the function by adding its content i.e. code.

<<<<<< =================== >>>>>>

Q. 198: What methodology QTP follows while running the tests?

If our test contains a global Data Table parameter, QTP runs the test once for each row in the Data Table.

If our test contains a Data Table parameter for the current action data sheet, QTP runs the action once for each row of data in that action data sheet.

We can also specify whether to run the first iteration or all iterations, for the entire test or for a specific action in the test; or to run the iterations for a specified range of data sets.

We can run the entire test from the beginning, or we can run part of it. We can designate certain steps as optional, to enable QTP to bypass them instead of aborting the run if these steps do not succeed.

<<<<<< =================== >>>>>>

Q. 199: How can we do part running of the test?

We can use the Run from Step option to run a selected part of our test.

This enables us to check a specific section of our application or to confirm that a certain part of our test runs smoothly.

With this option the test is run from the Expert View & test is made to run from the selected step until the end of the action. Using Run from Step in this mode ignores any iterations.

<<<<<< =================== >>>>>>

Q. 200: What are Optional Steps in testing?

An optional step is a step which is not required to successfully complete a run session.

For example, suppose that when recording a test, the application we are testing prompts us to enter a user name and password in a login window. When we run the test, however, the application does not prompt us to enter our user name and password because it retained the information that was previously entered. In this case, the steps that were recorded for entering the login information are not required and should, therefore, be marked optional.

Continue to Next Part : Q 201 to 210

Posted in FAQ - QTP - Quick Test Professional, Interview Preparation - FAQ

Post navigation

HP QTP Question Bank: Q. 171 to 180
HP QTP Question Bank: Q. 181 to 190
Quick Links to Our Knowledgebase
Interview Preparation
Interview Preparation Resources for Beginners to Experts
PMI PMP (Project Management Professional) Certification
PMI PMP Certification Préparation Ressources
PMI PMP Certification Exam Practice Question Papers
Study Material for ISTQB Certifications
Study Material - ISTQB Certified Tester Foundation Level Exam
Study Material - ISTQB Agile Tester Extension Level Exam
Study Material - ISTQB Certified Tester Advanced Level - All 3 Certifications
Keep track of latest posts by subscribing our RSS feed.You can also Subscribe by E-mail and get All New articles delivered directly to your Inbox.
Study Material for CSTE Certification
Complete Study Material-Certified Software Test Engineer-CSTE Certification Exam
Certifications on Reputed Automation Tools
Study Material - HP QTP / UFT Certification Exam
Study Material - HP QC / ALM Certification Exam
Study Material - HP LoadRunner Certification Exam
Study Material - IBM Rational Functional Tester - RFT Certification Exam
Quick Navigation Sitemap of SoftwareTestingGenius

Get your Absolutely Free Copy of Several Presentations & E-Books related to ISTQB, HP QTP/UFT, Load Runner, RFT and many more Certification Exams, prepared by Expert & Trainers, by writing to: Software.testing.genius@gmail.com

3 thoughts on “HP QTP Question Bank: Q. 191 to 200”

  1. gitanjali says:
    April 27, 2009 at 7:25 am

    Excellent work done. A very good QTP question and answers bank. I got tremendous help from all your questions . I’m preparing for QTP interview, Has helped me alot. Kindly add more questions specifying versions of QTP and differences btw the present and previous versions

  2. Manatax says:
    June 1, 2009 at 8:06 pm

    Thank you for taking the time. It’s highly appreciated. Keep up the good work! 🙂

  3. Dinesh says:
    August 13, 2009 at 5:23 pm

    Excellent set of questions. If you can add some scenarios for scripting would be very helpful for practicing the concepts learned. Keep up the good work…

Share Your Views Cancel reply

Your email address will not be published. Required fields are marked *

Advertisements

  • Popular
  • Recent
Full Study Material for ISTQB-Foundation to All 3 Advanced level Certification Exams
Consolidated Study Material-Full Knowledgebase on QA and Testing
Consolidated Study Material-IBM RFT Certification Exam
Consolidated Study Material-QTP and QC Certification Exams
Consolidated Study Material-ISTQB Certification Exams
An Insight to Project Management – A Short Primer for Novice to Experts
Essential Skills an Effective Project Manager must have
Determine whether a given endeavor is a Project? or not?
Glossary of terms related to Project Management-Alphabet T to Z
Glossary of terms related to Project Management-Alphabet Q to S

About Us
Know more about Software Testing Genius!
Contact Us
Start a conversation with our team of experts!
Easy Navigation Sitemap
Quickly navigate through Software Testing Genius!

Privacy Policy
Copyright Policy
Online Conduct

Advertise
Promote your Website, Product or Services!
QTP/UFT Training
Get Online Training From HP Certified Experts!
Software Testing Service
Outsource your testing requirements to us!
Connect with us
Latest Posts
  • An Insight to Project Management – A Short Primer for Novice to Experts
  • New Techniques emerging out of the Fourth Industrial Revolution
  • What is Katalon Studio and How to Use it
  • Quick Start to preparation for ISTQB Agile Tester Extension Exam
  • An insight to the revolution of “Big Data” – A Primer

Free & Best Study Material

  • ISTQB Certification Foundation & Advanced
  • QTP Certification (UFT 11.5) & ALM
  • HP Load Runner 12.x
  • IBM Rational Functional Tester (000-842)

Copyscape Protection

Copyright © 2008 - 2019 Software Testing Genius

Web Cohort: Corporate Network Executions