I have so many questions in my mind when I think of any interview questions for Software testing / QA Engineer.

Would you be able to answer all of them? ;) 1. What is Software Testing? 2. What is the Purpose of Testing? 3. What types of testing do testers perform? 4. What is the Outcome of Testing? 5. What kind of testing have you done? 6. What is the need for testing? 7. What are the entry criteria for Functionality and Performance testing? 8. What is test metrics? 9. Why do you go for White box testing, when Black box testing is available? 10. What are the entry criteria for Automation testing? 11. When to start and Stop Testing? 12. What is Quality? 13. What is Baseline document, Can you say any two? 14. What is verification? 15. What is validation? 16. What is quality assurance? 17. What is quality control? 18. What is SDLC and TDLC? 19. What are the Qualities of a Tester? 20. When to start and Stop Testing? 21. What are the various levels of testing? 22. What are the types of testing you know and you experienced? 23. What exactly is Heuristic checklist approach for unit testing? 24. After completing testing, what would you deliver to the client? 25. What is a Test Bed? 26. What is a Data Guidelines? 27. Why do you go for Test Bed? 28. What is Severity and Priority and who will decide what? 29. Can Automation testing replace manual testing? If it so, how? 30. What is a test case? 31. What is a test condition? 32. What is the test script? 33. What is the test data? 34. What is an Inconsistent bug? 35. What is the difference between Re-testing and Regression testing? 36. What are the different types of testing techniques? 37. What are the different types of test case techniques? 38. What are the risks involved in testing? 39. Differentiate Test bed and Test Environment? 40. What ifs the difference between defect, error, bug, failure, fault?

41. What is the difference between quality and testing? 42. What is the difference between White & Black Box Testing? 43. What is the difference between Quality Assurance and Quality Control? 44. What is the difference between Testing and debugging? 45. What is the difference between bug and defect? 46. What is the difference between verification and validation? 47. What is the difference between functional spec. and Business requirement specification? 48. What is the difference between unit testing and integration testing? 49. What is the diff between Volume & Load? 50. What is diff between Volume & Stress? 51. What is the diff between Stress & Load Testing? 52. What is the Diff between Two Tier & Three tier Architecture? 53. What is the diff between Client Server & Web Based Testing? 54. What is the diff between Integration & System Testing? 55. What is the Diff between Code Walkthrough & Code Review? 56. What is the diff between walkthrough and inspection? 57. What is the Diff between SIT & IST? 58. What is the Diff between static and dynamic? 59. What is the diff between alpha testing and beta testing? 60. What are the Minimum requirements to start testing? 61. What is Smoke Testing & when it will be done? 62. What is Adhoc Testing? When it can be done? 63. What is cookie testing? 64. What is security testing? 65. What is database testing? 66. What is the relation ship between Quality & Testing? 67. How do you determine, what to be tested? 68. How do you go about testing a project? 69. What is the Initial Stage of testing? 70. What is Web Based Application Testing? 71. What is Client Server Application Testing? 72. What is Two Tier & Three tier Architecture? 73. What is the use of Functional Specification? 74. Why do we prepare test condition, test cases, test script (Before Starting Testing)? 75. Is it not waste of time in preparing the test condition, test case & Test Script? 76. How do you go about testing of Web Application? 77. How do you go about testing of Client Server Application? 78. What is meant by Static Testing? 79. Can the static testing be done for both Web & Client Server Application? 80. In the Static Testing, what all can be tested?

81. Can test condition, test case & test script help you in performing the static testing? 82. What is meant by dynamic testing? 83. Is the dynamic testing a functional testing? 84. Is the Static testing a functional testing? 85. What are the functional testing you perform? 86. What is meant by Alpha Testing? 87. What kind of Document you need for going for an Functional testing? 88. What is meant by Beta Testing? 89. At what stage the unit testing has to be done? 90 Who can perform the Unit Testing? 91. When will the Verification & Validation be done? 92. What is meant by Code Walkthrough? 93. What is meant Code Review? 94. What is the testing that a tester performs at the end of Unit Testing? 95. What are the things, you prefer & Prepare before starting Testing? 96. What is Integration Testing? 97. What is Incremental Integration Testing? 98. What is meant by System Testing? 99. What is meant by SIT? 100 .When do you go for Integration Testing? 101 Can the System testing be done at any stage? 102. What are stubs & drivers? 103. What is the Concept of Up-Down & Down-Up in Testing in integration testing? 104. What is the final Stage of Integration Testing? 105. Where in the SDLC, the Testing Starts? 106. What is the Outcome of Integration Testing? 107. What is meant by GUI Testing? 108. What is meant by Back-End Testing? 109. What are the features, you take care in Prototype testing? 110. What is Mutation testing & when can it be done? 111. What is Compatibility Testing? 112. What is Usability Testing? 113 What is the Importance of testing? 114. What is meant by regression Testing? 115. When we prefer Regression & what are the stages where we go for Regression Testing? 116. What is performance testing? 117. What is the Performance testing; those can be done Manually & Automatically? 118 What is Volume, Stress & Load Testing? 119. What is a Bug? 120. What is a Defect?

Smoke Test: When a build is received. Smoke Testing and Sanity Testing In greater details. 124. printers. etc. 126.It is related to s/w. Sanity testing is a cursory testing. 122. Sanity testing: Once a new build is obtained with minor revisions... 131. it is performed whenever a cursory testing is sufficient to prove the application is functioning according to specifications. but not bothering with finer details.121. application servers. The general definition (related to Hardware) of Smoke Testing is: Smoke testing is a safe harmless procedure of blowing smoke into parts of the sewer and drain lines to detect sources of unwanted leaks and sources of sewer odors. 123.. 132. This level of testing is a subset of regression testing. Smoke and Sanity. 125. a smoke test is run to ascertain if the build is stable and it can be considered for further testing. Smoke testing can be done for testing the stability of any interim build. ascertaining that the most crucial functions of a program work. 129. 128. What is diff betn Smoke Testing and Sanity Testing? There are two types of test types. 130. Smoke testing can be executed for platform qualification tests. instead of doing a through regression. What they are exactly? Here we go. the definition is Smoke testing is non-exhaustive software testing.. 127. sanity is performed so as to ascertain the build has indeed . What is the defect Life Cycle? What is the Priority in fixing the Bugs? Explain the Severity you rate for the bugs found? Diff between UAT & IST? What is meant by UAT? What all are the requirements needed for UAT? What are the docs required for Performance Testing? What is risk analysis? How to do risk management? What are test closure documents? What is traceability matrix? What ways you followed for defect management? and finally 133. It normally includes a set of core tests of basic GUI functionality to demonstrate connectivity to the database...

