Pages

Quality Center 10.0 Majer Topics

 Introduction to Quality Center
 What is Quality Center?
 Why to use Quality Center
 Version of Quality Center
Overview of quality Center user interface
Various tabs in Quality center
Requirement Module
Requirement Module Overview
Creating Requirement tree
Creating Parent & Child requirements
Understanding the Description tab
Understanding the History tab
Uploading attachments to requirement
A glance at various columns in requirement
Types of views in requirement module
Requirement grid view
Requirement coverage view
Test Plan Module
Creating folder structure
Create test cases
Using parameters
Template test cases
'Call to test' feature
Requirement coverage
Test Lab Module
Overview of Test Lab
Detail of various tabs
Creating folders
Creating Test sets
Adding test cases
Different columns in Execution Grid
Execution Flow tab
Scheduling Test runs
Test Set Properties tab
Linked Defects tab
Running Tests manually
Running Tests automatically
Viewing Test results
Quality Center Defects
Overview of Defects
Creating defects after test execution
Adding defects in defect module
Creating defects during test execution
Linking Defects
How to close a defect
Closing defects after retest
Mailing the defects
Quality Center reports & graphs
Why Reports & Graphs?
How to create reports & graphs for Analysis?

HP QC to excel sheet ahamad

HP Quality Center-Site -Ahamad

Exporting -Quality Center to Excel

HP Quality center Defect module

HP Quality center Test lab Module

Hp Quality center -Test plan module

HP Quality center intraduction

Quality Center demo part-2

HP Quality center video demo

HP Quality center Demo -simple Demo

Qtp To Qality center using run the script

HP-QUALITY CENTER USER GUILDE





Application transformation demands that you deliver quality applications that meet business goals while supporting predictability, repeatability and agility across the application lifecycle. HP Application Lifecycle Management software helps you meet these goals while accelerating application transformation and enabling collaboration across distributed teams



 PLEASE CLICK AND DOWNLOAD THE QUALITY CENTER USER GUIDE

Advanced Test Automation Technologies




By Jeff Hinz, CTO, TESTars Test Competence Centre.with Martin Gijsen, Principal Test Automation Architect, DeAnalist.nlReviewed for accuracy by Christopher J. Scharer, Director VIVIT Worldwide and Maurice Siteur, Managing Consultant, in Testing, Capgemin
Explaining fourth generation test automation Jeff wrote a whitepaper to get clients knowledgeable in basic test automation principles. For those needingan introduction to the basics of test automation please refer to the white paper Jeff wrote addressing the subject, Test Automation Awarenessi. To understand advanced test automation, it is important to understand the progression/evolution of test automation approaches

1st Generation – Record and Playback
                                      

2nd Generation – Use/reuse of functions in test scripts




3rd Generation – Data Driven scripts/functions


4th Generation – Action word (keyword) scripts/func.



5th Generation – Scriptless Automation






General Automation Process In Real Time


                 





1. Requirement Gathering.
In this stage Test Engineers will collect the requirement documents and review the documents and they analyse the documents from where to automate it.
2.Identify the Best tool to fit.
In this stage Test engineers will analyse which tool is the best to automate the application.
3.Proof of Concept
Here Test engineers will give a proof how to automate the software to the client.
Some times client may give end to end scenarios or we may add end-to-end scenarios.
4.Feasibility Analysis
It is detailed study of the requirements in order to check whether all the requirements are possible are not.
Test Engineers will check where to automate the application and for example cmd prompt test cases will not be automated.
5.Estimation
*Based on Man hours we calculate Man days
6.Frame works
There are different types of frame works and test lead will decide the best frame work for the software.
Frame works are Keyword Frame work, Linear Frame work, Modular Frame work, Data driven Frame work, Hybrid Frame Work.
7.Develop Automation Scripts
Here the Test Engineers will develop the scripts by Knowing the requirement document, when the build is released then they debug the scripts and execute it
8.Failure Analysis
Here we should plot the data how it is failed
Why the script is failing?
Reasons for failures
Data issues
Application may synchronise
Object identification Issues
Run time errors,Defects
9.Defect Tracking
Test Engineers will track the defect where it is failed.
10.Publish Results
We should give proper Reason where it is failed and in which part it is effecting.

Automation testing Tools


 Test automation tools

Tool nameProduced byLatest version
QTPHP11.0
IBM IBM Rational8.1.0.3
Parasoft SOAtestParasoft9.0
RanorexRanorex GmbH3.0
Rational robotIBM Rational2003
SeleniumOpen source1.0.10
SilkTestMicro Focus2010 R2
TestCompleteSmartBear Software8.2
TestPartnerMicro Focus6.3
TOSCA TestsuiteTRICENTIS Technology & Consulting7.2.1
VSMicrosoft2010
WATIROpen source1.6.5
WebUI Test StudioTelerik, Inc.2010.3

Common problems in Automation Testing




What are the common problems with software automation?

The biggest concern is the cost incurred for test automation. Also, often s/w test automation requires skilled personnel and authentic test automation tools. Purchasing license of such tools is a costly affair.
Also the time required for test automation is more. Automation often requires recording the sequence of operations you need to perform in order to execute a particular test case and comparing the final o/p with the expected o/p. Functions/macros need also be written sometimes for some test cases. All this could be a time consuming job.

