Wednesday, June 15, 2011

QTP Interview Questions 2+ and 3+ Experience


1. What is the exe of QTP (QTPro.exe)
2. What is the extension of Script file (.mts)
3. What is the extension of Library file (.vbs)
4. what is the extension of Repository files ( .bdb & .tsr)
5. What is the extension of Recovery file ( .qrs)
6. What are the types of recording?
7. What are the types of run modes?
8. What is the difference between reusable action and Function?
9. How QTP can recognize the objects in the application
10. What is the difference between GetToProperty and GetROProperty?
11. What is Test Object and Runtime Object
12. What is Datatable used for
13. What are the different frameworks in QTP?
14. Can you write script to login into yahoo website?
15. What is descriptive coding?
16. What are the different types of recovery scenarios in QTP?
17. What is different between Call to Existing action and Call to Copy Action?
18. What is Action0?
19. What is expert view and keyword view?
20. Can you write a function to accept 2 numbers and return a value?
21. What is error handling in QTP?
22. What is difference between Global sheet and Local Sheet?
23. Write few methods of DataTable
24. What is the use of Environment Variables?
25. What are the types of Environment Variables?
26. How do you load environment variables during runtime?
27. What is the difference between bitmap checkpoint and image checkpoint?
28. How do you connect to database from QTP?
29. When the data is selected from Database, the data is stored in which object
30. What is description object?
31. Write script to count the number of links in a webpage
32. Write few methods of webtable
33. What is the method to count the number of values in a weblist?
34. How to set a value in a textbox.
35. What is the return value for split, getROproperty, len, mid functions?
36. What is the syntax to connect to Database (SQL SERVER?)
37. When data is retrieved from Database, where is the data stored?
38. If we don’t want to execute any action what to do?
39. When any error is raised in the Script, the details of error is stored in which object.
40. How to get the list of count of values from WebList
41. What is the use of SetTOProperty?
42. If more than 1 object in the window has same description properties what mechanism is used by the tool to differentiate the objects?
43. If object properties are changed during runtime what mechanism the tool can use to recognize the object
44. How to load Object Repository during runtime
45. How to load environment variables from a file during runtime.
46. What is the use of waitproperty
47. How to specify the datatable iterations for a local datasheet.
48. What does the Sync method for a webpage will do?
49. What is the default synchronization timeout for an object?
50. What is step into, step over, step out will do
51. What is a variable, watch, execute in Debug Viewer.
52. How QTP does identifies the object in the application.
53. What type of problems one will face with QTP, if too many browsers are opened at a time?
54. How to make arguments optional in a function?
55. can u store QTP frame work folders in VSS? If Not where u store those?
56. What is purpose of automation?
57. How good are you in writing VBscript code for your application? Can you completely
58. write VBscrit for your project with out using recording mode in QTP?
59. How to load the object repository at run time?
60.What is the framework followed by ur company in qtp.

Quality Center 10.0 Majer Topics

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

Monday, June 13, 2011

QTP 8.0,9.0,9.2, and 9.5,10.0,11.0 Features and Differences

What are the Features & Benefits of Quick Test Pro (QTP 8.0)?
1.    Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality Center.
2.    Introduces next-generation zero-configuration Keyword Driven testing technology in Quick Test Professional 8.0 allowing for fast test creation, easier maintenance, and more powerful data-driving capability.
3.   Identifies objects with Unique Smart Object Recognition, even if they change from build to build, enabling reliable unattended script execution.
4.   Collapses test documentation and test creation to a single step with Auto-documentation technology.
5.Enables thorough validation of applications through a full complement of checkpoints.     
Features provided with QTP 8.2, QTP 9.0 and QTP 9.2
      1. Mercury Screen Recorder:
Capture your entire run session in a movie clip or capture only the segments with errors, and then view your movie from the Test Results window.
      2. Dynamic Management of Object Repositories:
Quick Test now has a new Repositories Collection reserved object that you can use to programmatically manage the set of object repositories that are associated with an action during a run session.
      3.Object Repository Manager:
You can use the Object Repository Manager to manage the entire shared object
repositories in your organization from one, central location.
     4. Object Repository Merge Tool:
You can use the Object Repository Merge Tool to merge the objects from two shared object repositories into a single shared object repository. You can also use the Object Repository Merge Tool to merge objects from the local object repository of one or more actions or components into a shared object repository
    5.Handling Missing Actions and Resources:
Whenever a testing document (test, component, or application area) contains a resource that cannot be found, QuickTest opens the Missing Resources pane and lists the missing resource(s).
    6. Function Library Editor:
QuickTest now has a built-in function library editor, which enables you to create and edit function libraries containing VBScript functions, subroutines, modules, and so forth, and then call their functions from your test or component
7. Multiple Object Repositories per Action or Component
8. XML Object Repository Format: 
Features provided with QTP 9.5 
1.     Maintenance Run Mode  
2.     Process Guidance : 
This is little more than more accessible help files. Maybe this is good  
for when you are first learning to record a test, but it doesn’t seem to add much utility. 
3. Available Keywords Pane
All Test Objects and functions in one handy location.Rapid test development with  
drag  & drop.Object repository now also supports drag & drop 
4.Resources Pane:
All resources associated with the test. You can see your entire library file in this pane 
5.Missing Resources Pane 
6.Relative Path Helper 
 7.Improved Bitmap Checkpoint 
8.Web Extensibility
9.Anyone can add support for new web controls 
10.Rapid development in JavaScript11. Solid infrastructure supplied by the Web add-12.    Extensibility objects 
13.Built-in toolkit: ASP Ajax 
14.Tabbed browsing : 
Features provided with QTP 10.0 
Manage Testing Assets, Dependencies, and Versions in Quality Center (QC) 10.0 - QTP 10.0 has enhanced integration with Quality Center that provides support for asset versioning and asset comparison 
Perform Local System Monitoring While Running Your Tests - This feature (found at File > Settings > Local System Monitor) enables you to monitor the local computer resources used by the application you are testing during a run session. This will enable you to more greatly determine the affect your test is having on the system at run-time. 
Add Portability by Saving Copies of Tests with Their Resource Files - If you need to execute tests that utilizes resources stored in Quality Center, in an environment that doesn't have access to the network or Quality Center, this feature will be extremely useful. It provides the ability to save a standalone, local copy of the tests with its associated resources. 
Develop Your own Bitmap Checkpoint Comparison Algorithm - With this feature, you can develop custom comparer COM objects that perform bitmap checkpoints according to your test requirements. 
Manage Your Testing Tasks in the To Do Pane - This new To-Do pane enables you to create and manage self-defined tasks, and to view a compiled set of the To-Do comments from your tests, components, and associated function library. 
Improve Test Results Analysis with New Reporting Functionality - New functionality includes Jump to Step, exporting results to Word or PDF formats, adding images to Report Event steps, difference images for bitmap checkpoints, and additional information for Quality Center runs. 
Call Actions Dynamically During the Test Run - With the new LoadAndRunAction statement, you now have the ability to load and run an action only when the step with the statement is executed.This is useful, for example, if you use many conditional statements that call external actions, and you do not want to load all of these actions each time you open the test, since these actions may not be necessary during the run session. 
Test Standard and Custom Delphi Objects - With the new Delphi Add-in, you can test Win32 VCL Delphi control




PRODUCT ENHANCEMENTS 
Upgrade from Quick Test 9.5 - If you have QTP 9.5 Installed on the system, you can choose to upgrade to version 10.0. This will allow you to preserve some of the configuration settings and options that you already have set up. 
 Improved IntelliSense Functionality - QTP now provides full IntelliSense for objects created by a step or function (i.e. objects created by CreateObject method), variables to which an object is assigned, reserved objects, COM objects and properties that return objects. In addition, Intellisense sentence completion now provides lists of local variables. 
Added Control for Editing and Managing Actions in Automation Scripts - The QTP Automation Object Model has a new set of objects and methods for manipulating test actions and action parameters. You can use automation scripts to create new actions, modify and validate the syntax of action scripts, create and modify action parameters, and more. 
Improved Debugger Pane Design and Functionality - The Debug Viewer pan has a new look, including icons to help you identify the type of information displayed. 
New Object Identification Solutions in Maintenance Run Mode - In addition to helping you update your steps and object repositories when objects in application change, the Maintenance Run Wizard can now help you solve problems dealing with test failures due to missing objects, or objects that can only be recognized via Smart Identification. 
Additional Configuration Settings for Text Recognition Mechanism - You can now set all text recognition configuration settings from the QuickTest Options Dialog Box. 
New Look for Options, Settings, and File Dialog Boxes - The QuickTest Options and Settings dialog boxes have changed from their former ta-based design to a more easily navigable tree-based structure. The tree contains only the options relevant for the add-ins that are currently loaded. 
QuickTest Toolbar Customization Options - You can use the new Customize Dialog box to customize the appearance of existing menus and toolbars, and to create your own user-defined menus, toolbar buttons, and shortcuts. 
 Improved Web Extensibility - QTP Web Add-in Extensibility enables you to develop packages that provide high level support for thir-party and custom Web controls that are not supported out-of-the-box by the Web Add-in. 