checking all features breadth-first. Sanity testing is usually narrow and deep. In software industry. This level of testing is a subset of regression testing. A sanity test is a narrow regression test that focuses on one or a few areas of functionality.rectified the issues and no further issue has been introduced by the fixes. sanity testing may be done during the later cycles after through regression cycles. but not bothering with finer details. is tested. It's is shallow and wide. Smoke testing will be conducted to ensure whether the most crucial functions of a program work. (Such as build verification). Generally. A smoke test is scripted--either using a written set of tests or an automated test. Sanity testing is a cursory testing. it is performed whenever a cursory testing is sufficient to prove the application is functioning according to specifications. A Sanity test is used to determine a small section of the application is still working after a minor change. smoke testing is a shallow and wide approach whereby all areas of the application without getting into too deep. A Smoke test is designed to touch every part of the application in a cursory way. A sanity test is usually unscripted. Load Testing Interview Questions . Its generally a subset of regression testing and a group of test cases are executed that are related with the changes made to the app. Difference between Smoke Testing and Sanity Testing: Smoke testing originated in the hardware testing practice of turning on a new piece of hardware for the first time and considering it a success if it does not catch fire and smoke. Smoke testing is normal health check up to a build of an application before taking it to testing in depth. when multiple cycles of testing are executed. Sanity testing is to verify whether requirement s are met or not.

Stress. How do you work in bug log? Can we do performance testing without using any tool? What is the difference between Load testing and Performace Testing? How you analyze graphics in loadrunner? Why do you need to parameterize fields in your virtual user script? what are the types of Bottlenecks in Performance testing? What are the protocols did you use while testing a web application? What is the basic flow in load testing. i.e.What are the default timeout settings for HTTP connect What is the difference between lr_endtranscation"transcationname". What is Load. how 3 components What criteria would you use to select Web transactions for load testing? How to identify the memory leakage using load runner What should be analyzed Load Testing How can data caching have a negative effect on load testing results? What is the difference between lr_error_message and Why it is recommended to add verification checks How to work on database check points? What are the types of check points is available in LoadRunner? How To use Regular Expression in Load Runner for web functions? when the script is running we find some values that After complition of functionality testing what makes us what are the different components in deferred graphs In what situation would you want to parameterize a text verification check? what is deferred graphs? What is the difference between Load Test and Volume Test what are the load testing tools? We are using Load Runner v8.NET application How can we decide the Page is under load or stress? What is the difference between the concurrent users and simultaneous what is performance baseline testing and at what How is the performance behavior of the web-application Compare between load and performance testing What is difference between load testing and intersystem testing? what r the uses of load testing ? What criteria would you use to select Web transactions for load testing? What usually indicates that your virtual user script What are the reasons why parameterization is necessary What are the reasons why parameterization is necessary what is the difference between Scalability testing and load testing? How can you handle the Session problem while replying . for testing the load of a .0.Volume and Performance testing.

How do you do the performance testing and explain What do you mean by "No Data available for current settings" What are the benefits of creating multiple actions For what purpose are virtual users created? What is load and stress testing? How to test performance of the application manualy? QA testing .Interview Questions What is defect leakage? What is SQA Activities? What are the demerits of winrunner? What is an exit and entry criteria in a Test Plan ? Explain about Metrics and types of metrics like schedule What is use case? What is meant by Equivalence Partitioning ? How do you ensure the quality of the product? What do we do when there is a known bug at the Explain the techniques used to estimate the number What is the difference in writing the test cases for What is the difference between test cases and use cases? Describe me to the basic elements you put How can you say your project testing is completed? What is configuration Management? What is the importance of a requirements traceability How to calculate the estimate for test case What you do when you have the BRD? What is "bug leakage?" What is a Risk ? What is walkthrough and inspection? What is Release Acceptance Testing ? .

Describe me any bug which may arise at the time Describe to me when you would consider employing What do you mean by Requirements coverage ? Describe to the basic elements you put in a defect report? Describe bottom-up and top-down approaches What is Forced Error Testing ? When is the best time for system testing? Give example of a bug having high priority and low severity ? What is the role of QA in a project development? What are the important components of the risk? What is the difference between stub and driver? How do you scope. What metrics used to measure the size of the software? If the actual result doesn't match with expected What are the different methodologies used in testing ? What are the modes of winrunner ? What are the bottlenecks involved in performance testing? What is the difference between Quality Assurance What is the difference between Patch. organize. how do you see automation fitting into How you used white box and block box technologies Difference between Configuration Management What is the difference between System Testing. and execute a test project? What is a deliverable ? Can you please mention the What is the role of QA in a company that What is the difference between the test How can we test the white page What is heuristic checklist used in Unit Testing? Difference between the testing & Quality Assurance job.What are the key elements for creating test plan? What is System Integration Testing What is "bug release?" In general. How can we perform testing without expected results? How do you decide when you have 'tested enough?' What are the contents of Risk management Plan? What is the difference between functional testing . What is Data Integrity Testing ? What are the parameters of Quality cost? How do u conduct boundary analysis testing for How did you use white box and block box in page What is the Compatibility testing difference between What is the strength and weakness in testing Could we test window's calculator through winrunner. Build and Pilot.