What are the parameters of Quality cost?

The parameters of Quality Cost are:
Speed
Accuracy
Efficiency
Performance
Customer Satisfaction

General HR Interview Questions,


General HR Interview Questions - Common for All:
This is a collection of traditional and behavior-based interview questions, HR personnel usually shoot on the applicants going for a position at any level in an organization.

To help you understand how to tackle such questions in your job interview, a strategy suggestion on the question is provided, after every question.
Irrespective of the fact whether you are a Software Tester or a Developer or any other professional you can use following questions to sail through the job interview comfortably.

Q. 1: Can you please tell me about yourself?
The most often asked question in interviews. Although this question is quite broad, keep your answer focused and relevant to the job you're applying for.

You need to have a short statement prepared in your mind. Be careful that it does not sound rehearsed. Limit it to work-related items unless asked otherwise. Mention the top three or four aspects of your experience, skills, interests, and personality that make you a qualified candidate for the job.

Talk about things you have done and jobs you have held that relate to the position you are interviewing for. Start with the item farthest back and work up to the present.
<<<<<< =================== >>>>>>
Q. 2: What are your long- and short-term career goals?

The interviewer is trying to get a feel for why you want this job and how long you’re going to stick with it. The ideal answer will assure the employer that you’re worth his investment - that is, training you, introducing you to clients, entrusting you with responsibility.

Your answer should assure him that you’d be around for awhile - and maybe even a long time.
<<<<<< =================== >>>>>>
Q. 3: Do you consider this a lateral or vertical career move?

This question is designed to find out how challenged you’ll be on the job -be careful, it’s a double-edged sword.

If you aren’t challenged, you’ll get bored and move on. If you’re too challenged, you might not make it past the first week.

Try to come in somewhere in the middle - maybe say something to the effect of, "It’s a comfortable stretch." Another tip: Your answer will also give the employer a sense of whether you’re hoping for a just a little or a big increase in salary.

<<<<<< =================== >>>>>>
Q. 4: Why do you want to leave your current position?

The interviewer is concerned about any problems that might pop up on your next job - especially since that might be with him. Be sure to use good judgment here.

Don’t bad-mouth your current boss and don’t bring up anything negative. A safe approach is to say something like: "It’s time to move on in my career" or "I'm looking for a greater challenge."
<<<<<< =================== >>>>>>
Q. 5: Why did you leave your last job?

The interviewer wants to know if there are any underlying problems like: lack of commitment, difficult personality, poor performance, or anything that might lead to termination. Employers don’t want to take on someone who has a record of walking out on jobs or getting fired.

Stay positive regardless of the circumstances. Never refer to a major problem with management and never speak ill of supervisors, co-workers or the organization. If you do, you will be the one looking bad. Keep smiling and talk about leaving for a positive reason such as an opportunity, a chance to do something special or other forward-looking reasons.
No matter why you left your last job, couch your response in positive terms, without lying.
<<<<<< =================== >>>>>>
Q. 6: Please explain why you have a gap in your employment history?

The employer is looking for any problems in your personal life that might become his headache if he hires you.

Explain your gaps honestly, leaning on activities that support your job objective, if that’s possible.

If you don’t have anything to say that’s relevant, then talk about activities that show your strength of character and helped you know what you really want to do next: the job you're interviewing for.
<<<<<< =================== >>>>>>
Q. 7: What experience do you have in this field?
Speak about specifics that relate to the position you are applying for.

If you do not have specific experience, get as close as you can.
<<<<<< =================== >>>>>>
Q. 8: Do you consider yourself successful?
You should always answer yes and briefly explain why.

A good explanation is that you have set goals, and you have met some and are on track to achieve the others.
<<<<<< =================== >>>>>>
Q. 9: What do co-workers say about you?
Be prepared with a quote or two from co-workers. Either a specific statement or a paraphrase will work. Jill Clark, a co-worker at Smith Company, always said I was the hardest workers she had ever known. It is as powerful as Jill having said it at the interview herself.
<<<<<< =================== >>>>>>
Q. 10: What do you know about this organization?
This question is one reason to do some research on the organization before the interview. Find out where they have been and where they are going. What are the current issues and who are the major players?
Q. 11: What have you done to improve your knowledge in the last year?
Try to include improvement activities that relate to the job. A wide variety of activities can be mentioned as positive self-improvement. Have some good ones handy to mention.
<<<<<< =================== >>>>>>
Q. 12: Are you applying for other jobs?
Be honest but do not spend a lot of time in this area. Keep the focus on this job and what you can do for this organization. Anything else is a distraction.
<<<<<< =================== >>>>>>
Q. 13: Why do you want to work for this organization?
This may take some thought and certainly, should be based on the research you have done on the organization. Sincerity is extremely important here and will easily be sensed. Relate it to your long-term career goals.
<<<<<< =================== >>>>>>
Q. 14: Do you know anyone who works for us?
Be aware of the policy on relatives working for the organization. This can affect your answer even though they asked about friends not relatives. Be careful to mention a friend only if they are well thought of.
<<<<<< =================== >>>>>>
Q. 15: What kind of salary do you need?
A loaded question. A nasty little game that you will probably lose if you answer first. So, do not answer it. Instead, say something like, That's a tough question. Can you tell me the range for this position? In most cases, the interviewer, taken off guard, will tell you. If not, say that it can depend on the details of the job. Then give a wide range.
<<<<<< =================== >>>>>>
Q. 16: Are you a team player?
You are, of course, a team player. Be sure to have examples ready. Specifics that show you often perform for the good of the team rather than for yourself are good evidence of your team attitude. Do not brag, just say it in a matter-of-fact tone. This is a key point.
<<<<<< =================== >>>>>>
Q. 17: How long would you expect to work for us if hired?
Specifics here are not good. Something like this should work: I'd like it to be a long time. Or As long as we both feel I'm doing a good job.
<<<<<< =================== >>>>>>
Q. 18: Have you ever had to fire anyone? How did you feel about that?
This is serious. Do not make light of it or in any way seem like you like to fire people. At the same time, you will do it when it is the right thing to do. When it comes to the organization versus the individual who has created a harmful situation, you will protect the organization. Remember firing is not the same as layoff or reduction in force.
<<<<<< =================== >>>>>>
Q. 19: What is your philosophy towards work?
The interviewer is not looking for a long or flowery dissertation here. Do you have strong feelings that the job gets done? Yes. That's the type of answer that works best here. Be short and positive, showing a benefit to the organization.
<<<<<< =================== >>>>>>
Q. 20: What college experience are you especially proud of?

