Various Skills required for Software Testers

Starting your career as “Software Tester” requires various skill sets apart from having Testing Skills.

Previously I had published a Post about the importance of the Domain Knowledge for the Software Testers.

Some people are arguing that hiring Software Testers with Domain knowledge may drive them to change the ambiguous  requirements by themselves without discussing with the Business Analyst.  It will lead to poor quality. Anyway, the companies especially BFSI (Banking, Financial Services and Insurance) domain companies give high priority to Domain knowledge while hiring Software Testers.

Apart from BFSI applications few other things such as,  Mobile application testing, VoIP applications, Gaming testing, Network testing, Wireless application testing and Protocol testing are also requiring domain knowledge for the software Testing professionals.

So, the Software Testers need to have below skills.

  • Testing skill
  • Domain knowledge
  • Technical skills
  • Communication skill
  • Automation skill
  • programming skill

If I missed to mention any other important skills, you can say it thro’ the comments.

QTP Book in Kindle

Amazon Kindle is an easy way to read your desired Book conveniently.

So, we are offering this QTP Book site content in Amazon Kindle format also.

But, you need to buy it from Amazon site using this link.

Buy this Kindle version only if you are very much interested to read it in your Kindle.

Otherwise, My suggestion is you can freely read the content from this QTP Book site, or you can buy it as eBook from here.

Because, we update the Kindle version very rarely. But this site will be updated frequently. And, We will make any corrections immediately here.

Anyway, you can just refer the kindle sales page to know the fact of this Book ranking Good in Amazon Best Sellers Rank.

Basics of vbscript

VBscript is the scripting language used in QTP. It is developed by Microsoft. VBscript is subset of VB (Visual Basic) and VBA(Visual Basic of Applications).

VBscript is used by other technologies also. For example, it is used in ASP (Active Server Page) for web site development. So we will be getting more ready-made functions/code written in vbscript from the Internet. It will save QTP script development time.

VBscript will access the host/system thro’ Microsoft’s Windows Script Host (WSH). We can use WSH scripts also in QTP. It can be effectively used to automate the Test scenarios such as rebooting the system automatically after doing some steps and locking the system automatically.

QTP recording feature will automatically generate VBscript code while recording the steps.

And, QTP IDE is having ‘Function Generator” for creating the vbscript functions.

VBScript Variables

In VBScript, all variables are of type variant, that can store different types of data.
Rules for VBScript variable names:

  • Must begin with a letter
  • Cannot contain a period (.)
  • Cannot exceed 255 characters

dim will be used for declaring the variable as below.
Dim TestCaseID

The value for this variable can be assigned as below

Remember to use option explicit at top of your script. Otherwise a new variable will be created automatically if you misspell the variable name when assigning value for it.

We need to understand scope/lifetime of variable clearly. A variable declared within a function will exist only within that function. That means the variable will be destroyed when exiting the function, and more than one function can have variable with same name. So it is called as Local variable.

So, it is very important to have clear understanding about the scope/lifetime of variable declared/used in Test/Action/function library/datatable/environment.

Array variable can be declared as below.
Dim ArrIDs(10)
The above declaration will create single-dimension array containing 11 elements. i-e the array in vbscript is 0 based.





Exponentiation ^
Unary negation
Multiplication *
Division /
Integer division \
Modulus arithmetic Mod
Addition +
String concatenation &




Equality =
Inequality <>
Less than <
Greater than >
Less than or equal to <=
Greater than or equal to >=
Object equivalence Is




Logical negation Not
Logical conjunction And
Logical disjunction Or
Logical exclusion Xor
Logical equivalence Eqv
Logical implication Imp


VBScript Procedures


In VBScript, there are two types of procedures:

  • Sub procedure
  • Function procedure

A Sub procedure:

  • is a series of statements, enclosed by the Sub and End Sub statements
  • does not return a value
  • can take arguments
  • without arguments, it must include an empty set of parentheses ()

Sub displayName()
msgbox(“QualityPoint Technologies”)
End Sub


Sub addvalues(value1,value2)
End Sub

When calling a Sub procedure you can use the Call statement, like this:

Call MyProc(argument)

Or, you can omit the Call statement, like this:

MyProc argument