xls" file? What is fragmentation and paging? How to parameterize in QTP? What scripting language QTP of? What are the types of Object Repositories in QTP? How do you configure QTP AND Test director? What is TOM in QTP? How we can take data in the username field text box How we can merge the object repositories? What is clean sweep? How can we merge the object repositories? How to call a function in QTP? How to Test the mainframe application? What is descriptive.0 in IE 7.QTP Interview Questions What is the difference Between QTP and Win Runner? Can we do Load Testing with QTP? What is batch run? What is API? What is the use of Regular expression? How to make arguments optional in a function? How to write script in QTP? What is Optional step? What is keyword view and Expert view in QTP? What is Compile Module in QTP? How to get the object property? What is test object model in QTP? What is a test strategy? What is the use of Debug Viewer? How to handle run time errors? What type of VB script u had done in expert view? What is Unicode Compatibility? Is it possible to run QTP scripts created in IE 6.0? What is the descriptive programming? What is parameterization? How to handle Run-time errors? What is iteration? What is the use of virtual objects? What is test data? What is data table? How to export QTP results to an ".create () in QTP? How to do Batch run in QTP? What is meant by Repository? How can we get the result from Windows XP Explain QTP testing process? .

How you automate test scripts What does VBS file contain? What is an environment variable? How can we disable popup blocker? What is standalone database? What is QTP batch testing tool? What is Object Spy? What is the difference Between Low-Level and Normal What is the extension of script and object repository files? Which scripting language QTP is using? What kind of errors can b handled in QTP in What are the file extensions for per-action. shared What is the difference between test strategy & test plan? How to capture a window in QTP? What is active screen? How can we merge the object repositories? What is the use of environment variables? How to connect to data base? How to create runtime property for an object? What are advance features in QTP? What is VBS file? What is the use of "function generator" in QTP? What is descriptive Programming in QTP? What is recovery scenario manager? How to call a function in QTP? What is Expert view? How to change the Default synchronization method What is the use of QTP automation frame work? How many ways we can parameterize data in QTP? What is smart identification? How we can add actions in the test using QTP? What is XML checkpoint in QTP? What is QTP batch testing tool? What does it mean when a check point is in red How to add Dynamic Objects to object repository? How to suppress warnings from the "Test results page "? In how many ways we can add check points to an Explain synchronization types in QTP How to merge object repositories? What is key word driven frame work how to use How can we close all web browsers which are What is configuration management? What is the process to follow between writing the test What is Tree view? What is the difference Between Call Run action and What are the abbreviations for TSR and MTR? .

xls" file? What is the Exact Meaning of Environment Variables? How QTP recognizes Objects in AUT? What is the difference between Image check-point and What is the difference between Normal mode and What is throw object? How to capture data from images in QTP and produce What are the GUI Test Cases and performance What is the difference between "call to action" and "call What is the difference between QTP 8.2? How can we export test results to an excel sheet in QTP? What is file database? How do we write a regular expression for date How do check the links in a webpage? Which functionalities of QTP used in banking project? How many types of Recordings are there in QTP? How to get line numbers in your editor in expert view? What is the use of Accessibility check point? Explain the check points in QTP? How you automate test scripts one by one or module What is the exact difference between Test and How to do the batch testing using QTP? How to display user name and pwd (script) in data How to parameterize a test with data base table Do we get any issues if we run the test script on What is the scripting language used in QTP? Which Databases supports for QTP? When the Low Level Recording is Used in QTP? How to export data present in Data table to an ".0 & 9.xls file? How to open an application through scripting? What is QTP automation frame work? What is the difference between image and bitmap check point How to create a Runtime property for an object in QTP? What is the difference between rational rose and QTP? How iteration is related to Test Results in QTP? What is difference between wr 8.0? What are the challenges do we face while testing web What is Active Screen in QTP? What is Virtual object wizard in QTP? How to export QTP results to an .2 & QTP 8.How will you handle the situation when object is not How to call script1 into script2? How to interact tool & application build in QTP? What is the extension for QTP files? What is the difference between QTP 8.0 & 9.0? How to Parameterize Object repository in QTP? What is the current version of QTP? .

0 version What is output value? How can we get the result from Windows XP Command Window? 2) What are the types object Repositories in QTP.How to retrieve the property of an object? How Does Run time data (Parameterization) is handled How QTP does identifies the object in the application How to execute a Win Runner Script in QTP? What are the QTP advantages and disadvantages? What is the Command used to start the QTP How to handle Recovery scenario in QTP? What is the difference between link and hyperlink? What is the Framework & Architecture Of Your Project? What is the process to follow between writing the test How do u write a regular expression for date (dd/mm/yyyy) field? How to open any application during Scripting in QTP? Explain about reusable actions? How to capture screen shots when an error occurs? What is the limitation to XML Checkpoints? What is the difference between wr and QTP in detail? What is time parameter? How to parameterize a test with data base table or excel sheet? How many check points are there in QTP and what are they? How to change the run-time value of a property for What is the Difference between image checkpoint and What are recovery management techniques? How to capture tool tip in QTP and which check What is descriptive programming? What is the difference between "call to action" and " How to make an Action as reusable? Where the text version of script file located in file system? Explain about the Test Fusion Report of QTP? What is the difference between action & script? What are the most frequent errors you faced while What is the difference between QTP 8.2 and 9. QTP Supports 2 types of Object Repository 1) Shared Object Repository (also called Global) .

For this.Then from the destination script you can make calls to these re-usable actions. 4) What is action split and the purpose of using this in QTP? Action split is to divide an existing action into two parts. You say . Shared Object Repository is preferable while dealing with dynamic objects which are called in multiple tests. and so on. tree object and make changes in mandatory and assistive properties to enable identification. Next step record operations on the Java Tree. first I will select SAP Add in . Suppose there are 4 tests and I want to call these tests in a main script.The purpose is to divide actions based on their functionality to improve code re-use. You can call 4 or even more scripts in your tests.mtr" . The extension for PerAction repository is ". The extension is ". Is this possible in QTP? Yes. (also called Local) Per-Action Object Repository is used by default. 5) How will you handle Java tree in QTP ? Foremost you will select Java Add ..tsr" 3) Can we call QTP test from another test using scripting.2) Per-Action Object Repository. first you will need to make the Actions in the corresponding scripts reusable. 6) Explain how QTP identifies object ? . you can select Tools > Object Identification > Java. If you face an issue while recording.In and launch QTP. For example : If the question is how will check SAP checkbox . Tip: You can base you answer on similar lines for any other object of any environment..