If you haven't been in the workforce long, this question is your opportunity to give balance to the fact that you don't have much paid experience.

Spotlight your academic and extracurricular achievements, especially the ones that are relevant to your job objective.
Q. 21: If you had enough money to retire right now, would you?
Answer yes if you would. But since you need to work, this is the type of work you prefer. Do not say yes if you do not mean it.
<<<<<< =================== >>>>>>
Q. 22: Have you ever been asked to leave a position?
If you have not, say no. If you have, be honest, brief and avoid saying negative things about the people or organization involved.
<<<<<< =================== >>>>>>
Q. 23: Explain how you would be an asset to this organization
You should be anxious for this question. It gives you a chance to highlight your best points as they relate to the position being discussed. Give a little advance thought to this relationship.
<<<<<< =================== >>>>>>
Q. 24: Why should we hire you?
Point out how your assets meet what the organization needs. Do not mention any other
<<<<<< =================== >>>>>>
Q. 25: Tell me about a suggestion you have made
Have a good one ready. Be sure and use a suggestion that was accepted and was then considered successful. One related to the type of work applied for is a real plus.
<<<<<< =================== >>>>>>
Q. 26: What irritates you about co-workers?
This is a trap question. Think real hard but fail to come up with anything that irritates you. A short statement that you seem to get along with folks is great.
<<<<<< =================== >>>>>>
Q. 27: What strengths would you bring to this job that other candidates might not?
The employer’s giving you the floor to sell yourself for the job. Prepare well for this answer and deliver it with confidence.
There are many good answers to this question, just stay positive. A few good examples: Your ability to prioritize, Your problem-solving skills, Your ability to work under pressure, Your ability to focus on projects, Your professional expertise, Your leadership skills, Your positive attitude.

Make your presentation using brief achievement stories whenever possible.

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

Q. 28: Out of all the problems you had at your previous position, which was the hardest to deal with?

This is a bit tricky question! Don’t give an impression that you had lots of problems, even if you did. Instead, refer briefly to an area you - and probably the rest of the world - find challenging, and move right on to how you’ve learned to deal with it.
<<<<<< =================== >>>>>>
Q. 29: Tell me about your dream job.
Stay away from a specific job. You cannot win. If you say the job you are contending for is it, you strain credibility. If you say another job is it, you plant the suspicion that you will be dissatisfied with this position if hired. The best is to stay genetic and say something like: A job where I love the work, like the people, can contribute and can't wait to get to work.
<<<<<< =================== >>>>>>
Q. 30: Why do you think you would do well at this job?
Give several reasons and include skills, experience and interest.
Q. 31: What are you looking for in a job?
You can use the same answers as in Q. 29.

Stay away from a specific job. You cannot win. If you say the job you are contending for is it, you strain credibility. If you say another job is it, you plant the suspicion that you will be dissatisfied with this position if hired. The best is to stay genetic and say something like: A job where I love the work, like the people, can contribute and can't wait to get to work.
<<<<<< =================== >>>>>>
Q. 32: What kind of person would you refuse to work with?
Do not be trivial. It would take disloyalty to the organization, violence or lawbreaking to get you to object. Minor objections will label you as a whiner.
<<<<<< =================== >>>>>>
Q. 33: What is more important to you: the money or the work?
Money is always important, but the work is the most important. There is no better answer.
<<<<<< =================== >>>>>>
Q. 34: What would your previous supervisor say your strongest point is?
There are numerous good possibilities: Loyalty, Energy, Positive attitude, Leadership, Team player, Expertise, Initiative, Patience, Hard work, Creativity, Problem solver
<<<<<< =================== >>>>>>
Q. 35: Tell me about a problem you had with a supervisor
Biggest trap of all. This is a test to see if you will speak ill of your boss. If you fall for it and tell about a problem with a former boss, you may well below the interview right there. Stay positive and develop a poor memory about any trouble with a supervisor.
<<<<<< =================== >>>>>>
Q. 36: What has disappointed you about a job?
Don't get trivial or negative. Safe areas are few but can include: Not enough of a challenge. You were laid off in a reduction Company did not win a contract, which would have given you more responsibility.
<<<<<< =================== >>>>>>
Q. 37: Tell me about your ability to work under pressure.