A Function procedure:

  • is a series of statements, enclosed by the Function and End Function statements
  • can return a value
  • can take arguments
  • without arguments, must include an empty set of parentheses ()
  • returns a value by assigning a value to its name

Find below a Sample function.

Function addvalues(value1,value2)
End Function

The above function will take two arguments and will add those two values and then it will return the sum value. Note here the sum value is retured by assigning it to the function name.

The above function can be called as below.

msgbox “Sum value is ” & addvalues(1,2)

Conditional Statements


In VBScript we have four conditional statements:

if statement – executes a set of code when a condition is true

(e.g) if i=10 then
msgbox “I am 10”
End if
if…then…else statement – select one of two sets of lines to execute
(e.g) if i=10 then  msgbox “I am 10”
else msgbox “other than 10”
end if
if…then…elseif statement – select one of many sets of lines to execute

(e.g) if i=10 then  msgbox “I am 10”
elseif i=11 then msgbox “I am 11”
else msgbox “unknown”
end if

select case statement – select one of many sets of lines to execute

select case value
case 1
msgbox “1”
case 2
msgbox “2”
case 3
msgbox “3”
case else
msgbox “other than 1,2 and 3”
end select

Looping Statements

Use the For…Next statement to run a block of code a specified number of times.
for i = 0 to 5
msgbox(“The number is ” & i )

If you don’t know how many repetitions you want, use a Do…Loop statement.

The Do…Loop statement repeats a block of code while a condition is true, or until a condition becomes true.

Built-in Functions

VBscript is having many useful built-in functions.
You can refer this page for the complete list
inStr, isNull, LCase, Left, Len, Mid, Now, Replace, Split, UBound, CStr, CreateObject, Date and DatePart are functions that are most frequently used in QTP script development.

Importance of Software Test Automation using tools such as QTP

Software Testing plays an important role in Software Development lifecycle.
Doing manual testing is not enough. We should go for Automation Testing also.

  • “To Error is Human” is the fact which drives the need for automation testing. Because, manual testers may not execute the test cases correctly. There will be lot of possibilities for making mistakes. They may give wrong input data due to typo, or they may not notice the actual behavior of the system correctly, or they may not report the test result correctly, or they may miss to execute some test cases, or they may forget to run some preconditions, or they may change the sequence of test case execution in case sequence is important.
  • Another important factor is, Automation test scripts will be used as a way of storing domain/project/task Knowledge gained by the Test Engineers. Say for example, if a Tester works in project for one year, he might have spent more time for learning the domain, purpose of the project, modules in the project, flow of all functionalities. He will be familiar with known issues and challenges.
    If this Tester leaves from the project, the knowledge gained by him also will leave.
    It is very difficult for the newly joining Tester to understand everything from the Test Case document.If automation test scripts are already available then the new Tester can just start the testing by running the automation scripts, without gaining much knowledge about the project.He can understand the flow/data by seeing the execution of the automation test scripts. But anyway, he should gain project/domain knowledge to enhance/update the automation scripts further.
    So we can say that test automation is a way of storing knowledge.
  • Automation tool such as QTP (Quick Test Professional) has feature for storing screenshot of each and every page navigated during the execution. So it can be used as a proof for completion of testing, and also we can refer the screenshots of previous executions if there is any need to refer them.
  • Test report can be automatically written to a customized report page which will ensure accuracy of the report and also it can improve look & feel of the report.
  • The very important advantage of automation testing over manual testing is execution speed. Test execution can be completed quickly and also we can execution the scripts in night time also without human involvement. So ultimately total time needed for testing can be reduced which will significantly help for timely project completion.
  • Here may be requirement of doing some testing at specific time. It can be easily achieved by putting execution of those automation test scripts in a task scheduler/crone job. The tool such as QTP supports automation object model to achieve this.
  • The functional test automation scripts will be useful for doing performance testing also. Because many performance test tools will support reusing/calling of these test scripts.
  • Some type of testing involves comparing large amount of data between previous version and current version as part of regression testing. Practically it may not possible for doing it manually. This problem can be easily solved by simple shell script or any other scripts such as vbs, wsh.
  • As the automation test tools support Data Driven Testing, Test execution can be done repeatedly with many different data sets.