This is the preferred mode of recoding and is used for most of the automation activities.y coordinates of your mouse operations. Learn more about Object Identification 7) How many types of recording modes in QTP? Which will be used when ? QTP supports 3 types of recording modes 1. Low-level recording mode: This mode records the exact x. Analog mode: This mode records exact mouse and keyboard "movements" you perform in relation to the screen / application window.Analog mode Normal Mode: It is the default recording mode and takes full advantage of QTP's Test Object Model. It is helpful in testing hashmaps. It recognizes objects regardless of their position on -screen. While recording. This mode is useful for the operation such as drawing a picture. to uniquely identify the GUI object. QTP will identify and store peculiar properties (as defined in the Object Identification settings) in the object repository of the GUI object . At run-time. Low-level recording mode 3. Learn more about Recording Modes in QTP 8) How will you call from one action to another action ? . Normal mode also called Contextual 2. drag and drop operations.QTP identifies any GUI Object based on its corresponding properties. It is useful for recording objects not identified by normal mode of QTP.. recording signature. QTP will compare the stored property values with the on-screen properties.

Platform = Environment("OS"). QTP emulates the user's action on the virtual object during the run session. Script and Datable will NOT be copied but a call (reference) would be made to the Action in the source script. In the test results. such as a button or a check box. You can define these objects as virtual objects and map them to standard classes. Script and Datable will be copied to the destination Test Script. which includes those coordinates.the Action Object Repository . 2) Call to Existing Action. Object Repository . 10) How to perform Cross platform testing and Cross browser testing using QTP? Can u explain giving some example? You will need to create separate Actions which take care of different OS and Browsers Cross Platform Testing: Using the Built in Environment Variable you can dig up the OS information. suppose you want to record a test on a Web page containing a bitmap that the user clicks. . and each area opens a different destination page. Then based on the Platform you need to call the actions which you recorded on that particular platform. QTP clicks the bitmap in the area defined as a virtual object so that the Web site opens the correct destination page. Eg. . . the Web site matches the coordinates of the click on the bitmap and opens the destination page. When you record a test. To enable QTP to click at the required coordinates during a run session. the virtual object is displayed as though it is a standard class object. When you run a test.In this . you can define a virtual object for an area of the bitmap. and map it to the button class.In this.We can call an action in 2 ways 1) Call to copy of Action. For example. 9) What are Virtual Objects? Your application may contain objects that behave like standard objects but are not recognized by QTP. The bitmap contains several different hyperlink areas.

page("name:="xxxx""). Learn more about Descriptive Programming 13)What are the properties you would use for identifying a browser & page when using descriptive programming ? You can use the name property ex: Browser("name:="xxx""). The idea behind descriptive programming is not bypass the object repository but help recogonize dynamic objects. Based on this value you call the actions which are relevant to that browser. This name would be used by the QTP to map the object name in script with its corresponding description in the object repository..an object and its properties must be recorded in the Object Repository to enable QTP to perform action s on it. 11) What is logical name of the object? Logical name is a name given by QTP while creating an object in the repository to uniquely identify it from other objects in the application.. you do not store the object and its property values in the Object repository but mention the property value pair directly in the script.GetROProperty("version") you can extract the Browser and its correspondin version. Ex: Internet Explorer 6 or Netscape 5. 12) What is descriptive programming? Typically .. . Browser("Core Values").Cross Browser Testing: Using this code Eg.Page("Guru99") Here Guru99 is the logical name of the object. Ex: Browser("Browser"). Using descriptive programming ..

The name of the network server where the object is to be created. Creates and returns a reference to an Automation object SYNTAX: CreateObject(servername. Here you have an option to choose repositories. location]) Arguments servername: Required.We can switch. on the same machine 15) Explain the keyword CreateObject with an example. The type or class of the object to create.. The name of the application providing the object.. If you are still unable to record it is advisable install QTP and application.Application") 16) Can you switch between Per-Action and Shared Object Repository ? If yes how ? Yes .. 17) What is Object Spy ? How to Use it ? . ex: Browser("micClass:=browser"). 14)Can we record an application running on a remote machine using QTP ? Yes . location : Optional. typename : Required. Go to Test--->Settings--->Resources.OR We can also use the property "micClass".page("micClass:=page").typename [. Example : Set IE = CreateObject("InternetExplorer.you can record remote application provided you are accessing application through the local browser not via remoter like citrix.

It is very useful during Descriptive Programming Learn more about Object Spy 18) When ordinal identifiers alone can make an object unique then why they are not given top priority? Why it is first mandatory and next assistive. Almost all configuration and functionality provided by QTP is represented by QTP's Automation Object Model . Why we cannot go for ordinal identifiers directly? Consider the following a) If two objects are overlapped on each other than location based object recognition will fail.QTP Automation Objects can be used along . You can access object spy directly from the toolbar or from the Object Repository Dialog Box. Hence mandatory and assistive properties are used.Object Spy helps in determining the run & test time object properties & methods of the application under test. 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.mts 20) Explain in brief about the QTP Automation Object Model. QTP Automation Object model deals with Automation of QTP itself. 19) What is the file extension of the code file in QTP? Code file extension is script. b) If only index based recognition is used your script will work but script execution time will increase.

how to do that through script? You can use ordinal identifiers like index along with a little descriptive programming for object recognition. Test Fusion Report . displays all aspects of a test run and is organized in a Tree format.Suppose there are 5 check boxes in a page and I have to choose the 2nd one. Watch a video of this example.with standard VB programming elements like iterative loops or conditional statements to help you design a script of choice. 24) What is Test Fusion Report ?. It gives details of each step executed for all iterations. If parameterized. 22) What is Step Generator? Step Generator enables use to Add Test Steps in your script. text output values will capture values appearing in each iteration which would be stored in the run-time data table for further analysis. Using step generator you can add steps to your script without actually recording it. 21) What is the use of Text output value in QTP? Text Output values enable you to capture text appearing on the application under test during run-time. 23) How to make QTP understand the difference amongst the same type of objects . .