The interviewer wants to know whether or not you like working under pressure. Be honest and positive. All jobs bring with them a certain amount of pressure, but some have a lot more than others. So give an example where the level of pressure was just right for you, which will suggest how much pressure you’re looking for on your next job.
<<<<<< =================== >>>>>>
Q. 38: Do your skills match this job or another job more closely?
Say!! Probably this one does. Do not give fuel to the suspicion that you may want another job more than this one.
<<<<<< =================== >>>>>>
Q. 39: What motivates you to do your best on the job?
This is a personal trait that only you can say, but good examples are: Challenge, Achievement, and Recognition
<<<<<< =================== >>>>>>
Q. 40: Are you willing to work overtime? Nights? Weekends?
This is up to you. Be totally honest.
Q. 41: How would you know you were successful on this job?
Several ways are good measures: You set high standards for yourself and meet them. Your outcomes are a success. Your boss tell you that you are successful
<<<<<< =================== >>>>>>
Q. 42: What type of classes or training are you planning to pursue at this point?

You want to look dedicated to developing your profession but you don’t want to appear to have so much going on that you won’t be 100 percent on the job.

Make it clear that your number one priority is your job; developing your profession is second.
<<<<<< =================== >>>>>>
Q. 43: Would you be willing to relocate if required?
You should be clear on this with your family prior to the interview if you think there is a chance it may come up. Do not say yes just to get the job if the real answer is no. This can create a lot of problems later on in your career. Be honest at this point and save yourself future grief.
<<<<<< =================== >>>>>>
Q. 44: Are you willing to put the interests of the organization ahead of your own?
This is a straight loyalty and dedication question. Do not worry about the deep ethical and philosophical implications. Just say yes.
<<<<<< =================== >>>>>>
Q. 45: Describe your management style.
Try to avoid labels. Some of the more common labels, like progressive, salesman or consensus, can have several meanings or descriptions depending on which management expert you listen to. The situational style is safe, because it says you will manage according to the situation, instead of one size fits all.
<<<<<< =================== >>>>>>
Q. 46: What have you learned from mistakes on the job?
Here you have to come up with something or you strain credibility. Make it small, well intentioned mistake with a positive lesson learned. An example would be working too far ahead of colleagues on a project and thus throwing coordination off.

<<<<<< =================== >>>>>>
Q. 47: Do you have any blind spots?
Trick question. If you know about blind spots, they are no longer blind spots. Do not reveal any personal areas of concern here. Let them do their own discovery on your bad points. Do not hand it to them.

<<<<<< =================== >>>>>>
Q. 48: If you were hiring a person for this job, what would you look for?
Be careful to mention traits that are needed and that you have.

<<<<<< =================== >>>>>>
Q. 49: Do you think you are overqualified for this position?
Regardless of your qualifications, state that you are very well qualified for the position.

<<<<<< =================== >>>>>>
Q. 50: How do you propose to compensate for your lack of experience?
First, if you have experience that the interviewer does not know about, bring that up: Then, point out (if true) that you are a hard working quick learner.
Q. 51: What qualities do you look for in a boss?
Be generic and positive. Safe qualities are knowledgeable, a sense of humor, fair, loyal to subordinates and holder of high standards. All bosses think they have these traits.
<<<<<< =================== >>>>>>
Q. 53: Tell me about a time when you helped resolve a dispute between others.
Pick a specific incident. Concentrate on your problem solving technique and not the dispute you settled.
<<<<<< =================== >>>>>>
Q. 54: What position do you prefer on a team working on a project?
Be honest. If you are comfortable in different roles, point that out.
<<<<<< =================== >>>>>>
Q. 55: Describe your work ethic.
Emphasize benefits to the organization. Things like, determination to get the job done and work hard but enjoy your work are good.
<<<<<< =================== >>>>>>
Q. 56: What has been your biggest professional disappointment?
Be sure that you refer to something that was beyond your control. Show acceptance and no negative feelings.
<<<<<< =================== >>>>>>
Q. 57: Tell me about the most fun you have had on the job.
Talk about having fun by accomplishing something for the organization.
<<<<<< =================== >>>>>>
Q. 58: On a scale of one to ten, how will you rate me as an interviewer?
Give a perfect answer of "10," and you'll seem too easy to please. Give anything less than a perfect 10, and he could press you as to where you're being critical, and that road leads downhill for you.
The best Answer could be - Once again, never be negative. The interviewer will only resent criticism coming from you. This is the time to show your positivism.
However, don't give a numerical rating. Simply praise whatever interview style he's been using.
If he's been tough, say "You have been thorough and tough-minded, the very qualities needed to conduct a good interview." If he's been methodical, say, "You have been very methodical and analytical, and I'm sure that approach results in excellent hires for your firm."
<<<<<< =================== >>>>>>

Q. 59: Why should I hire you from the outside when I could promote someone from within?
This question isn't as aggressive as it sounds. It represents the interviewer's own dilemma over this common problem. He's probably leaning toward you already and for reassurance, wants to hear what you have to say on the matter.