There are lot of automation test tools are available for doing Functional, Regression and Performance Testing. Test complete, SilkTest, SilkPerformer, QARun, QALoad, TestPartner, WinRunner, LoadRunner, QTP, Rational Robot and openSTA are some of them. QTP is most widely used now as it supports vbscript and it can be used for testing many different applications just by adding required add-ins.

You can Watch the below video explaining Importance of Software Test Automation.

Software Testing Questions and Answers

Find the answers at the end of the questions.

1) The approach/document used to make sure all the requirements are covered when writing test cases
a) Test Matrix b) Checklist c) Test bed d) Traceability Matrix

2) Executing the same test case by giving the number of inputs on same build called as a) Regression Testing b) ReTesting c) Ad hoc Testing d) Sanity Testing

3) Control Charts is a statistical technique to assess, monitor, and maintain the stability of a process. a) True b) False

4) To check whether we are developing the right product according to the customer requirements are not. It is a static process a) Validation b) Verification c) Quality Assurance d) Quality Control

5) To check whether we have developed the product according to the customer requirements r not. It is a Dynamic process. a) Validation b) Verification c) Quality Assurance d) Quality Control

6) Staff development plan describes how the skills and experience of the project team members will be developed. a) True b) False

7) It is a set of levels that defines a testing maturity hierarchy a) TIM (Testing Improving Model) b) TMM (Testing Maturity Model) c) TQM(Total Quality Management)

8) A Non-Functional Software testing done to check if the user interface is easy to use and understand a) Usability Testing b) Security Testing c) Unit testing d) Block Box Testing

9) The review and approved document (i.e. Test plan, System Requirement Specification’s) is called as a) Delivery Document b) Baseline Document c) Checklist

10) What are the Testing Levels? a) Unit Testing b) Integration Testing c) System Testing and Acceptance Testing. d) All the above

11) Cost of quality = Prevention Cost + Appraisal cost + Failure cost a) True b) False

12) A useful tool to visualize, clarify, link, identify, and classify possible cause of a problem. This is also called as “fishbone diagram” what is this? a) Pareto Analysis b) Cause-and-Effect Diagram

13) It measures the quality of processes used to create a quality product.
It is a system of management activities,
It is a preventive process, It applies for entire life cycle & Deals with Process. a) Validation b) Verification c) Quality Assurance d) Quality Control

14) Variance from product specifications is called? a) Report b) Requirement c) Defect

15) Verification is
a) Process based b) Product based

16) White box testing is not called as___________
a) Glass box testing b) Closed box testing c) Open box testing d) Clear box testing

17) Name the events that will be analyzed, Count the named incidents, Rank the count by frequency using a bar chart & Validate reasonableness of the analysis is called as a) Pareto Analysis b) Cause and Effect Diagram c) SWOT Analysis d) Pie Charts

18) Retesting of a single program or component after a change has been made? a) Full Regression Testing b) Unit Regression c) Regional Regression d) Retesting

19) Requirement and Analysis, Design, Development or Coding, Testing and Maintenance is called as Software Development Life Cycle (SDLC ) a) True b) False

20) The testing which is done by going thro’ the code is known as,
a) Unit Testing b) Blackbox testing c) White box Testing d) Regression testing

21) Configuration Management Plan describes the Configuration Management procedures and structures to be used. a) True b) False

22)This type of testing method attempts to find incorrect or missing functions, errors in data structures or external database access, interface errors, Performance errors and initialization and Termination errors. It is called as a) White Box Testing b) Grey Box Testing c) Black Box Testing d) Open Box Testing

23) Phase Definition. It will come under a) CMM Level 1 b) CMM Level 2 c) None

24) Software testing which is done without planning and Documentation is known as
a) adHoc Testing b) Unit Testing c) Regression testing d) Functional testing.

25) Acceptance testing is known as
a) Beta Testing b) Greybox testing c) Test Automation d) White box testing

26) Retesting the entire application after a change has been made called as? a) Full Regression Testing b) Unit Regression c) Regional Regression d) Retesting

27) Boundary value analysis belongs to which testing method?
a) Black Box testing b) White Box testing