It also gives Run-time data table. Recovery scenario you have to define. Recovery Scenarios. 3.This will retrun name as Guru99 Environment.Value( "name") = "Guru99" You can Retrieve the Environment Variable using following syntax Environment. At Script Level you can use the On Error Resume Next and On Error Go to 0 statement. Screen shots and movie of the test run if opted. Triggered Events. 25) How can you handle exceptions in QTP? In QTP Exceptional handling is done by using a. 26) What are the types of environment variables in QTP ? Environment variables in QTP are of three types: 1) Built-in (Read only) 2) User-defined Internal (Read only) 3) User-defined External (Read/Write) You Set the Environment Variable using the following syntax Environment.This will return your system OS .Value("name") -. 2. Using “On Error” statement In 1. Recovery steps.Value("OS") -. b. Post Recovery Test-Run.

test data and expected results for you automated test. Example: You can divide your script into Actions based on functionality like Login. Actions help make your Test modular and increase reuse. Image checkpoint does do a pixel to pixel comparison but instead compare image properties like alt text . Expert View gives the corresponding VB Script statement for every test step in the Keyword view. . Functions is a VB Script programming concept and do not have their own Object Repository or Data Table.27) 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. Ex: You can create a Function in your script to concatenate two strings. 28) What is the difference between functions and actions in QTP? Actions have their own Object Repository & Data Table. 30) Explain QTP Testing process? Quick Test testing process consists of 6 main phases: 1) Create your test plan . Logout etc. It also automatically generates documentation for the test steps.This is preparatory phase where you identify the exact test steps. Functions help in re-use of your code. You also identify the environment and system configurations required to create and run your QTP Tests. destination url etc. 29) What is keyword view and Expert view in QTP? Keyword View is an icon based view which shows test steps in tabular format.

5) Run your Tests .Once test run is complete. programming logic like if…else loops to enhance the logic of your test script. defects can be automatically raised for failed tests in QTP. 4)The Keyword-Driven or Table-Driven Testing Framework.Record & Playback 2) The Test Library Architecture Framework.During this phase .and QTP will automatically record corresponding VB script statements for each step performed. Learn more about Test Automation Frameworks. you will execute test steps one by one on your AUT . 31) What are the different types of Test Automation Frameworks ? The types of Automation Frameworks are 1) Linear Scripting . output values .In this phase you will perform the actual execution of your Test Script. you will analyze the results in the Test Fusion report generated. 3) Enhancing your test . 7) Reporting defects . 3)The Data-Driven Testing Framework. If you are using Quality Center . 6) Analyzing the test results . . 32) How will you check a web application for broken links using QTP? You can use the Page Checkpoint which gives a count of valid/invalid links on a page. parameterization .2) Recording a session on your application .In this stage you will insert checkpoints .Any incidents identified needs to be reported. 4) Replay & Debug .After enhancements you will replay the script to check whether its working properly and debug if necessary.

Based on this comparison. it will automatically open the scripts and start executing them one after the other. it will generate a PASS or FAIL status. 34) What is the difference between check point and output value. An output value is a value captured during the test run and can be stored in a specified location like the Datable or even a variable. 35) What is QTP batch testing tool? You can use the Batch testing tool to run multiple scripts. output values are stored in the Run-time Table. no PASS/FAIL status is generated. It is an xls file which is stored in the Test Results Folder. . 34) How would you connect to database using vbscript ? To connect to the database you must know a) connection string of your server b) username c) password d) DNS name You can code the database connectivity command directly or you can use the SQL Query tool provided by QTP. Once the scripts are added in the tool .33) What is a Run-Time Data Table? Where can I find and view this table? Data like parameterized output . Unlike Checkpoints. It can also be accessed in the Test Fusion Report. checkpoint values . Check point is a verification point that compares a current value for a specified property with the expected value for that property.

ImageFilePath] where EventStatus = 0 or micPass 1 or micFail 2 or micDone 3 or micWarning Results can assume any status like Pass . Fail . Warning etc. QTP bypasses the optional step and proceeds to execute the next step.ReportEvent EventStatus. You can also send screenshot to the test results window. Details [. If the GUI object is not present. . 38) What is Reporter.36) What are the drawbacks of QTP? As of QTP version 10 1) Huge Tests in QTP consume lots of memory and increase CPU utilization. 2) Since QTP stores results in HTML file (and not txt) the result folder sometimes becomes big.Reportvent is standard method provided by QTP to send custom messages to the test results window. QTP performs the operation on it. 37) What is an Optional Step ? A step when declared optional is not mandatory to be executed. If the corresponding GUI object is present. ReportStepName. Syntax Reporter.ReportEvent ? Reporter.

40) What is smart Identification? Typically. Test Settings and Tools/Options tab to create a zip of the script at the source computer. if a property value does not match the script does not fail but it proceeds ahead to compare the next property. . QTP does not give an error if the property values do not match. The test fails. Dim temp 'Will declare the temp variable Set temp = 20 ' Will assign a value 20 to temp. Learn more about SMART Identification 41) 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. In Smart identification. In smart identification. Ex. Smart identification can be enabled in Object Identification Dialog box. but uses Base filter and Optional Filter properties to uniquely identify an object. if even one of the on-screen object property does not match the recorded object property. 39) What is GetRoProperty ? GetRoProperty is a standard method provided by QTP to fetch property values of a run -time object. You assign value to the variable using the SET keyword. These zip files then can be imported into QTP at the destination computer.39) How will you declare a variable in QTP ? You declare using a DIM keyword.