The best Answer could be - Help him see the qualifications that only you can offer.
Example: "In general, I think it's a good policy to hire from within - to look outside probably means you're not completely comfortable choosing someone from inside.
"Naturally, you want this department to be as strong as it possibly can be, so you want the strongest candidate. I feel that I can fill that bill because…(then recap your strongest qualifications that match up with his greatest needs)."
<<<<<< =================== >>>>>>

Q. 60: Do you want to ask any questions from me?
Always have some questions prepared. Questions prepared where you will be an asset to the organization are good. How soon will I be able to be productive? and What type of projects will I be able to assist on?

All the best :)



QTP- Interview Questions and Answers-1



QTP Basic Features
1) What are the advantages in Test Automation?
a)  Fast: Test Tool runs tests significantly faster than human users.
b) Reliable: Automation tool can perform the same operation each time, if we repeated multiple times, so that we can eliminate human errors.
c)  Repeatable: We can check how application or website reacts after repeated the same operation with multiple times.
d) Reusable: Automation scripts are reusable on different version of the application of websites even if the user interfaces changes.
e) Comprehensive: In automation testing we can build a suit of tests that covers every feature in the application or website.
f) Programmable: We can program sophisticated Tests that bring out hidden information from the application
2) What are the drawbacks in Test Automation?
a) It is expensive
b) We cannot automate all areas.
c) Lack of Skill
d) It has some limitations (It cannot test every thing)
3) What type of test tools available in the industry?
We can segregate Test tools in 2 categories
a) Business Classification
     1) Vendor Tools
     2) Open Source Tools
     3) In-house Tools
b) Technical Classification
     1) Functional and Regression Test Tools
     2) Load/Stress/Performance Test Tools
     3) Security Test Tools
     5) Test Management Tools
     6) Unit Test Tools
     7) Requirement Management Tools Etc...
4) What are the important factors in test tool selection?
a. Technical factors:
i. Nature of the AUT (Application Under Test)
ii. Tool Features (Facilities available)
iii. Availability of Skilled professionals
iv. Organizations experience
v. Technical support from vendor
b. Business factors:
i. Budget
ii. Vendor’s Reputation
iii. Client’s Interest
5) What test cases can be automated?
Test cases that we want to execute on number of versions of the software
Ex: Regression test cases
Test cases that we want to execute with multiple sets of data
Ex: Data driven test cases
Test cases having complex functionality
6) What test cases cannot be automated?
  1. Dynamically changing functionality
  2. Test cases that require more Human interaction
  3. CUI (command user interface) based test cases
7) Explain about the Testing process in QTP?
Planning:
  1. Analyzing the Application
  2. Automation Framework Implementation
  3. Selecting/Generating Test cases for Automation
  4. Collecting Test Data
  5. Configuring Tool Settings
  6. Generating the basic tests
Using Object Repository method or using Descriptive Programming, we can generate Tests
Enhancing Tests
With respect to our project requirements, we have to enhance our tests. For enhancing tests QTP is providing various features like:
Inserting Transaction points
  1.  Synchronization
  2.  Parameterization
  3. Inserting VB script Flow Control statements
  4. Adding comments
  5. Calling Functions/ calling Actions
  6. Using Environment variables
  7. Entering Regular Expressions
  8.  Inserting Checkpoints
  9. Inserting Output values
Etc..
Note: For any Test all enhancement methods not required.
Debugging Tests (if required)
  1. It is optional; basically scripting languages are Light weight languages, no need to compile them separately. During execution Scripts can be compiled and Run.
  2. If we have any doubts about some scripts, then we can execute them step by step with the support of VBScript Debug commands and Break points
Running tests
  1. Generally, many companies are using Framework feature for Running Tests.
  2. QTP Supports Individual Test execution, Batch execution, Tests execution through AOM Scripting, and Scheduled execution with the support of Windows Operating system.
Analyzing Results
  1. It is not the Responsibility of QTP; Test engineer has to do this manually.
  2. QTP is providing Result window in XML format.
  3. QTP is providing Result deletion tool also.
  4. QTP is providing Test results exporting facility. It supports HTML, Word document and PDF (portable document format) formats.
Reporting defects
Reporting defects also not a QTP responsibility that we have to do manually after analyzing the results, but if we are using Quality Center, from QTP result window we can send defects directly.
8) What types of License available for QTP?
a) Seat License or Node locked
Fixed for one System (Machine), we can use from that System only
b) Concurrent License or Floating License
This License, we can use from different Systems but one at a time
9)What are the QTP supported environments?
QTP Supports Software Applications based on Add-ins only
Add-in means Technology supporting files
QTP Add ins available for following technologies:
a) Default Add ins
1) Activex
2) Visual Basic
3)  Web
b) Other Add-ins
1) Delphi
2) Java
3) .NET Web forms
4) .NET Windows forms
5) WPF (Windows Presentation Foundation)
6) Oracle
7) People Soft
8) Power Builder
9) SAP for Web
10) SAP GUI for windows environment
11) Siebel Environment
12) Standard Windows
13) Terminal Emulator (TE)
14) Visual Age Smalltalk Environment
15) Web Services Environment
10) Does QTP Support UNIX Environment?
No, QTP doesn’t support UNIX/Linux Environment, Supports Windows Operating Environment only, but LoadRunner and Quality Center have support both Windows and UNIX Operating Environments.
11) What is the scripting language that used in QTP for applying programming logic?
Micro Soft Visual Basic Scripting edition (VBScript) engine embedded with QTP.
12) Does QTP Support Database Testing and Data driven Testing?
  1. Yes, SQL Engine embedded with QTP Tool, so we use SQL Statements directly in QTP Test Pane as well as in Function Library.
  2. QTP has an integrated Spread sheet(Excel like) for Performing Data Driven Testing, otherwise we can fetch test data directly from  external files and databases using VB Script.
  3. Creating Tests (Recording & Running, Object Repository and Object Identification Configuration)