.NET Add-in and Extensibility Improvements - The .NET Add-in has several new objects and methods, including the SwfPropertyGrid test object (for working with .NET Windows Forms property grids), GetErrorProviderText method and ErrorProviderText identification property. 
New Terminal Emulator Configuration Validation - The new Terminal Emulator pane of the Options dialog box now includes a Validate button. When you click this button, QTP checks the current configurations of the selected emulator. If a problem is detected, a brief description is displayed in the pane.
NEW SUPPORTED OPERATING SYSTEMS AND ENVIRONMENTS
  1. Microsoft Windows 2008 Server 32-bit Edition
  2.  Microsoft Windows 2008 Server 64-bit Edition 
  3. Microsoft Windows Vista, Service Pack 1, 32-bit Edition
  4. Microsoft Windows Vista, Service Pack 1, 64-bit Edition
  5. Microsoft Windows XP Professional 32-bit Edition -- Service Pack 3
  6. Citrix Presentation Server 4.5
  7. Microsoft Internet Explorer 8, Beta 2
  8. Mozilla firefox 3.0.x
  9. Delphi: IDE, versions 6, 7, and 2007 (for controls based on the Win32 VCL library)
  10. SAP: CRM 2007 (For controls that support test mode enhancements
  11. Java: IBM 32-bit JDK 1.5.x, SWT toolkit version 3.4
  12. Java Extensibility: Eclipse IDE 3.4
  13.  .NET: .NET Framework 3.5 -- Service Pack
  1.  Features provided with QTP 11.0
1.  XPath and CSS based object identification
Identify objects not only using normal object identification but with XPath  and CSS identifier properties. A much awaited and a killer feature
2.       Good Looking and Enhanced Results Viewer
The new improved results viewer provides an executive summary page with summary data, pie charts and statistics for both the current and previous runs and a quick link to the previous run results.
3.       Easy Regular Expressions
You can now create reg ex with the help of syntax hints. Regular Expression Evaluator is available to test regular expressions that you have created. Good One.
4.       Now identify objects not only in relation to each other but in relation to neighboring objects.
With this feature, QTP 11 has moved beyond the unreliability of ordinal identifiers. Objects identified with ordinal identifiers are good only as long as they maintain their relative positions with respect to each other in the new build of application. In case if this position changes or gets interchanged, ordinal identifiers may go for a toss.
5.       HP has now introduced Visual Relation Identifier.
A visual relation identifier is a set of definitions that enable you to identify the object in the application according its neighboring objects in the application. You can select neighboring objects that will maintain the same relative location to your object, even if the user interface design changes. You define visual relations in the Visual Relation Identifier dialog box, which is accessible from the local or shared object repository, and from the Object Properties dialog box.
6.       Load Function Libraries at Run Time
With the help of LoadFunctionLibrary statement. You can now load a function library when a step runs instead of at the beginning of a run session.
7.       Test Your GUI and UI-Less Application Functionality in One Test
Since QTP is integrated with Service Test, you can now test your GUI and non-GUI based apps in a single run.
8.       Record Support
For FireFox is now available.
9.       Much Awaited Log Tracking is available now
10.   QTP 11 is capable of receiving Java or .NET log framework messages from your application which can then be embedded in the run results.
11.   Embed/Run Javascript in web pages
You can use the new EmbedScript/EmbedScriptFromFile and RunScript/RunScriptFromFile functions to embed JavaScripts in all loaded browser pages. You can use these scripts to perform operations on, or retrieve data from, the browser pages in your application.
12.   Manage Test Data
Improved test data management when integrated with Quality Center
13.   Web 2.0 Toolkit Applications Support
QTP 11 now supports Web 2.0 Toolkit Applications out-of-the-box similar to any other add-ins.
14.   Automatically Parameterize Steps
You can instruct QTP 11 to automatically parameterize test steps at the end of record session.
15.   Silverlight Add-in
To test objects in Silver light 2 and Silver light 3 applications. [After installation, Silver light Add-in is displayed in the Add-in Manager as a child add-in under the WPF Add-in]
16.   Extend WPF and Silver light Support
You can use WPF and Silver light Add-in Extensibility SDK to develop support for testing third-party and custom WPF and Silver light controls that are not supported out-of-the-box