But QTP itself can work on multiple instances of the Application Under Test (AUT).xls".ExportSheet ". You can work with only single instance of QTP on the same machine.. Ex: QTP can handle multiple IE browser windows. This is can be changed in Test Settigns. 47) What is the extension for a function library ? The extension is '."Global" 44) What is SetToProperty ? SetToProperty changes property of an object stored in the Object Repository..dtGlobalSheet DataTable. However these changes are not permanent.\. 43) Give the syntax to import/export xls into QTP.QFL' .42) Can launch two instances of QTP on the same machine ? No.xls".ImportSheet ". 45) What is the standard timing delay for web based application in QTP ? The standard delay is 60 seconds. 46) What is the Action Conversion Tool ? It is an in-built tool provided by QTP to convert Actions into Business Process Components.\..\Results\Output.1. DataTable..\TestData\Input.

All these standards are checked by Accessibility Checkpoints. 5. How to create the dynamic object repository in QTP? 3. How to recognize each instance and setting 8. How to pass parameters from one action to another action. For example the standards make it mandatory to have an 'alt text' for an image. how many maximum actions can be performed in a single test 2. how many times will the test iterate? The test will iterate only once . how to connect the database through QTP 7. What is difference between global sheet anh action sheet? 4.to -speech converters and atleast understand what the image is about if not see it. How to open multiple instances of an application from QTP? 2. So a blind person who is accessing the website. QuickTest Pro Questions Only (1) 1. 49) What factors affect bitmap checkpoints ? Bitmap checkpoints are affected by screen resolution and image size. This is the chain of question#: 15434What conditions we go for Reusable Scripts and how we create and 9.48) If the Global Data sheet contains no data and the Local Datasheet contains two rows of data.Suppose there are 4 tests and i want to call these 10. 50) 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.global iteration. will use text . Is it possible to test a web application(java) with winrunner? . Can we call QTP test from another test using scripting. How to perform Cross platform testing and Cross browser testing using QTP?Can u explain giving some exampl 6.

How do you retrieve the Class name of a Test Object programmatically from within a script? 34. 20.What is the difference between analog recording and low level recording 16. 30.2 compared with earlier versions? 31.XSD file format. Is there any function to double click a particular row in a webtable? 14. How can we insert Text check point and Bit map check point ? if provide example script. How to schedule tests in QTP? 28. How to get the column count and column name from resultset in database connction program? 25. and what are its models ? Best regrds. 32. Hi forum.otherwise is it possible to check with 11.Airtel etc 36. What is the Difference Between Bit map Check point & Image Check pointPlease explain in detailText & 23. how to identify a 'web element' class object while recording and running in 'Event' mode of settings. what is the use of command tab in Debug viewer ?can we execute any user defined queries 15. How to write QTP scripts?2. Is Addins enough to work in Flex based applications? or do we have to get a licence for multimedia for 29. What is Analog recording. 27. Winrunner or Xrunner)? If QTP supports let me know the brief 35. 17. Any related website resource to learn QTP?3. Could any body tell me what is AMDOCS. What is the new Version of QTP which is recently released in the Market? 19. How to check an XML schema (XML Schema Validation--from XML file)? Ttell me about . Can we mask a Code In . what are advantages and disadvantages between internet explorer . 1. What is difference between window(" ") and dialog(" ") in QTP while creating script? 33. How to call a funtion present in dll file in QTP Script. What is the use of function and sub function in QTP? 18. I want to see the results of not only the latest (‘n’th) iteration 21. How can we do block commenting in QTP? 24. What is the best way to test UNIX (QTP. it is greatefu 12. what is database check point.vbs file so that it is not viewable to others? 13. I have n iterations of test run in QTP. What are the new features available in QTP 8. What steps the to be follwed 26. What is the Recovery Scenerio can apllied for any telephone line connection(Ex:BSNl. How to call from one action to another action in QTP? 22.

How to use a data driver in QTP? 59. Difference Between text and Textarea checkpoints in QTP 39. How to record Flex (1.I need the script. 1)what is the advantage and disadvantage of using Virtual Object wizard?2) How efficiently we can use 61. I usually check the ActiveX and VB add-ins 38. What is the process for creating an automated test script using QTP assuming you have reviewed the manual 58.0) objects using QTP?Post the code which works for this.and netscape navigator (or) Internet 37. If winrunner and QTP both are functional testing tools from the same company. How to Handle dynamic WebList in QTP.Values in Weblist are different 40. For the AS/400 application that takes data only thru the keyboard input and not even single mouse click 46.XSD extention . What is the Hotkey that can be used for Hitting spacebar? 41.wat is *.5 43.. wat is xml schema validation and how to perform schema validation for a file. it takes all objects 45. how can i insert database checkpoint in qtp-6. We are trying to avoid that anybody see our script after we wrote it.why a separate tool QTP 49. Can we call a QTP script from a main script without making it reusable? 63.. Can any one pls tell me about how to configure the environment variables in qtp and how to use the variables 57. How can we recognize objects in Flex application using QTP? When I record scripts. What is the method used to focus on particuler field. How to write QTP test results to an Excel application 47. After importing external . Without recording objects in Object Repository are we able to run scripts? 62. 54. Did anybody know how to do this? 42. What are different execution modes available in QTP & explain them. How do you test DLL files using QTP? 51. How to write recovery scenario for below questions and what are the steps we will follow?if i click 48.xls datasheet in to Datatable of QTP.I flights 60. How to test Dynamic web pages using QTP 53. How do we test Links using Quick Test Professional and confirm that the page we are requesting is seen 50. 44. Anybody with an experience of testing Mainframe applications. How do we connect to Oracle database from QTP ? 56. Advantage of using Mercury Quality Center over Test Director 55. How to set NO of iterations run for 52.I will give example.