1) What is Recording in QTP?
  1. It is process of creating the main body of a test by recording the typical processes that users perform.
  2. QuickTest records the operations we perform, displays them as steps in the Keyword View, and generates them in a script (in the Expert View).
2) How many Recording Modes available in QTP? What are they?
There are 3 Recording modes available in QTP.
     1) Normal Recording
     2) Analog Recording
     3) Low Level Recording
3) What is Analog Recording modes
  1. It Records exact mouse and keyboard operations, we can use this mode for recording continues mouse operations like digital signatures, paints etc..
  2. This mode doesn't generate statements for each and every operation, generates all operations in a Track file.
  3. By default this mode is disabled, after selecting Normal Recording mode only it enables.
4) What is Low Level Recording?
It Records some operations on Non-supported environments apart from Normal operations.
5) What are object and Software Objects?
  1. Object: Object is something, which has structure and properties.
  2. Software Object: an object is any entity that can be manipulated by the commands of a programming language, such as a value, variable, function, or data structure.
Example:
  1. GUI (Windows) Environment: Window, Dialog box, Edit Box, Button, Check Box, Radio Button, List Box and Combo Box etc...
  2. Web Environment: Browser, Page, Link, Image, edit Box, Button, Grid, Frame Etc..
6) What type of Objects available in QTP?
There are 4 types of Objects available in QTP.
     1) Run-time Objects
     2) Test Objects
     3) Utility Objects
     4) Automation / User Defined Objects
7) What are Utility Objects?
These are QTP reserved objects, used for Testing and Result reporting.
Example
a) SystemUtil
b) Reporter
c) DataTable
d) Services
e) environment etc...
8) What is Automation Object?
An object that is exposed to other applications or programming tools through Automation interfaces.
9) Explain about Object, Property and value?
Object:  It is something which has structure and properties
Property: an attribute of an Object.
Value: Value of the Property
10) What is Object Repository?
It is a Storage place for Storing Objects, QTP has 2 types of Repositories.
  a) Local Repository
  b) Shared Repository
11) What are the differences between Local  and Shared Repositories?
Local Repository:
  1. QTP Creates a Local Repository for every Action during Recording automatically and also QTP maintenance Local Repositories, but user can edit these repositories.
It is a QTP Internal file, extension is .mtr
Shared Repository:
  1. User  Creates Shared Repositories by adding objects in Object Repository Manager.This can be shared among nuber of tests.
  2. User has to maintain shared repository files
  3. Shared Repository files are External files, extension is .tsr 
12)  How to Start Test Automation Process, before the Application is ready?
QTP is providing a feature called "Define New Test Object" for creating new objects without Application. This feature available in Local Repository and Object Repository Manager.
13) How to Combine Repositories?
We Can combine Repositories using Object Repository Merge Tool. It is available in Object Repository Manager
14) Explain about Statement, Action and Test in QTP?
      a) Statement: an Instruction or a minimal executable unit
      b) Action: Set of Statements
      c) Test: One or more Actions
Design Time Data Table:
  1. It  is  viewed  in  the  QTP  Main Test
  2. It  is  created  prior  to  the  test execution
  3. It  represents  data  from  external Sources
Run-Time Data Table:
  1. It is viewed in the QTP Test Result Window
  2. It is created in Test Results after test execution.
  3. It represents a live version of design Time Data table.
QTP Interview Questions Part-IV
1) What are the differences between Actions and Functions and which are better?
Actions:
  1. It’s a QTP feature and Local feature (not a global feature)
  2.  We can use check points in Actions
  3.  As it is QTP feature it may corrupt
  4. Actions are slow execution
Functions:
  1. It’s a VB script feature and global concept
  2. We can’t use checkpoints in functions, instead of checkpoints we can use validation points (Loops and Conditional statements)
  3. It doesn’t corrupt
  4. Functions are faster in execution than Actions
2) How create methods in QTP?
By associating procedures to test objects.
3) How to enhance tests with windows API functions?
With the help of WSH (It is a Windows administration tool), we can use Windows API functions for enhancing Tests.
4) What are the major differences between functions and actions in QTP? What advantages there in functions than actions?
Read 21st question and answer.
5) What is Automation Object Model?
It’s a process of Automating the Quick test operations. To do this we can use java script, VC++ and .NET Apart from VBscript.
6) What is Windows Script Host?
WSH is a windows administration tool, it provides hosting environment for running VBscript, Jscript scripts.
7) What is exception handling?
Handling expected and unexpected errors during execution
8) What is the difference between constants and variables in VB Script?
We use constants for replacing literal values and constants never change.
We use variables for storing values that returned by the program, functions, etc.
Variable values may vary through out the script.
9) How test engineer identifies when programmatic descriptions are useful?
  1.  If application is not ready (using screenshots and documents we can prepare descriptive programming)
  2. If we want to make our scripts global
  3.  If lengthy tests are there and that we want to execute fast
