CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
QTP Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM TESTING INTERVIEW QUESTIONS QTP INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

QTP Interview Questions & Answers - Learning Mode

Quick Test Professional (QTP) is an automated functional Graphical User Interface (GUI) testing tool created by the HP subsidiary Mercury Interactive that allows the automation of user actions on a web or client based computer application.

Try QTP Interview Questions & Answers - Exam Mode

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Next

Sort By : Latest First | Oldest First | By Rating

QTP Interview Questions & Answers - Learning Mode
Try QTP Interview Questions & Answers - Exam Mode
Question: What is the difference between these three debugging modes
1.Stepinto
2.Stepout
3. Stepover ?



Answer: step into: the functional key F11 can also use to enable step into mode:It runs only current line of the test script. If the cuurent line calls a method, the method(or function, any reusable action ) is displayed in the view but is not performed(not execute).

stepout: the functional key for this step is shift+F11 , after stepinto genrally ir runs, It runs the end of the method(or reusable action or function) then pauses the test run.(it runs the method if any method is viewable or opene Source: CoolInterview.com
Question: I am working as Test Enigneer.In our company we are doing manual testing .I am keen to learn QTP tool...I download QTP from net..while conducting data driven testing i am facing problem
please explain me how to paramaterize ,how to perform data driven testing






Answer: Fill a field say XX with your input data in global sheet table that you want to parameterize. Global Sheet Table located at the left bottom corner if you have QTP 8.2.

Click on Tools on menu bar and choose Data Driver

Choose the field you want to parameterize

Click on Parameterize Button

Click on Next and go with default value unless you know what are you doing.

Click on parameter Option button and point Global Sheet and the field XX.

Save and run, it sh Source: CoolInterview.com
Question: What does it mean when a check point is in red color? what do u do?

Answer: A red color indicates failure. Here we analyze the cause for failure whether it is a Script Issue or Environment Issue or a Application issue. Source: CoolInterview.com
Question: How does Parameterization and Data-Driving relate to each other in QTP?




Answer: To datadrive we have to parameterize.i.e. we have to make the constant value as parameter, so that in each iteraration(cycle) it takes a value that is supplied in run-time datatable. Through parameterization only we can drive a transaction(action) with different sets of data. You know running the script with the same set of data several times is not suggestable, & it's also of no use. Source: CoolInterview.com
Question: What are the check points can be inserted without recording?




Answer: Database & XML Source: CoolInterview.com
Question: How to Analyzing the test results?

Answer: You examine the test results to pinpoint defects in your application. Source: CoolInterview.com
Question: How do you data drive an external spreadsheet?



Answer: Import from External Spreadsheet File by selecting Import then From File . Which imports a tabbed text file or a single sheet from an existing Microsoft Excel file into the table. The sheet you import replaces all data in the currently selected sheet of the table, and the first row in the Excel sheet replaces the column headers in the corresponding Data Table sheet. It is therefore essential that the first row of your Microsoft Excel sheet exactly matches the parameter names in your test.
CoolInterview.com
Question: What are the properties you would use for identifying a browser & page when using descriptive programming?

Answer: Name would be another property apart from title that we can use. Source: CoolInterview.com
Question: When I try to record a report application, when I run report data report is displayed in new window. QTP doest recognise record this new window. How to know whether data is there in new window or not.



Answer: Have QTP to learn the new report window.
Source: CoolInterview.com
Question: Without recording objects in Object Repository are we able to run scripts?



Answer: Absolutely not!! Qtp recognises the code through the objects of the object repository.It's like central repository to the tool.....(any comments )?? Source: CoolInterview.com
Question: What is qt plus? How we merge the files in qtp?
What is feasibility study in automation?



Answer: The QuickTest Plus is a Toolkit which contains extra utilities, documents, and code samples that expand available functionality. The toolkit provides addedflexibility for power users and enables intermediate users to create more sophisticated scripts.<br> Source: CoolInterview.com
Question: What are the coding standards for automation using QTP ?



Answer: .Declaration of Variables with proper bizness naming conventions

2.Initializations,Constants

3.Non-Reusable scripts with User defined Functions

4.Reusable scripts

5.Exception handler.


Source: CoolInterview.com
Question: How and what kind of Vb functions do u use in qtp?



Answer: You can use The following functions

Asc Function====

CBool Function===

CByte Function===

CCur Function===

CDate Function===

CDbl Function===

Chr Function===

CInt Function===

CLng Function

CSng Function

CStr Function

Hex Function

Oct Function===etc
Source: CoolInterview.com
Question: I have a list box control displayed in the .net application. Each and every items of this list box is a combination of check box and label to its side. QTP is recognising an item selected on record in terms of coordinates. I want to know that how can i make QTP identify the selection so that i can go for parameterization.



Answer: Actually the Webcheckbox is within a table. So we cannot directly access the checkbox using GetCellData. So we have to identify it as a checkbox object and then parameterize the object using the datatable or which ever way you like it.

Set Z = Browser("Payroll").Page("Payroll_Main").WebTable("PayStub").ChildItem(row,col, "WebCheckBox", 0)
Z.set trim(DataTable("Column_Name",dtGlobalSheet))

Source: CoolInterview.com
Question: How to use different debuging modes in QTP



Answer: Step INto
To run only the current line of the active tesdt or component.
Step Out
Step Out runs to the end of the called action or user-defined function, then returns to the calling action and pauses the run session.
Step Over
to run only the current step in the active test or component. When the current step calls another action or a user-defined function,the called action or function is executed in its entirety, but the called action script is not displayed in the QuickTest win Source: CoolInterview.com
Question: How to invoke a databse application for database testing?



Answer: Testconnection("Select * from emptable")

Function testconnection(query)

Set cnn = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
cnn.ConnectionString ="DRIVER={Oracle in OraHome92};SERVER=servername;UID=userid;PWD=pwd;DBQ=dbinstance"
cnn.open

rs.open query,cnn
rs.movefirst

for i = 0 to rs.fields.count
msgbox rs(i)
next

End Function

Source: CoolInterview.com
Question: How to customosize QTP?



Answer: QTP Integerated components like DBConnection,Datatable and Reporters can be customized.
Source: CoolInterview.com
Question: I Have an interview in Qtp..Please could any one give me the hints what will they ask in interview..this is the first interview for me.



Answer: Do not worry abt interview, just go & take up the interview, do not expect any thing & complete the interview. this would be an experience if you fail

Source: CoolInterview.com
Question: What is a Run-Time Data Table? Where can I find and view this table?




Answer: In QTP, there is data table used , which is used at runtime.
-In QTP, select the option View->Data tabke.
-This is basically an excel file, which is stored in the folder of the test created, its name is Default.xls by default. Source: CoolInterview.com
Question: Anybody with an experience of testing Mainframe applications.
I usually check the ActiveX and VB add-ins while launching the test. Also I'm wondering how would the object repository look when we actually select the Terminal Emulator add-in and record the sript.
Will it only record the Terminaal Emulator as the Object or will it record all it 's children, i mean the fields on the GREEN SCREEN.
Let's discuss.




Answer: First we have install Terminal Emulator add-in. Then try to identify the objects.

The objects will be added to the object Repository, but these objects will be identified depends the X, Y co-ordinates of the objects.
Source: CoolInterview.com

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Next



India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.21875 Seconds