What are the limitations for XML Checkpoints in QTP 8. Please provide the exact code if possible ASAPThanks 68. How can I import and/or merge an existing repository into my current test? 81.The original 90. Text 73.I was set the repository as per test mode and recorded my script. How do I use text checkpoint in QTP as everytime I use this checkpoint in the excel sheet and highlight 71. what is difference between stub and driver? 84. How to Run a script recorded in English flavor of my application and re-run the same script on different 67. What are the disadvantages or drawbacks in QTP? 88. What is meant by Source Control? 85.. What qt plus ? How we merge the files in qtp?What is feasibility study in automation? 91. private 77. I need information on using FSO(file system object) also its significance 66. How do you test siebel application using qtp? . What is descriptive programming? 86. can we change script 92. 72. how good is QTP for testing siebel applications?whether QTP recognizes siebel objects or something else 70. I'm looking for a way to run a test in background 89. Anybody explain me. Each test that you run is displayed into the screen . What are Limitation of QTP? 83. Hi. I have faced one question in interviewhe has given one screen with one bitmap and one edit box. What is the best way to do regression testing using QTP. when a script is recorded in quick test for connecting 10 rows in the database. Pages.because when i record the editing on an XML file and run it. the concept of checkpoint declaration in the QTP mainly for the Objects. public. How to write QTP test results to an Excel application. 1. How is automation used in QTP for regreession testing. 76.some 87.. Please give me a sample script. how to automate editing an XML file .64. How can we validate the PDF file recognization and its content with the help of Mercury product QTP(Quick 74. how to retrive/update database by writing code in expert viewIn my case database is Accessmy dsn name="try"database 79. What is Expert view in QTP?Can you explain with example? 75. what is the use functions in QTP. Can any body expalin me the differences between a reusable and a external action with example? 65. How can we return values from userdefined function? anybody provide code with small example its great 78. Now I wana to change the repository 82.0? 69.

What are recovery management techniques? 7.. How to get "FontSize" of a "WebEdit"? 101.. How you will creat a object in VB Script? 111.to record. How to handle the exceptions using recovery scenario manager in QTP ? 104..Do we get any issues if we run the testscript on different browsers? What are the options we need to st in QTP? 4. How to import a test case present in ".. 106. Write a Script if a button is enable or not? QuickTest Pro Questions Only (2) 1. What do you to script when objects are removed from application? 97.93. How to get Traceability matrix from TD? 94... What is the use of Text output value in QTP? 105.. How long have you used the product? 100.Can some one help me how to compare thevalues from one sheet to values in another sheet?suppose i have a field called temp in action1 and i also have temp in action2.How we can add actions in the test using QTP? 5. I want to open a Notepad window without recording a test and I do not want to use SystemUtil. i want to compare the values of those ..How we can merge the object repositories?say if we have two or three object repositories then how we can merge them?is there any option in qtp to merge the object repositories? 8.. What is the difference between TSL & VBScript? 112.. How We will count the total number of web Links on a Page? 110.List me out the short cut keys for some functionalities in the QTP.. How do you data drive an external spreadsheet? 98..for example. How to create a Runtime property for an object? 103.xls" file to TD under a Test set? 95.to run..Run command as well How do I do this? 107. Have you ever written a compiled module? If yes tell me about some of the features. Give me an example where you have used a COM interface in your QTP project? 99.. How to execute QTP script from command prompt? 109.What are the challenges do we face while testing webbased applications using the automation tool QTP or any? 3. What is the command in QTP to invoke IE Browser? 108..Does QTP provides any tools for parametarization? 6.. Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release? 102.etc 2.What is the difference between link and hyperlink? 9. How to attach a file to TD? 96..