28) It measures the quality of a product
It is a specific part of the QA procedure, It is a corrective process,
It applies for particular product & Deals with the product. a) Validation b) Verification c) Quality Assurance d) Quality Control

29) What are the Types of Integration Testing? a) Big Bang Testing b) Bottom Up Testing c) Top Down Testing d) All the above

30) Product Risk affects The quality or performance of the software. a) True b) False

31) A metric used to measure the characteristic of documentation and code called as a) Process metric b) Product Metric c) Test metrics

32) Which is non-functional software testing?
a) Unit Testing b) Block box testing c) Performance Testing d) Regression

33) The process that deals with the technical and management issues of software development called as? a) Delivery Process b) Testing Process c) Software Process

34) Executing the same test case on a modified build called as a) Regression Testing b) Retesting c) Ad hoc Testing d) Sanity Testing

35) Which is Black-Box Testing method?
a) equivalence partitioning b) code coverage c) fault injection

36) Business Risk affects The Organization developing or Procuring the software. a) True b) False

37) Stratification is a Technique used to analyze/divide a universe of data into homogeneous groups (strata). a) True b) False

38) Automation Testing should be done before starting Manual testing.

Is the above statement correct?
a) Yes b) No

39) Earlier a defect is found the cheaper it is to fix it.

Is the above statement correct? a) Yes b) No

40) Informing to the developer which bug to be fix first is called as a) Severity b) Priority c) Fix ability d) Traceability

41) Software Testing is a process of evaluating a system by manual or automatic means and verify that it satisfies specified requirements or identity differences between expected and actual results. a) True b) False

42) Retesting modules connected to the program or component after a change has been made? a) Full Regression Testing b) Unit Regression c) Regional Regression d) Retesting.

43) An Important metric is the number of defects found in internal testing compared to the defects found in customer tests, Status of test activities against the plan, Test coverage achieved so far, comes under a) Process Metric b) Product Metric c) Test Metric

44) Alpha testing will be done at,
a) User’s site b) Developers’ site

45) SPICE Means a) Software Process Improvement and Capability Determination b) Software Process Improvement and Compatibility Determination. c) Software Process Invention and Compatibility Determination. d) Software Process Improvement and Control Determination

46) Requirements Specification, Planning, Test case Design, Execution,
Bug Reporting & Maintenance This Life Cycle comes Under a) SDLC b) STLC c) SQLC d) BLC

47) It provides a set of levels and an assessment model, and presents a set of recommended practices that allow organizations to improve their testing processes. a) TIM (Testing Improving Model) b) TMM (Testing Maturity Model) c) TQM(Total Quality Management)

48) Standards and procedures for managing changes in an evolving software product is called? a) Confirmation Management b) Confederation Mangement c) Configuration Management d) Compartability Management

49) Path Tested = Number of Path Tested / Total Number of Paths a) True b) False

50) This Testing Technique examines the basic program structure and it derives the test data from the program logic; Ensuring that all statements and conditions executed at least once. It is called as a) Block box Testing b) White box Testing c) Grey Box Testing d) Closed Box Testing

51) This type of test include, how well the user will be able to understand and interact with the system? a) Usability Testing b) User Acceptance Testing c) Alpha Testing d) Beta Testing.

52) Defects generally fall into the following categories? a) WRONG b) MISSING c) EXTRA d) All the above

53) What is correct Software Process Cycle? a) Plan(P)——>Check(C)——>Act(A)—–>Do(D) b) Plan(P)——>Do(D)——>Check(C)—–>Act(A) c) Plan(P)——>Do(D)——>Act(A)—–>Check(C)

54) Conducted to validate that the application, database, and network they may be running on can handle projected volumes of users and data effectively. The test is conducted jointly by developers, testers, DBA’s and network associates after the system Testing called as a) Functional Testing b) Stress/Load Testing c) Recovery Testing d) Integration Testing

55) Maintenance Plan predicts the maintenance requirements of the system, maintenance costs and effort required a) True b) False

56) Beta testing will be done by
a) Developer b) User c) Tester

57) Validation plan describes the approach, resources and schedule used for system validation a) True b) False

58) Integration, It will come under a) CMM Level 1 b) CMM Level 3 c) CMM Level 2 d) None