10) How to retrieve data from application objects?
Using loop statements and GetROProperty method
11) How to build scripts that access data from external resources?
We can fetch test data directly from external files and databases by creating automation objects
Ex:ADODB, Filesystem object
12) What is object spy used for?
It is a feature of QTP, used for getting the object’s information (all properties and values) .It is available in QTP tool main window, in Local repository and in object Repository Manager
13) What is the purpose of input parameters?
For Passing values
14) What is an Action? How many types of Actions are there in QTP?
Set of statements to perform a task or tasks is called an Action.
Three types of actions are there.
1. non reusable actions
2. reusable actions
3. External actions
In QTP 9.2 default action is: Non reusable
In QTP 10.0 default action is: Reusable
Example:
Let there are two tests : test:1 and test:2
In test:1 let there are two actions
a.login (reusable)and b. insert order(nonreusable)
in test:2 let there are two actions
a.open order(reusable) and b. fax order(non reusable)
If we call login action from test:1 in test :2 then login action is called External action.
In test :2 login is reusable but calling point of view its external action
15) What is a virtual object? How to configure virtual objects?
  1. Whenever QTP is not recognizing an area or user defined object as an object that we can make as a virtual object.
  2. For making virtual objects QTP is providing a feature called Virtual object manager. Through this we can configure virtual objects.
16) What are dynamic objects?
The object, which properties change dynamically (frequently). We can use Regular Expressions to handle dynamic objects.
17) What is the purpose of description object?
The purpose of description object is to store multiple properties values of a test object.
18) What is the advantage of associating a procedure to a test object?
By associating a procedure to a test object we can use this as a method on that test object.
19) How to create a Library File?
  1. Open an Editor (Ex: Notepad),
  2. Generate some script statements and save with .vbs extension.
  3. In a library file we can put more than one function also
20) What are the disadvantages of using actions?
  1. Action is a QTP tool feature that occupies QTP’s more memory space.
  2.  It may be corrupted.
  3.  It is not a global feature. Test engineer may not have the control on action.
21) What is the difference between Test Objects and Run Time Objects ?
Test objects are basic and generic objects that QTP recognize. Run time object means the actual object to which a test object maps.
22) Can i change properties of a test object?
  1. Yes. You can use SetTOProperty to change the test object properties. It is recommended that you switch off the Smart Identification for the
  2. object on which you use SetTOProperty function.
  3. Can i change properties of a run time object?
  4. No (but Yes also). You can use GetROProperty("outerText") to get the outerText of a object but there is no function like SetROProperty to change this property. But you can use WebElement().object.outerText="Something" to change the property.
23) When and Why to use Descriptive programming?
Below are some of the situations when Descriptive Programming can be considered useful:
  1. The objects in the application are dynamic in nature and need special handling to identify the object. The best example would be of clicking a link which changes according to the user of the application, Ex. “Logout <<UserName>>”.
  2. When object repository is getting huge due to the no. of objects being added. If the size of Object repository increases too much then it decreases the performance of QTP while recognizing a object.
  3. When you don’t want to use object repository at all. Well the first question would be why not Object repository? Consider the following scenario which would help understand why not Object repository
Scenario 1: Suppose we have a web application that has not been developed yet. Now QTP for recording the script and adding the objects to repository needs the application to be up, that would mean waiting for the application to be deployed before we can start of with making QTP scripts. But if we know the descriptions of the objects that will be created then we can still start off with the script writing for testing
Scenario 2: Suppose an application has 3 navigation buttons on each and every page. Let the buttons be “Cancel”, “Back” and “Next”. Now recording action on these buttons would add 3 objects per page in the repository. For a 10 page flow this would mean 30 objects which could have been represented just by using 3 objects. So instead of adding these 30 objects to the repository we can just write 3 descriptions for the object and use it on any page.
Modification to a test case is needed but the Object repository for the same is Read only or in shared mode i.e. changes may affect other scripts as well.
When you want to take action on similar type of object i.e. suppose we have 20 textboxes on the page and there names are in the form txt_1, txt_2, txt_3 and so on. Now adding all 20 the Object repository would not be a good programming approach.
24) How to use Descriptive programming?
There are two ways in which descriptive programming can be used:
a) Static Programming: By giving the description in form of the string arguments.
b) dynamic Programming:  By creating properties collection object for the description.
1) What are the extensions of QTP files?
  1.  QTP Test / Test Script(.mts){.mts=module/mercury test script}
  2. Local Repository file (.mtr){.mtr=module/mercury test repository}
  3. Shared repository files(.tsr){Test shared repository}
  4. Library files (.vbs)
  5. Environmental files (.xml)
  6. Test batch file (.mtb){module test batch}
  7. QTP result file (xml) optional: pdf, doc, xml-for reporting
  8. Recovery scenario file (.qrs){quick recovery scenario}