..>A table contains some records which contains usernames & password.two actions sheets data table? how can i do it using descriptive programming? 10..i mean with out application deployed.Random testing of 500 test cases in qtp? 14. What is descriptive programming when it is useful? & when to use this? 22....what is the script we need to write using descriptive programming concept.. What are the most frequent errors you faced while executing your scripts? 30. What is environment variables? 17. What is the use of virtual object?explain? 18.30. give detailed explanation about recovery scenario.40.30.the .tell d script? 2.20...20..Scenario:2 combo boxes. How to handle recovery scenario in QTP. 27..How to do batch run in qtp? provide the steps? 11.. Can we run the scripts of qtp 8....How to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT? 23....Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.....d. What is the use of "function generator " in qtp? 16.e in expert view only..selecting 'a' shuld display 10.'b' shld display 20. . How to capture data from images in qtp and produce them in excel sheet? 26. are there any books for this? 12.30. What is the function (how to do) the batch testing in test director using manual testing procedure? 20. Difference between wr 8..and so on.shared object repository files and what is the extension for library files? 29....How to do the batch testing using qtp? 15... In qtp.. If two text boxes are there in a "form". What are the file extensions for pre-action.in QTP(simply data driven test script of qtp)? 24... How do you handle multiple banners(at the top the page.b. among all the check points what is the most important check point? 31.2? how to integrate with some other tools? 19.20.2nd combo contains 10.2 in the qtp 7.how to interact tool & application build? 13. What is a test strategy & what is the difference between test strategy & test plan? 21.c.. How to write script in QTP(vbscript)...and how to call script1 into script2? 32..0? 25. How we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables 28.1st combo contains a..

I am new in QTP. Which functionalities of QTP used in banking project? 53. the thing is tht it supports windows 2000.. What is the exact meaning of environment variables? what is complie module in QTP?what exactly it contains functions or actions? 49. Tell about descriptive programming in QTP8. What does VBS file contain. plz tell me any books for QTP. How to get the column count and column name from the result set in the data base connection program? 57. How will you handle the situation when object isnot captured during recors? .Xp but not windows 98. Tell me the QTP advantage and disadvantges? 55. How to test the mainframe application?(tell me few basic things) 60. How do you handle XML exceptions in QTP(here it is exception.my company is QTP.2? 43. Difference between image checkpoint and bitmap checkpoint? 38. and i am using windows 98 only and its not possible for me to update to windows 2000. Is it possible to map an image as standard object or u've to treat as virtual? how to map an dynamic image into standard object? 36. i checked the mercury site for QTP trial version and i found QTP9.not the check point) 34.mtr in action repository? 41.banner is scrolling) in a web page(donot take the name property(regular expression)) 33. Tell about automation object model(Aom) in QTP? 44. What is compile modulein QTP?what exactly it contains functions or actions? 50. What is unicoad compability?how does this makes a difference from winrunner? 48. What is the difference between rational rose and QTP?which tool is better to learn? 59. What is iteration? how it is related to test results in QTP 35. How to merge object repositories? 45. What is throw object? 61. What is the exact meaning of environment variabes? 51. in watch expression tab 52. How do you configure QTP and test director? 56. What is the command used to start the QTP from run. Scalability testing comes under in which tool? 58. I am begineer in QTP and i want to try the software QTP.??what is VBS file? 47. How to watch currnet value of an object like OK button or edit box with "agent nale:" lable.crate() in QTP? 39.0.so i learn QTP 42. 54. What is the descriptive. What is the exact diff between test and component in QTP? 37.. What is TOM in QTP? 40.guide me to get the tria version of QTP which supports windows 98 operating system.(start-> run) 46. What is the abbrivation of .

How to "turn off" QTP results after running a script? . 88. so u again start the system.How you call functions in QTP 75.tsr. there is any specific report form? 82.comaptibility.What is the difference between action and script 69. 85.user defined function in QTP 73.What happen in object repository(shared) if we call an existing action from an external action? and what happen in object repository(peraction) if we call an existing action from an external action? 91.What do you do if QTP doesnt recognize object. Can objects recognised without repository? 64.tsr. my que ishow can QTP directly opened when the system desktop appears? 86. Approch for installation.action1 name is A. action2 name is B.Give me descriptive programming code sample flight application in QTP 87.Anybody explain me.How you automate test scripts 80.How to convert a string to an integer? 93.text and tables? 84. In how many ways you perform batchtesting 67.suddenly systam has crashed.what action should be taken 81.pages.How you connect bugzilla with QTP 76.62.what is other name for this.After running scripts how you report results.How to use regular expressions in QTP?give an example.Can we directly automate testscripts according to requirements 79.two actions r there. What is the differece between normal mode and fast moce? 66.How you perform exception handling in QTP.Synchronozation types in QTP 70. What kind of errors can be handled in QTP in real time scenario? 63.Take a situation when you are working with QTP.the concept of checkpoint declaration in the QTP mainly for the objects. What is API 68.In object repository. What is smart identification? 65.How you sre using QTP in ur projrct 77.Can you put checkpoints for moving images.Batch testing in howmany ways u perform in QTP 71.How can we retrive ten rows from the data table using loop concept? 92.what is the output of A+B?if no. why? 83.how to test background color and dynamic images during runtime 89.system testing 72. 74.Where is the bitmap checkpoint be saved? 90.is it possible?if yes.how you automate testscripts one by one or modukewise or all at once 78.

Does QTP is "unicoe" compatible? 95. It is recommended that you switch off the Smart Identification for the object on which you use SetTOProperty function.How to retrive the property of an object in QTP? 99.How to handle run-time errors? QuickTest Professional (QTP) 8.What is the extension of script and object repository files in QTP? 97. But you can use WebElement(). If you want to use the OR feature then you have to go for Action only. What is the difference between an Action and a function? Action is a thing specific to QTP while functions are a generic thing which is a feature of VB Scripting. If the functionality is not about any automation script i. You can use SetTOProperty to change the test object properties. Can I change properties of a run time object? No (but Yes also). .object. Where to use function or action? Well answer depends on the scenario.How to change the run time values of a property for an object in QTP? 100.2 Tips and Tricks (2) Can I change properties of a test object? Yes. Code specific to QTP can also be put into an function using DP. now this is something not specific to QTP and can be done on pure VB Script. a function like getting a string between to specific characters.e. so this should be done in a function and not an action. You can use GetROProperty("outerText") to get the outerText of a object but there is no function like SetROProperty to change this property.outerText="Something" to change the property. Decision of using function/action depends on what any one would be comfortable using in a given situation.94.How to open any application during scripting in QTP? 98. A function is just lines of code with some/none parameters and a single return value while an action can have more than one output parameters. Action can have a object repository associated with it while a function can't.How to supress warnings from the "test results page"? 96.

.xml" How can I check if a environment variable exist or not? When we use Environment("Param1"). Can I validate a checkpoint without my test failing due to checpoint failure? code: Reporter. It can be text.What is checkpoint? Checkpoint is basically a point in the test which validates for truthfulness of a specific things in the AUT. But when we use Environment..Check (Checkpoint("Check1")) Reporter. There are different types of checkpoints depending on the type of data that needs to be tested in the AUT. attributes. What's the difference between a checkpoint and output value? Checkpoint only checks for the specific attribute of an object in AUT while Output value can output those attributes value to a column in data table.LoadFromFile "C:\Env.)..WebEdit(.. So to be sure that .. How can I check if a checkpoint passes or not? code: chk_PassFail = Browser(.).Page(..value("Param1") then QTP will create a new internal environment variable if it does not exists already..value then QTP expects the environment variable to be already defined....Filter = rfEnableAll 'Enable all the reporting stuff if chk_PassFail then MsgBox "Check Point passed" else MsgBox "Check Point failed" end if How can I import environment from a file on disk? Environment..Check (Checkpoint("Check1")) if chk_PassFail then MsgBox "Check Point passed" else MsgBox "Check Point failed" end if My test fails due to checkpoint failing.WebEdit(.Page(...). XML etc.).. image/bitmap..Filter = rfDisableAll 'Disables all the reporting stuff chk_PassFail = Browser(.).).

Recordset") objConnection.Open 'This will execute your Query If ObjRecordset.Value End if .field2 from testTable" ObjRecordset.PWD= " objRecordset.LockType = adlockoptimistic ObjRecordset.ActiveConnection=ObjConnection ObjRecordset.CursorLocation = adUseClient objRecordset.CursorType = adopenstatic objRecordset.variable exist in the environment try using Environment("Param1").Connection") Set objRecordset = CreateObject("ADODB.UID=.Open "DRIVER={Microsoft ODBC for Oracle}.Source="select field1.recordcount>0 then Field1 = ObjRecordset("Field1").value. How to connect to a database? code: Const adOpenStatic = 3 Const adLockOptimistic = 3 Const adUseClient = 3 Set objConnection = CreateObject("ADODB.Value Field2 = ObjRecordset("Field2").

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer: Get 4 months of Scribd and The New York Times for just $1.87 per week!

Master Your Semester with a Special Offer from Scribd & The New York Times