59) Types of quality tools are Problem Identification Tools and Problem Analysis Tools. a) True b) False

60) Which Software Development Life cycle model will require to start Testing Activities when starting development activities itself
a) Water falls model b) Spiral Model c) V-model d) Linear model

61) A metric used to measure the characteristic of the methods, Techniques and tools employed in developing, implementing and maintaining the software system called as a) Process metric b) Product Metric c) Test metrics

62) Check Sheet(Checklist) is considered a simple , but powerful statistical tool because it differentiates between two extremes. a) True b) False

63) Application should be stable. Clear Design and Flow of the application is needed for Automation testing. a) False b) True

64) Quality plan describes the quality procedures and standards that will be used in a project. a) False b) True

65) How severely the bug is effecting the application is called as a) Severity b) Priority c) Fix ability d) Traceability

66) Project Risk affects The Schedule or Resources. a) True b) False

67) The name of the testing which is done to make sure the existing features are not affected by new changes
a) Recursive testing b) Whitebox testing c) Unit testing d) Regression testing

68) Management and Measurement, It will come under a) CMM Level 1 b) CMM Level 3 c) CMM Level 4 d) CMM Level 2

69) AdHoc testing is a part of
a) Unit Testing b) Regression Tesing c) Exploratory Testing d) Performance Testing

70) Cost of Production = Right The First time cost(RTF) + Cost of Quality. a) True b) False

71) ————- means under what test environment(Hardware, software set up) the application will run smoothly a) Test Bed b) Checkpoint c) Code Walk through d) Checklist

72) TQM represents
a) Tool Quality Management b) Test Quality Manager c) Total Quality Management d) Total Quality Manager

73) Optimization, Defect Prevention, and Quality Control. Its come under the a) CMM Level 2 b) CMM Level 3 c) CMM Level 4 d) CMM Level5

74) Unit Testing will be done by
a) Testers b) End Users c) Customer d) Developers

75) Beta testing will be done at
a) User place b) Developers place

76) A Plan to overcome the risk called as a) Migration Plan b) Master plan c) Maintenance plan d) Mitigation Plan

77) Splitting project into tasks and estimate time and resources required to complete each task called as Project Scheduling a) True b) False


(1) d (2) b (3) a (4) b (5) a (6) a (7) b (8) a (9) b (10) d (11) a (12) b (13) c (14) c (15) a (16) b (17) a (18) b (19) a (20) c (21) a (22) c (23) b (24) a (25) a (26) a (27) a (28) d (29) d (30) a (31) b (32) c (33) c (34) a (35) a (36) a (37) a (38) b (39) a (40) b (41) a (42) c (43) c (44) b (45) a (46) b (47) a (48) c (49) a (50) b (51) a (52) d (53) b (54) b (55) a (56) b (57) a (58) b (59) a (60) c (61) a (62) a (63) b (64) b (65) a (66) a (67) d (68) c (69) c (70) a (71) a (72) c (73) d (74) d (75) a (76) d (77) a

The need for having development/programming knowledge for Software Testers

In this Chapter, I am going to write about the need for having basic development knowledge for Software Testers.
I have worked as both Programmer and Software Tester. So, I think I will be the appropriate person for writing this Chapter.

When I worked as Programmer/developer, I used to see many Software Testers who used to create poor test strategy due to their poor programming knowledge.
And, it may be difficult to set up proper test environment without having proper programming knowledge.

Assume that a Software Tester is going to test a Web application. If something goes wrong while doing his testing, he should be able to report the issue clearly by mentioning whether the error is happening from client (i-e browser) side, network connection or server side. It will help the developers to fix the issues quickly.

For doing this narrow down, the Testers should know what is Client (webbrowser), how the server works and how internet is working.

He should know how to see the client side error messages displayed by various browsers.
Reproducing the issue also need some kind of development knowledge.

Being familiar with SQL and handling databases will help to test back end part of the web application. It will help to load some prerequisite data also to save testing time.

Test data collection task can be done easily if the Testers know little bit programming.

The recent Agile development model is trying to reduce the gap between Software Development and Software Testing.

So, I believe everyone will agree that it is very important to have programming knowledge if you are going to be a Software Tester.
Now, we can see how we can give basic programming knowledge to the Software Testers.

