Top 100+ Qtp Interview Questions And Answers
Question 1. What Is Qtp?
Answer :
Quick Test is a graphical interface report-playback automation tool. It is capable of work with any net, java or windows purchaser utility. Quick Test permits you to test widespread net objects and ActiveX controls. In addition to those environments, Quick Test Professional also enables you to check Java applets and programs and multimedia objects on Applications as well as fashionable Windows applications, Visual Basic 6 packages and.NET framework packages.
Question 2. How Does Qtp Recognize Objects In Aut?
Answer :
Quick Test shops the definitions for utility items in a report known as the Object Repository. As you report your take a look at, Quick Test will add an entry for every object you engage with. Each Object Repository entry may be recognized by using a logical call (decided routinely via Quick Test), and will comprise a fixed of properties (type, call, and so forth) that uniquely identify every item. Each line within the Quick Test script will include a reference to the item which you interacted with, a call to the appropriate method (set, click on, check) and any parameters for that technique (consisting of the cost for a name to the set technique). The references to objects inside the script will all be identified by way of the logical name, in place of any physical, descriptive houses.
SILK TEST Interview Questions
Question 3. Explain The Check Points In Qtp?
Answer :
A checkpoint verifies that anticipated information is displayed in an Application while the check is walking. You can upload 8 forms of checkpoints to your take a look at for widespread internet gadgets the usage of QTP.
A page checkpoint exams the characteristics of an Application.
A textual content checkpoint tests that a textual content string is displayed in the perfect place on an Application.
An object checkpoint (Standard) assessments the values of an item on an Application.
An photo checkpoint assessments the values of an photo on an Application.
A table checkpoint exams information within a desk on a Application.
An Accessibility checkpoint tests the internet web page for Section 508 compliance.
An XML checkpoint assessments the contents of person XML records files or XML files that are a part of your Web utility.
A database checkpoint exams the contents of databases accessed by your internet site.
Question 4. How Does Qtp Identify Objects In The Application?
Answer :
QTP identifies the item inside the utility by means of Logical Name and Class.
LoadRunner Tutorial
Question 5. What Is Test Object Model In Qtp?
Answer :
The check object model is a big set of item sorts or instructions that Quick Test makes use of to symbolize the items to your utility. Each test object class has a listing of houses which can uniquely become aware of items of that class and a set of relevant strategies that Quick Test can file for it. A check object is an item that Quick Test creates inside the test or aspect to represent the real item for your utility. Quick Test stores information about the object so as to help it identifies and exams the object at some point of the run consultation.
LoadRunner Interview Questions
Question 6. What Is The File Extension Of The Code File & Object Repository File In Qtp?
Answer :
Code file extension is.Vbs and item repository is.Tsr
Question 7. Explain In Brief About The Qtp Automation Object Model.
Answer :
Essentially all configuration and run capability provided via the Quick Test interface is in some manner represented in the Quick Test automation item model through items, techniques, and residences. Although a one-on-one comparison can't usually be made, maximum dialog bins in Quick Test have a corresponding automation object, most alternatives in dialog containers can be set and/or retrieved using the corresponding item property, and maximum menu commands and different operations have corresponding automation techniques. You can use the items, techniques, and homes uncovered with the aid of the Quick Test automation object model, along with standard programming elements including loops and conditional statements to layout your application.
WinRunner Tutorial WinRunner Interview Questions
Question eight. What Is The Default Add-ins In Qtp?
Answer :
ActiveX, Visual Basic, Web, Multimedia
Question nine. Is Qtp Supports Uni-code?
Answer :
Yes. UNI-CODE is a 16-bit device understandable language.
Automation Testing Interview Questions
Question 10. How You Are Developing The Script? Using Record And Play Back Or Manual?
Answer :
Both. Developing the Script depends on the Test Scenario.
QTP Tutorial
Question 11. How Many Types Of Recording Modes Are There?
Answer :
Three modes. They are Normal, Analog, and Low-stage
Rational robot Interview Questions
Question 12. What Is The Difference Between Analog And Low Level Recording?
Answer :
Analog recording will document the Mouse & Keyboard movements with appreciate to the Window or Application co-ordinates. Whereas low-degree recording will report the all of the objects inside the Application whether or not or not Quick Test acknowledges them.
SILK TEST Interview Questions
Question thirteen. Where We Can Use The Analog Mode And Where We Can Use The Low - Level Mode?
Answer :
Analog Mode is used for Signatures.
Low – degree Mode is used while your Quick take a look at is not recognizing sure gadgets for your Application.
Question 14. Is It Possible To Change The Values Of Analog Recording?
Answer :
No
Question 15. How Many Types Of Run Modes Are There In Qtp?
Answer :
Test Run Mode, Update Run Mode and Debug Run Mode
Selenium IDE Interview Questions
Question 16. What Are Test Settings And Global Settings?
Answer :
Test Settings are settings of that particular take a look at handiest.
Global Settings are settings that replicate any test in QTP.
Question 17. How Many Types Of Objects Are There In Qtp?
Answer :
Two sorts.
Test Objects and
Run Time Objects.
Question 18. What Is Test Object?
Answer :
check object are simple and ordinary objects that QTP understand.
LoadRunner Interview Questions
Question 19. Difference Between Test Object And Run Time Object?
Answer :
Test object are simple and everyday objects that QTP recognize.
Runtime object manner the actual item to which a take a look at object maps
Question 20. What Is Action? How Many Types Of Actions Are There In Qtp?
Answer :
An Action is a sequence of operations to do some paintings. There are 3 forms of Actions in QTP. They are
i) Non-Reusable Action (default)
ii) Reusable Action
iii) External Action
Question 21. Difference Between Copy To Action And Call To Action?
Answer :
In Copy to Action you'll copy the Script of an Action and for this reason can make vital adjustments to the script.
In Call to Action you're without delay calling an Action both from the same check or from a few other test. So, you can’t make any adjustments to the script. If you want to do any modifications to the script, you need to visit that precise take a look at and make adjustments.
Question 22. What Is An Object Repository?
Answer :
An Object Repository is an interface between QTP script and the Application.
Quick Test shops all its items information in Object Repository to perceive them later.
Question 23. What Are The Types Of Object Repositories? Which One Is You Are Using?
Answer :
Two kinds of Object Repositories are
Per-Action (default)
Shared
We are using Shared Object Repository.
Question 24. Have You Faced Any Problems With Object Repository?
Answer :
Yes, you may have problems with Object repository at the same time as figuring out the objects. Also, in case you are the usage of Shared Repository, then if you are changing homes of an item that you need to mirror simplest in that precise movement, can be reflected in all different moves of that check.
WinRunner Interview Questions
Question 25. Is It Possible To Merge Two Object Repository Files In Qtp?
Answer :
No, you could’t merge Object repository documents with every different.
Question 26. What Is The Difference Between Per-movement And Shared?
Answer :
Per-Action Repository will shop best those gadgets which can be recorded in that Particular action. Each Action can have its own Per-Action Repository.
Shared Repository will store all of the objects which might be recorded during the take a look at Irrespective of the Actions.
Question 27. How Qtp Recognizes The Object?
Answer :
QTP recognizes Objects through Object Repository.
Automation Testing Interview Questions
Question 28. If I Change The Object Name In One Action Will It Be Updated In All The Actions? Or Not?
Answer :
No, modifications made to objects in a single Action will not be pondered in another Action.
Question 29. How To Get The Particular Property Value?
Answer :
Either using Object Spy or the use of GetTOProperty (Property Name).
Question 30. Is It Possible To Change The Property Value At Runtime? How It Is Possible?
Answer :
Yes, using SetTOProperty (assets call, Value)
Question 31. If I Change The Property Value At Runtime Is It Effect Is Object Repository?
Answer :
No.
Question 32. What Is The Parameterization?
Answer :
Parameterization means executing the equal operation normally with specific Input information.
Question 33. How Many Ways Is To Parameterize The Value?
Answer :
Four ways. They are:
i) Test/Action
ii) Data Driver
iii) Environment variable
iv) Random Number
Rational robot Interview Questions
Question 34. What Is A Checkpoint? How Many Check Points Are There In Qtp?
Answer :
It is a Verification point that compares the modern fee with the anticipated price for a unique belongings of an item.
The different varieties of checkpoints are:
i) Standard checkpoint
ii) Text Checkpoint
iii) Text Area checkpoint
iv) Page checkpoint
v) Image checkpoint
vi) Bitmap checkpoint
vii) Table checkpoint
viii) Database checkpoint
ix) XML checkpoint
Question 35. What Is The Diff Between Image And Bitmap Check Point?
Answer :
Image: Used to test the belongings of an photo.
Bitmap: Used to test the selected/full picture evaluation.
Question 36. Have You Used Xml Check Point In Your Project?
Answer :
No
Selenium IDE Interview Questions
Question 37. For Example You Are Checking Bit Map Check Point Before Coming To The Results. How Can You Say It Is Passed? Or Failed? Anyways?
Answer :
If the Execution has halted at a Step for more than estimated time, then you could Estimate that the take a look at has been failed. You want now not watch for the effects window to come back to inform whether or not the result is bypass or fail.
Question 38. What Is Text Check Point And Text Area Check Point?
Answer :
Text: With Text checkpoint you may take a look at most effective a unmarried string price.
Text Area: With Text Area you could check a couple of rows and columns of text Strings.
Question 39. Suppose I Want Fail That Check Point? How Can You Do That?
Answer :
After recording unique item, simply alternate the value and play it returned. The Checkpoint might be failed.
Question forty. Is Text Area Check Point Supports For Web Applications?
Answer :
No
Question 41. In Qtp Is It Possible To Check Broken Links Of A Page?
Answer :
Yes. You can test the damaged hyperlinks through Web Testing. The navigation to test the damaged links is
Tools->alternatives->Web->Check Broken Links checkbox
Question forty two. Do You Know How To Connect Database? Can You Tell Me The Procedures?
Answer :
Step 1: you want to create a Connection String Object
Step 2: you want to create a Record Set to keep the values from desk
Step 3: Execute the Query
Step 4: Assign the values to the Record Set
Step five: Close the Connection String
Question 43. What Is Output Value? How Many Types Of Output Values Are There In Qtp?
Answer :
Retrieving values from the Application to the Data Table. An Output price is a step wherein one or extra values are captured at some stage in the run session to be used to any other point in the run. When any of the values is needed later inside the run as input, Quick test retrieves it from the required output area.
Question 44. What Is Accessibility Check Point?
Answer :
Accessibility Checkpoints are designed to help you effortlessly discover the areas of your Web Site that require special interest in line with W3C Web Content Accessibility Guidelines.
Question 45. How To Check Bitmap Output Value?
Answer :
There is not any output value for Bitmap.
Question forty six. I Have Created 3 Actions In Test Action1, Action2, Action3 But I Want Run Action 1,movement 3,action2 How Can You Change In The Actions In Keyword View?
Answer :
Go to Keyword view, Select the Action (keep your mouse button pressed) and Drop it within the order you want. That will do it.
Question 47. Suppose I Created One Object As Virtual Object? That Object Is Applicable To That Test? Or All The Tests?
Answer :
No, the digital Object you created can be relevant handiest to that take a look at.
Question forty eight. Is Virtual Object Supported In Low Level Recording Mode?
Answer :
Virtual Object may be supported only in Normal Recording. Both Analog and Low Level Recording will not support Virtual Objects.
Question forty nine. If Created One Virtual Object? Next Time I Changed The Window Position Will It Work?
Answer :
No, It will not work. The utility or window must be inside the identical role as it was on the advent time of virtual item.
Question 50. How You Create New Action In Qtp?
Answer :
Open QTP startup window, click on on “Insert” in the menu bar, select “Call to new Action”. It will create a new Action.
Question 51. Is It Possible To Split An Action? How?
Answer :
Yes, you may break up an Action. But in case your motion is either outside or Read best, then you can’t break up your action. Or if your cursor is at the first line of your action’s script then Also you could’t split your movement.
Question fifty two. How You Calling Actions In Qtp?
Answer :
you could name actions in QTP in 2 ways. They are
i) Call to Copy of an action
ii) Call to External action
Question fifty three. I Created three Actions In Test Suppose I Want To Run Action 1 In Single Time, Action 2 Is 4 Time What I Do?
Answer :
“RunAction” is the key-word used to run an motion. Syntax to run an action for Particular range of instances is
RunAction, Action Name, iterationQuantity
Example:
RunAction “movement 1”, oneIteration
RunAction “action 2”, 1, “1-four”
Question fifty four. Suppose You Are Using Shared Objects Repository In Your Test And You Want To Split Your Present Action? At That Time Shared Object Repository Is Single Or It's Also Splits?
Answer :
You will have best one Shared Object Repository for all of the moves. Your shared repository will by no means cut up into . It will continue to be single.
Question 55. How Can You Pass Value One Action To Another Action?
Answer :
You can bypass the values of one movement to every other motion by citing the input and Output values of these unique moves in Input Action parameters and Output motion parameters of those actions. Navigation to specify parameters in QTP is
Test -> Settings -> Parameters Tab
Question 56. How Can You Exit From An Action?
Answer :
You can exit an motion earlier than it runs in its entirety. There are 4 varieties of Exit action Statements you can use. They are:
i) Exit Action: Exits the modern movement, regardless of its generation attributes.
Ii) Exit Action Iteration: Exits the modern-day new release of the movement.
Iii) Exit Run: Exits the check, regardless of its new release attributes.
Iv) Exit Global Iteration: Exits the modern Global Iteration.
You can view the Exit action node inside the Test Results tree.
Question 57. What Is Recovery Scenario Manager? When You Go For Recovery Scenario Manager? Tell Me One Scenario Were Your Used Recovery Scenario In Your Project?
Answer :
Recovery Scenario Manager will coach Quick Test a way to deal with surprising Events inside the run consultation. If you execute your take a look at scripts unattended then we can cross for Recovery Scenario supervisor.
Question 58. What Are The Trigger Events In Qtp?
Answer :
Trigger Events are occasions that interrupt you for your run session.
Question fifty nine. How Many Types Of Trigger Events Are There In Qtp?
Answer :
The exclusive varieties of Trigger Events in QTP are:
i) Pop-Up window
ii) Object State
iii) Test Run Error
iv) Application Crash
Question 60. How Can You Send User Defined Messages To Test Report?
Answer :
In Keyword view, keep your cursor at a step and click on on
Insert -> Step -> Report
Select the reputation from the list field, name the message and give the message to be displayed in the information box.
Question sixty one. How Can Get Count Of List Box?
Answer :
By the usage of getItemscount method
Question 62. How Many Types Of Status Are There?
Answer :
There are 4 styles of Status in QTP. They are
i) Passed
ii) Failed
iii) Warning
iv) Done
Question sixty three. What Is Synchronization? What Are The Ways You Can Synchronize?
Answer :
It is used to dispose of the expected timing issues among the Quick take a look at Script and the Application. Different approaches of synchronizations are:
i) Wait
ii) Sync
iii) Exist
iv) WaitProperty
v) Synchronization timeout
Question sixty four. Where We Can Use The Synchronization?
Answer :
i) When looking ahead to the message field to be opened
ii) When watching for the Web Page to be downloaded
Question 65. How Can You Give Wait Up To 10 Seconds In Qtp?
Answer :
Wait (10)
Question sixty six. How Can I Change Object Description Or Check Point Values In Qtp?
Answer :
Using Object Repository.
Question sixty seven. What Is Optional Step?
Answer :
Your Script could be skipped to the next step if any error takes place within the step. That step is known as Optional step.
Question 68. Have You Done Batch Testing In Qtp? If Yes How You Are Doing?
Answer :
Yes. We can do Batch testing by means of deciding on the checks to be protected in batch and running them. To add exams to batch the navigation is:
Start -> Programs ->QTP ->Tools->Test Batch Runner -> Add
Question 69. How Do You Delete Unwanted Results In Qtp?
Answer :
The navigation to delete undesirable outcomes from QTP is:
Start->Programs->QTP->Tools->Test Results Deletion Tool
Question 70. What Are The Types Of Data Tables In Qtp?
Answer :
Three styles of facts tables are:
i) Global
ii) Action
iii) Run-Time
Question 71. Where You Get The Run Time Data Table?
Answer :
In Results window.
Question seventy two. What Is Object Identification?
Answer :
Used by using Quick Test to pick out the objects with precise description to each of the Object.
Question 73. What Is Smart Identification?
Answer :
Smart Identification is a mechanism that enables Quick Test to identify an item, even when the recorded description fails due to modifications in a single or extra belongings values.
Question 74. What Are The Ordinal Identifiers In Web Page?
Answer :
The unique ordinal identifiers in internet pages are:
i) Index
ii) Location
iii) Creation Time
Question 75. How You Can Decide Which Type Of Object Repository You Have To Use?
Answer :
Depending on the usage of Objects we determine which repository to use.
Question seventy six. Can We Run Test Without Adding Object In Object Repository? How It Is Possible?
Answer :
Yes, we will run checks with out including items on your repository using Descriptive programming.
Question seventy seven. What Is A Programmatic Description?
Answer :
The programmatic description will perceive the item from the software with out the help of Object repository.
Question seventy eight. When Do Go For Loop Condition In Test?
Answer :
If we need to run an motion for a selected wide variety of instances then we pass for Loops.
Question 79. Is It Possible To Call Win Runner Script In Qtp?
Answer :
Yes and the navigation are:
Insert-> call to win Runner
Question eighty. Where You Are Storing Your Script?
Answer :
C: Program Files Mercury Interactive Quick Test Professional Tests
Question 81. What Is Use Of Object Spy?
Answer :
To view the Properties and Methods of Test gadgets and Run time gadgets.
Question eighty two. How You Can Make An Action As Re-usable Action?
Answer :
Go to keyword view->Right click on Action->Action Properties
Check the Re-usable Action Checkbox.
Question 83. What Is Debugging? How You Debug Your Script?
Answer :
Debugging is used to view, set, or adjust the present day cost of objects or variables. It can be completed with the aid of clicking on debug viewer pane, when test forestall at any breakpoint or the take a look at pauses at any step due to error.
Question eighty four. If Object Is Not Recognized By Qtp But The Object Is Standard Object What Is Your Approach?
Answer :
Open Object Repository-> Add/Remove Object
Or
Record it using Low level Recording.
Question eighty five. What Is Data Driver In Qtp? Where We Use It?
Answer :
Data Driver is one way of parameterizing the script.
Question 86. What Are The Features & Benefits Of Quick Test Pro (qtp eight.Zero)?
Answer :
Operates stand-on my own, or integrated into Mercury Business Process Testing and Mercury Quality Center. Introduces subsequent-generation zero-configuration Keyword Driven checking out era in Quick Test Professional eight.0 allowing for immediate test creation, simpler protection, and greater effective facts-riding capability. Identifies items with Unique Smart Object Recognition, even supposing they exchange from construct to build, allowing dependable unattended script execution. Collapses take a look at documentation and take a look at introduction to a unmarried step with Auto-documentation generation. Enables through validation of applications via a full complement of checkpoints.
Question 87. How To Handle The Exceptions Using Recovery Scenario Manager In Qtp?
Answer :
There are four trigger events for the duration of which a recovery state of affairs have to be activated. A pop up window appears in an opened application all through the check run: A property of an object changes its kingdom or value, A step inside the check does now not run effectively, An open application fails in the course of the test run, These triggers are taken into consideration as exceptions. You can educate QTP to get better surprising occasions or errors that befell for your checking out environment during check run. Recovery situation supervisor gives a wizard that courses you through the defining recuperation state of affairs.
Recovery scenario has 3 steps:
1. Triggered Events
2. Recovery steps
three. Post Recovery Test-Run
Question 88. What Is The Use Of Text Output Value In Qtp?
Answer :
Output values allow to view the values that the utility talks for the duration of run time. When parameterized, the values trade for each generation. Thus by way of growing output values, we can seize the values that the software takes for every run and output them to the information table.
Question 89. How To Use The Object Spy In Qtp eight.0 Version?
Answer :
There are approaches to Spy the gadgets in QTP:
1) thru record toolbar, In the File Toolbar click at the remaining toolbar button (an icon displaying a person with hat).
2) True Object repository Dialog, In Object repository dialog click on at the button item undercover agent. In the Object spy Dialog click on on the button displaying hand image. The pointer now changes in to a hand image and we have to factor out the item to undercover agent the country of the item if at all the object isn't seen. Or window is minimized then, preserve the Ctrl button and prompt the desired window to and release the Ctrl button.
Question ninety. How Does Run Time Data (parameterization) Is Handled In Qtp?
Answer :
You can then enter test data into the Data Table, an included spreadsheet with the total capability of Excel, to control data sets and create more than one take a look at iterations, with out programming, to expand check case insurance. Data may be typed in or imported from databases, spreadsheets, or text documents.
Question ninety one. Explain About The Test Fusion Report Of Qtp?
Answer :
Once a tester has run a take a look at, a Test Fusion report shows all factors of the take a look at run: a high-degree effects review, an expandable Tree View of the test specifying exactly wherein utility failures befell, the test information used, application screen shots for every step that spotlight any discrepancies, and precise factors of each checkpoint bypass and failure. By combining Test Fusion reviews with Quick Test Professional, you may percentage reviews throughout a whole QA and development team.
Question ninety two. Which Environments Does Qtp Support?
Answer :
Quick Test Professional supports purposeful testing of all business enterprise environments, which includes Windows, Web,..NET, Java/J2EE, SAP, Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, mainframe terminal emulators, and Web offerings.
Question 93. Explain Qtp Testing Process?
Answer :
Quick Test checking out technique consists of 6 fundamental levels:
Create your take a look at plan –
Prior to automating there ought to be a detailed description of the test which includes the precise steps to follow, statistics to be enter, and all gadgets to be validated with the aid of the take a look at. The verification facts should encompass both statistics validations and life or nation verifications of objects in the software.
Recording a consultation in your software –
As you navigate through your application, Quick Test graphically displays each step you perform within the form of a collapsible icon-primarily based check tree. A step is any person movement that reasons or makes a trade in your website, which includes clicking a hyperlink or picture, or entering data in a shape.
Enhancing your check –
Inserting checkpoints into your take a look at lets you look for a particular value of a web page, item or text string, which facilitates you identify whether or not your application is functioning correctly. NOTE: Checkpoints can be delivered to a check as you file it or after the fact through the Active Screen. It is plenty less complicated and quicker to add the checkpoints in the course of the recording process. Broadening the scope of your test by way of replacing fixed values with parameters lets you check how your application performs the same operations with more than one sets of statistics. Adding common sense and conditional statements on your check allows you to feature sophisticated exams on your test.
Debugging your take a look at –
If adjustments have been made to the script, you want to debug it to check that it operates smoothly and without interruption.
Running your take a look at on a new edition of your application You run a test to check the behavior of your application. While going for walks, Quick Test connects on your utility and performs every step on your take a look at.
Analyzing the take a look at results –
You examine the check outcomes to pinpoint defects to your software.
Reporting defects –
As you stumble upon screw ups within the application whilst studying take a look at results, you may create disorder reports in Defect Reporting Tool.
Question ninety four. Explain The Qtp Tool Interface.
Answer :
It consists of the following key factors: Title bar, showing the name of the presently open test, Menu bar, displaying menus of Quick Test commands, File toolbar, containing buttons to assist you in handling checks, Test toolbar, containing buttons used whilst growing and preserving assessments, Debug toolbar, containing buttons used at the same time as debugging tests. Note: The Debug toolbar isn't always displayed while you open Quick Test for the first time. You can display the Debug toolbar by selecting View — Toolbars — Debug. Action toolbar, containing buttons and a listing of actions, permitting you to view the information of an man or woman movement or the whole take a look at float. Note: The Action toolbar isn't displayed whilst you open Quick Test for the primary time. You can show the Action toolbar by means of selecting View — Toolbars — Action. If you insert a reusable or external movement in a take a look at, the Action toolbar is displayed robotically. Test pane, containing tabs to view your take a look at-the Tree View and the Expert View ,Test Details pane, containing the Active Screen. Data Table, containing tabs, Global and Action, to assist you in parameterizing your test. Debug Viewer pane, containing three tabs to help you in debugging your test-Watch Expressions, Variables, and Command. (The Debug Viewer pane can be opened simplest whilst a check run pauses at a breakpoint.) Status bar, showing the repute of the check
Question ninety five. In How Many Ways We Can Add Check Points To An Application Using Qtp?
Answer :
We can upload checkpoints whilst recording the utility or we can upload after recording is finished the use of Active screen.
Question 96. What Is Parameterizing Tests?
Answer :
When you test your application, you could need to check the way it performs the identical operations with a couple of sets of facts. For instance, think you want to test how your utility responds to ten separate sets of data. You should report ten separate exams, every with its very own set of records. Alternatively, you may create a parameterized test that runs ten times: whenever the test runs, it uses a extraordinary set of statistics.
Question ninety seven. What Is The Differences Between Image Check Point And Bit Map Check Point?
Answer :
Image checkpoints permit you to check the properties of a Web image. You can test a place of a Web web page or application as a bitmap. While creating a take a look at or element, you specify the place you want to check by using choosing an object. You can check a whole item or any region within an item. Quick Test captures the desired item as a bitmap, and inserts a checkpoint within the take a look at or element. You also can pick out to keep most effective the chosen region of the item together with your take a look at or factor if you want to save disk Space. For example, suppose you've got a Web site that may display a map of a town the consumer specifies. The map has manipulate keys for zooming. You can record the brand new map this is displayed after one click on on the manipulate key that zooms inside the map. Using the bitmap checkpoint, you may check that the map zooms in effectively. You can create bitmap checkpoints for all supported trying out environments (so long as the precise upload-ins are loaded).
Question 98. How Many Ways We Can Parameterize Data In Qtp?
Answer :
There are four styles of parameters: Test, action or aspect parameters enable you to apply values surpassed out of your take a look at or factor, or values from different moves on your check. Data Table parameters allow you to create a statistics-driven test (or action) that runs numerous times the use of the information you deliver. In every repetition, or new release, Quick Test uses a specific cost from the Data Table. Environment variable parameters permit you to apply variable values from other sources throughout the run consultation. These can be values you supply, or values that Quick Test generates for you based on conditions and options you choose. Random wide variety parameters enable you to insert random numbers as values to your check or thing. For example, to test how your utility handles small and huge ticket orders, you may have Quick Test generate a random range and insert it in a number of tickets edit field.
Question ninety nine. How Do You Do Batch Testing In Wr & Is It Possible To Do In Qtp, If So Explain?
Answer :
Batch Testing in WR is not anything but jogging the complete take a look at set by using choosing Run Test set from the Execution Grid. The equal is possible with QTP also. If our check cases are computerized then by way of choosing Run Test set all the take a look at scripts may be done. In this technique the Scripts get performed separately with the aid of preserving all the final scripts in Waiting mode.
Question a hundred. If I Give Some Thousand Tests To Execute In 2 Days What Do You Do?
Answer :
Adhoc trying out is achieved. It Covers the least fundamental functionalities to confirm that the system is working first-rate.
Question 101. What Does It Mean When A Check Point Is In Red Color? What Do You Do?
Answer :
A purple coloration shows failure. Here we examine the cause for failure whether it's far a Script Issue or Environment Issue or a Application issue.
Question 102. Explain The Concept Of Object Repository & How Qtp Recognizes Objects?
Answer :
Object Repository: displays a tree of all items in the current aspect or within the present day action or whole check (relying at the item repository mode you chose). We can view or modify the take a look at object description of any test item inside the repository or to feature new objects to the repository. Quicktest learns the default assets values and determines in which take a look at item elegance it suits. If it is not sufficient it provides assistive residences, one after the other to the description until it has compiled the unique description. If no assistive residences are available, then it provides a unique Ordinal identifier along with gadgets place on the page or inside the source code.
Question 103. What Are The Properties You Would Use For Identifying A Browser & Page When Using Descriptive Programming?
Answer :
Name would be any other assets other than identify that we will use.
Question 104. Give Me An Example Where You Have Used A Com Interface In Your Qtp Project?
Answer :
com interface appears within the state of affairs of the front quit and back quit. For eg:in case you are the usage of oracle as again end and the front quit as VB or any language then for better compatibility we can cross for an interface. Of which COM may be certainly one of the ones interfaces. Create object creates manage to the instance of the required item in order that software can use the techniques on the specified object. It is used for implementing Automation (as defined by using Microsoft).
Question one hundred and five. Define Virtual Object?
Answer :
Virtual items enable you to file and run exams on items that aren't normally recognized via QuickTest. We can educate QuickTest to understand any region of your software as an object through defining it as a digital item.Some instances QTP won't understand some objects. In this form of situations Using New Virtual Object we can convert Custom Objects into wellknown Objects.
Question 106. How We Can Import Data From Database?
Answer :
we will import information from a database by using selecting a question from Microsoft Query or with the aid of manually specifying an SQL statement
Right-click on at the Data Table sheet to which you need to import the records and pick out Sheet > Import > from Database. The Database Query Wizard opens. Select your database choice preferences like create query using Microsoft query or specify SQL assertion manually and click on subsequent. After phrases with the aid of specifying connecting string and SQL statements. We can get data from database to information table.
Question 107. What Are Main Panes Available In Qtp Test Browser?
Answer :
Test pane—Contains the Tree View and Expert View tabs
Test Details pane—Contains the Active Screen
Debug Viewer pane—Assists you in debugging your take a look at. The Debug Viewer pane consists of the Watch Expressions, Variables, and Command tabs. (The Debug Viewer pane isn't always displayed when you open QuickTest for the primary time. You can show the Debug toolbar by deciding on View > Debug Viewer.)
Question 108. In What Occasion We Can Specify Global Sheet And Action Sheet?
Answer :
We shop information within the Global tab while we need it to be available to all movements in our check, as an example, to bypass parameters from one action to every other.
We keep facts inside the motion’s tab when we want it to be to be had to simplest one movement in our check.
Question 109. Differences Between Text And Test Area Checkpoints?
Answer :
Text Checkpoint—Enables you to check that the text is displayed in a display, window, or Web web page, in keeping with targeted criteria. It is supported for all environments
Text Area Checkpoint—Enables you to check that a textual content string appears within a described location in a Windows application, in keeping with detailed standards. It is supported for Standard Windows, Visual Basic, and ActiveX environments.
Question 110. What Are The Main Differences Of Qtp And Win Runner?
Answer :
QTP is icon primarily based trying out tool.
QTP makes use of VB script while winRunner uses TSL that's C language primarily based.
QTP has Recovery Manager .Win Runner 7.5 additionally having Recovery Manager.
QTP generates output values and these may be used as input values to different Objects.
QTP has userfriendly Browser, At a look we can have a look of scripts ,Active Screen and Data XL sheet.
In QTP we can’t put Runtime Database test Point. In win runner we are able to.
Question 111. What Are The Different Types Of Functions Available In Qtp And Explain ?
Answer :
Functions are 2 sorts:
1)VB Script Functions-abs,now….And many others
2) User defind Functions
Question 112. What Are Output Values And Why They Are Used ?
Answer :
Output values are values we can get the ones values from our utility. We can placed the ones values in statistics desk and wherever we need we will use those values. In Parameterizing Tests, you created parameters that inserted exceptional records into every iteration of a take a look at run. You can also retrieve statistics from your application and output it to the Data Table, the use of output values. This statistics can then be used at a later stage in the test. QuickTest displays the retrieved information, following the check run, within the Runtime Data Table.
Question 113. What Are Different Types Of Exceptions ?
Answer :
4 Types of Exceptions are there:
1)Pop-Up exceptions
2)Object State exceptions
3)Test Run mistakes exceptions
four)Application Crash exceptions
Question 114. What Are The three Main Stages Involved In Testing With Qtp?
Answer :
Creating Tests
Running Tests
Analyzing Tests.
Question 115. How Many Tabs Are Available To View Your Test In A Test Pane And What Are They?
Answer :
Tree & Expert
Question 116. What Are The Key Elements Available In Test Result Window?
Answer :
Test Result File bar, Menu bar, Test outcomes tool bar, Test result tree, Test result information, Status bar.
Question 117. With What Extension You Can Save The List Of Tests In A File To Run In Test Batch Runner?
Answer :
.Mtb
Question 118. What Is Meant By Hot Keys?
Answer :
A hot key is a key or a mixture of keys on a laptop keyboard whilst pressed plays a assignment. The particular mission done by means of a specific warm key varies through operating system or application. However, there are usually-used warm keys. For example, pressing
Question 119. How Is Test Case Write?
Answer :
Effective test case contain Test case description, check i/p information,exp o/p and actual o/p.
Question a hundred and twenty. How Will You Check That Your Test Cases Covered All The Requirements?
Answer :
There is one method to know the wide variety of test cases is Minimum Number of test instances=No. Of inputs *1.6
Question 121. Without Using Gui Map Editor We Can Recognize The Application In Winrunner ?
Answer :
Without Using GUI map Editor, We can apprehend the Application in WinRunner by using the usage of Rapid Test Script Wizard, however it's also recognize only Client server application, no longer Web primarily based software.
Question 122. What Is The Difference In Testing A Client-server Application And A Web Application?
Answer :
In both of the Test we're performing Load and Performance Testing. Testing the software in intranet (without browser) is an example for patron -server. Testing an application in net (the usage of browser) is referred to as net trying out.
Question 123. What Test You Perform Mostly? Regression Or Retesting In Your Testing Process?
Answer :
Retesting is the repeated execution of the test case which leads to a fault,with the aim that fault has been cured,Regression testing is the renewed trying out of already tested program or part after change with the intention that the change had.
Question 124. What Is System Testing And What Are The Different Types Of Tests You Perform In System Testing?
Answer :
System checking out is a type of Black container trying out. System trying out approach trying out the software. After the integration checking out, typically will do device testing. Functionality, Regression, and overall performance testing’s comes beneath machine trying out.
Question one hundred twenty five. How Does You Test A Weblink Which Is Changing Dynamically?
Answer :
This may be tested through the automatic take a look at gear like rational robotic and winrunner.
Question 126. What Are The Flaws In Water Fall Model And How To Overcome It?
Answer :
Since checking out comes at the remaining level , there are large probabilities of illness multiplication, defects could be migrated to every level wastage of human resources and time delays are also delivered.
Question 127. What Is Defect Leakage?
Answer :
Defect leakage defines the time gap among defects found to disorder resolved.
Question 128. How Will You Test A Keyboard?
Answer :
First take a look at the requirements of the keyboard as we're familiar with keyboards, take a look at the scale and layout of the keyboard as necessities subsequent assessments the full no. Of keys and check whether all keys are gift and gift efficiently in their specified.
Question 129. How Will You Test A Stapler?
Answer :
Using person popularity take a look at
Question 130. How To Handle Java Tree In Qtp?
Answer :
to begin with we need to have a java upload-in to address a java tree. In tools choice we've got the "object identity" drop down list. There we have the java choice to recognize the items there pick the tree alternative. Add the houses.
Question 131. How Many Types Of Recording Modes In Qtp?
Answer :
3 kinds of recording modes in QTP.
1.Normal
2.Analog mode
three.Low stage recording mode.
Question 132. How Do You Data Drive An External Spreadsheet?
Answer :
Import from External Spreadsheet File by using selecting Import then From File . This imports a tabbed text file or a single sheet from an existing Microsoft Excel record into the table. The sheet you import replaces all information in the presently decided on.
Question 133. How To Handle Dynamic Objects In Qtp?
Answer :
Using GETRO Property we are able to cope with the runtime objects.
Question 134. What Are The Different Scripting Languages You Could Use When Working With Qtp?
Answer :
VBScript, Java Script and Windows Script Host(WSH)
Question a hundred thirty five. Explain The Keyword "createobject" With An Example.
Answer :
Creates and returns a connection with an Automation object.
Example: ES = CreateObject ("Excel.Sheet")
Question 136. What Are The Properties You Would Use For Identifying A Browser & Page When Using Descriptive Programming?
Answer :
We use “name” property to become aware of browser and web page.
Question 137. Explain In Brief About The Qtp Automation Object Model (aom).
Answer :
Quick Test automate the trying out of your applications, we will use the QTP Automation Object Model to automate your Quick Test operations. Using the objects, techniques, and houses exposed by way of QuickTest's AOM, we can write programs that configure Quick Test options and run checks in place of performing these operations manually the use of the Quick Test interface.
Automation programs are especially useful for appearing the equal responsibilities a couple of times or on multiple assessments or additives, or speedy configuring Quick Test in keeping with your desires for a specific environment or utility.
Question 138. What Is A Run-time Data Table? Where Can I Find And View This Table?
Answer :
During the run session, Quick Test creates a run-time Data Table—a live version of the Data Table related to your take a look at or factor. When the run session ends, the run-time Data Table closes, and the Data Table pane once more presentations the stored design-time Data Table. Data entered within the run-time Data Table during the run consultation is not stored with the test or issue. The final information from the run-time Data Table is displayed within the Run-Time Data Table within the Test Results window
Question 139. How Does Parameterization And Data-driving Relate To Each Other In Qtp?
Answer :
Using parameterization function we can enhance test or element through parameterize the values that it makes use of. A Parameter is variable this is assigned a cost from the external information source. There are 4 kinds of parameters like Test/Action or Component, Data Table parameter, Random Number and Environment Parameter. Data Driving allows to parameterize numerous belongings values for test objects, checkpoints.
Question a hundred and forty. What Is The Difference Between Call To Existing Action And Copy Of An Action?
Answer :
When we insert Call to Existing Action, they may be examine handiest within the calling check. It can handiest be modified inside the unique check. Where as come to Copy of Action, you may make changes to the copied movement. Changes will no longer impact the unique motion where it created.
Question 141. Discuss Qtp Environment.
Answer :
Quick Test Pro environment uses the graphical interface and Active Screen technology. A testing method for developing test scripts, concerning manual test necessities to automated verification functions - Data driving to apply numerous units of statistics the use of parameters.
Question 142. Explain The Concept Of How Qtp Identifies Object.
Answer :
During recording QTP seems at the item and shops it as check object. For every check object QTP learns a hard and fast of default homes referred to as obligatory residences and have a look at the rest of the items to test whether or not this homes are sufficient to uniquely perceive the equal object at some point of test run.
Question 143. Differentiate The Two Object Repository Types Of Qtp.
Answer :
In QTP there are 2 object repositories, Shared Object Repository and Per Action Mode.
Default mode is Per-Action. In Shared, we use only one OR that is common to all actions and can proportion by way of different testers. It's like calling external libraries. We will use per motion OR for a each movement completely.
Question 144. What The Differences Are And Best Practical Application Of Each.
Answer :
Per Action: For Each Action, one Object Repository is created.
Shared: Single Object Repository could be used for all moves.
Question a hundred forty five. Disadvantages Of Shared Object Repository?
Answer :
It can't store items when it reaches maximum Size (2MB). We cannot do changes to an object via tester on the same time.
Question 146. What Is The Difference Between Check Point And Output Value?
Answer :
An output price is a price retrieved in the course of the run session and entered into runtime table or data desk eventually it could be used as enter cost to your take a look at. Checkpoint guarantees the functionality of an object through verifying the country of an object at some stage in the runtime.
Question 147. How The Exception Handling Can Be Done Using Qtp?
Answer :
Recovery state of affairs supervisor affords a wizard that guides you through the defining restoration scenario. Reco