2) How to handle dynamic objects?
By using Regular expressions we can handle dynamic objects.
3) What are the differences between checkpoint and output value?
  1. Both are same in insertion but different in purpose.
  2. Checkpoint is a verification point, it takes expected results from the user and compare with the actual results during execution and provides test results.
  3. Output value captures object properties values, database content and xml elements values and stores in run time data table.
  4. Checkpoints compare actual results with expected results, output values captures values and stores.
4) How to handle Repositories dynamically? 
With Repositoriescollection utility object, we can handle shared object repositories dynamically.
Note: on Repositoriescollection object, we can use Add, Find, Remove, and Removeall like methods.
5) What is the use of environment variables?
  1. Environment variables are global variables that we can use from number of tests commonly.
  2. Whenever we want to use some variables from number of tests, instead of declaring as local variables, if we use environment variables concept then maintenance will be easy.
6) What is a Regular Expression, where we use this feature in QTP?
Regular expression is nothing but matching patterns.
In QTP, we use this feature for identifying dynamic objects
7) What is the advantage of Dynamic Descriptive Programming than Static?
Incase of dynamic programming Tests generation is easy and maintenance also very easy.
8) What are the limitations of QuickTest?
a. It supports MS Windows operating environment only
b. It doesn’t support CLI Applications (Command line interface)
c. It supports IE only for generating scripts but it does not support Mozilla and other browsers. For executing tests it supports Mozilla like other browsers.
d. It has limited support for web services testing.
9) How to capture a moving image in QTP?
10) What is Smart Identification in QTP and explain it?
11) How many folders are created in one Test creation in QTP?
Two folders and six files.
12) What is Description object in QTP?
13) What are the Properties you use for identifying a Browser, a Page when using descriptive programming?
title property for Browser
title property for Page
14) How do you measure Transaction Time in QTP other than Using of Start and End Transaction Points?
By using ‘Timer’ function we can measure transaction times.
15) what is the Deference between  Recovery Scenario and "On Error Resume Next"?
1) Both are for handling Error events, Recovery Scenario is a QTP Tool feature, whereas "On Error Resume Next" is a VB Script feature
2) "On Error Resume Next" is used when we are sure about the step where the error can occur. Recovery Scenario can be used to handle unexpected event or error.
******************************************************** 
On Error Statement (Visual Basic)
  1. Enables an error-handling routine and specifies the location of the routine within a procedure; can also be used to disable an error-handling routine.
  2. Without an On Error statement, any run-time error that occurs is fatal: an error message is displayed, and execution stops.
  3. Whenever possible, we suggest you use structured exception handling in your code, rather than resorting to unstructured exception handling and the On Error statement.
16) Explain in brief about the QTP Automation Object Model.
QTP Automation Object model deals with Automation of QTP itself. Almost all configuration and functionality provided by QTP is represented by QTP's Automation Object Model . Almost all dialog boxes in QTP have a corresponding automation object which can set or retrieved using the corresponding properties or methods in the Automation Object Model.QTP Automation Objects can be used along with standard VB programming elements like iterative loops or conditional statements to help you design a script of choice
17) What is Test Fusion Report ?
Test Fusion Report , displays all aspects of a test run and is organized in a Tree format.
It gives details of each step executed for all iterations.
It also gives Run-time data table, Screen shots and movie of the test run if opted.
18) How can you handle exceptions in QTP?
In QTP Exceptional handling is done by using
a. Recovery Scenarios.
b. Using “On Error” statement
In Recovery scenario you have to define.
1. Triggered Events.
2. Recovery steps.
3. Post Recovery Test-Run.
At Script Level you can use the On Error Resume Next and On Error Go to 0 statement.
19) What is the Difference between Bitmap Check point & Image Check point?
Bitmap checkpoint does a pixel to pixel comparison of an image or part of an image.
Image checkpoint does do a pixel to pixel comparison but instead compare imageproperties like alt text , destination url etc.
20) How would you export a Script from one PC to another in QTP ?
We can make use of the "Generate Script" function available in Object Identification, Test Settings and Tools/Options tab to create a zip of the script at the source computer. These zip files then can be imported into QTP at the destination computer.
21) Can launch two instances of QTP on the same machine ?
No. You can work with only single instance of QTP on the same machine. But QTP itself can work on multiple instances of the Application Under Test (AUT). Ex:  QTP can handlemultiple IE browser windows.
22) What is SetToProperty ?
SetToProperty changes property of an object stored in the Object Repository. However these changes are not permanent.
23)  What is Accessibility Checkpoint?
World Wide Web Consortium (W3C) came up with some instructions and guidelines for Web-based technology and information systems to make it easy for the disabled to access the web. For example the standards make it mandatory to have an 'alt text' for an image. So a blind person who is accessing the website, will use text - to -speech converters and atleast understand what the image is about if not see it. All these standards are checked by Accessibility Checkpoints.
24) What is the difference between Properties and methods?
A property is a named attribute of an object. Properties define the characteristics of an object such as Size, Color etc. or sometimes the way in which it behaves.
A method is an action that can be performed on objects.
For example, a dog is an object. Its properties might include long white hair, blue eyes, 3 pounds weight etc. Its methods might be move, jump, play, breath etc.