– Development Team can arrange session for giving overview about the development for the Software Testers.
– Software testers can start reading very basics of programming and web development from
– Testers can participate in code review meetings.

Ok. This Chapter has explained the importance of having programming knowledge for the Software Testers. Similarly, it is important to have Software Testing knowledge for the programmers.

 And, if your company is going to implement Test driven development, then it is important to have close interaction with the Development Team. This interaction will be effective only if the Software Testers are having some fundamental programming knowledge.

Software Test Automation tool evaluation

In this chapter I will explain about evaluating Automation test tool and selecting appropriate tool suitable for our requirements.
Before start evaluating tool we should analyze whether automating software testing will really give any benefit over manual testing for your needs.
Actually, Software Test Automation is a good way to cut down time and cost.
But, it will reduce the cost and time only when it is really necessary or it is used effectively.

Test Automation is not required if you are going to use your application one time only or for short period only. For example, assume that you are having a website developed in ASP, and you are making some changes in this website. And, assume you are having solid plan for converting/migrating this ASP site into either ASP.NET or PHP in near future.

In this situation, it is not advisable to automate the testing of the new changes done in the ASP site.
In this case, simply you can complete the testing manually and then you can start your automation testing preparation once after the migration is done.

So, basically we need to automate our testing procedure when we have lot of regression work.Once after taking decision to do the test automation, the next step is selecting appropriate automation tool.

There are hundreds of tools available for automating the software testing and some of them are Free.
Test complete, SilkTest, SilkPerformer, QARun, QALoad, TestPartner, WinRunner, LoadRunner, QTP, Rational Robot,Selenium,WATIR and openSTA are some of them.

Some of these Tools (e.g Selenium) are open-sourced.We need to select appropriate tool based on below factors.

Budget allocated for the Testing process – Price for each automation tool will vary. Some of them are costly, and some of them are even free.License pattern will be varying for each tool. License cost of some tools will vary according to geography location also. And, some tool vendors will fix different price for seat license and floating license.

So, first we need to decide about our licensing needs. i-e Ask below questions,
– In case the tool price changes according to geographic location, whether it will be cost effective for your location.
– How many Automation Test engineers will simultaneously work in your automation project?
– Whether you need separate set up for developing the scripts and for executing the scripts?
– Whether you are having plan to automate your any other testing activities? Whether the selected tool can be used for other projects also?

Support available for the Automation Tool. We need to evaluate whether the Tool provider will provide enough support and bug fix releases. And, we need to think about the support provided by the Forum community also.

Analyze whether the execution speed of the automation tool matches with your requirements.

Check the installation requirements (both Software and Hardware) for installing the automation tool in your test script development environment.

List down current skill set of your testers and check whether the tool can be effectively used by your testers. For example QTP will support vbscript, if your testers know vbscript they can easily learn using QTP.

Feasibility study is very important before finalizing the Tool. Most of Tools will provide evaluation or Trail offer. For example QTP can be downloaded from HP site and we can use it for 14 days. During this trial period try to automate different portions of your application to make sure that the Tool can be used for automating your Testing needs.

Analyze the Market Share and financial Stability of the vendor of the tool. It will get significance if you are going to use the Automation tool for long term regression testing purpose.

Check whether the Tool can be easily integrated with bug tracking tools. For example, QTP will be closely integrated with Quality Center (Test Director) which is a Test Management Tool.

The best approach is, we can prepare a list with all these factors and add remarks for each tool. And, we can select the tool by analyzing this list.

QTP Questions and Answers

Find the answers at the end of the questions.

1) Quick Test Professional (QTP) is used as,
a) Functional Testing tool b) Performance Testing tool c) Usability Testing tool d) Bug tracking tool

2) The below vbscript code is used for,

Set qtApp = CreateObject(“QuickTest.Application”)
qtApp.Visible = True

a) For launching Function Generator b) For opening QTP using Automation Object Model c) For creating Object Repository from Coding d) For making ActiveScreen visible

3) Extension of vbscript  function library file is,
a) .vbs b) .mtr c) .lib d) .qtp

4) Which one of the below is External add-in in QTP?

a) ActiveX add-in b) Visual Basic add-in c) Java add-in d) Web add-in

5) Which is used to add report statements in QTP report file?
a) showreport b) reporter.writeline c) reporter.reportEvent d) printReport

6) In QTP, properties of Test Objects are stored in
a) ObjectSpy b) Active Screen c) Object Repository d) Library

7) Which is used for storing Data used by Test Iterations in QTP?
a) Local sheet b) Global Sheet c) Action Sheet d) Object Repository

8) Which view will allow us to edit the vbscript code in QTP?
a) Keyword view b) Expert View c) code view d) view source

9) The Test Management Tool which can be easily integrated with QTP is,
a) Test Track b) Bugzilla c) Object Repository d) Quality Center

10) Which is used for storing Data used by Action Iteration in QTP?
a) Local sheet b) Global Sheet c) Object Repository d) External Action

11) Outcome of the below QTP code (vbscript) is,

Set obj = CreateObject("WScript.Shell")

sCmnd = "%windir%\SYSTEM32\rundll32.exe user32.dll,LockWorkStation"
obj.Run sCmnd, 0, False

a) Runtime error b) Computer will be locked automatically. c) Computer will be unlocked d) will throw syntax error

12) Which is used for verifying whether the Actual result matches with expected result in QTP?
a) ObjectSpy b) Object respository c) Checkpoints d) Expert view

13) Which is built-in add-in QTP?
a) TE add-in b) java add-in c) web add-in d) .net add-in

14) Setting in one instance of QTP IDE can be transferred to another machine using,
a) Data driver b) Function Generator c) Step Generator d) Automation Object Model


(1) a  (2) b  (3) a  (4) c  (5) c  (6) c  (7) b  (8) b  (9) d  (10) a  (11) b  (12) c  (13) c  (14) d

Wish list for the QTP future release.

We can not say that QTP is a complete Tool even when it has crossed lot of releases.  This is due to the fact that Test automation tools are complex to develop.

So, members of a Testing group had a discussion about things that need to be done in coming releases of QTP. I have mentioned below requirement in this discussion.

Allow QTP Script execution while minimizing it so that we need not have separate machine for test script execution.

Find below the requirements collected from others during this discussion. Most of the people want to have the ability for opening multiple tests at a time.

  • Provide better support for Ajax
  • Provide better support for remote test execution from Quality Center
  • A way to inherit test/action resources.
  • Better browser support. Support for non-IE browsers such as Chrome and Safari
  • Need easy license management
  • A better coding/IDE environment with better intellisense, code folding, better debugging (ability to see object contents)..
  • Better version control. Being able to check out previous versions of a test.
  • Shared code libraries in QC. i-e ability to save in a common library share that all projects could use.
  • Use an object orientated scripting language instead of or in addition to VB script
  • Embed the object spy in the browser similar to firebug for firefox
  • Ability to replace object repository with other repositories such as MySql Database
  • Reduce the cost. Selenium is evolving and is eating up market share because its free
  • Scripts should be able to run on a locked computer.
  • Add ability to right click on web browser object to spy on it
  • Ability to open more than 1 script at a time
  • User should be able to attach encoded functional library (I.e. .vbe extension file).
  • Ability to “pause” a run in order to edit a script during execution of multiple iterations
  • Support for FLASH/FLEX Applications.
  • Expose runtime engine as an API so we can start using languages other than VBScript.
  • Simple and cleaner uninstall process
  • Improved support for distributed parallel scalable execution (cloud/VM) with reporting concatenation.
  • Enhanced function libraries especially database operations
  • More descriptive error messages rather than “Generic Error” message.
  • User should be allowed to Export selected portions of Reports
  • Ability to see the partial report when the script execution continues

QTP trial version installation

Learning QTP (Quick Test professional) will become easy if we practice some simple tutorials with QTP.

HP is providing free trail offer for Quick Test Professional.

Follow below steps to have a QTP set up.

First do keyword search for “quick test professional” in HP website

You can see the download link under “trail versions” in the search result.

Once after downloading it you can easily install it just by clicking the setup icon. You will need maintenance number while doing installation. You can contact the HP to provide Maintenance number for you.

This Trail version will be valid for 14 days which is enough to learn QTP