0% found this document useful (0 votes)
29 views2 pages

Real Time QTP Interview Questions.

Uploaded by

Ashwin jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Real Time QTP Interview Questions.

Uploaded by

Ashwin jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1) Explain about " Instr " function and what is the return value in

that function.
-> used get the position of sub string in string; it returns position(Number)

2) One object properties and values are changing dynamicallly. How can
u do that.
What is changing? do what?

3) Today date is 20th and i want to pass 24th to the application. What is logic.
msgbox DateAdd("d",4,NOW)

4. what are points needs to be taken care of while designing a framework?


Many; imp: TestCase
5. How you used to handle exceptions in you last project?
RSM

6. Can we call QTP test from another test using scripting. Suppose there are
4 tests and I want to call these tests in a main script. Is this possible in QTP?

NO

7. How QTP works or How QTP identify Objects?


refer QTP notes

8. How smart identification works?


it use Basefilter and optional filter ppts during runtime
10. What is the most difficult object to automate with QTP?
Graphs

11. What is .Net Windows Forms Spy? and how it is different from object spy?
it will display native property and method of .NetObject

12. How do you resolve conflicts while merging two Object repository?
Refer Notes

13. How to test XMLs in QTP?


xml checkpoints

14. How do you analyse QTP results?


refer notes

15. How to supress warnings from the test results?


Reporter.Filter=2
16. How to execute a SQL Query in QTP?
use DB checkpoint

17. Is cross browser testing possible with QTP? How?


yes; same scripts can be executed on IE,FireFox and Chrome

18. In how many ways you can call an action? which one you will prefer?
refer notes (3)

19. What are the things to focus on while doing automation feasibility study?
Cost;Feature;Resource...

20. Have you done estimation earlier? what was you estimation model.
Say NO

21. What is COM interface?


Component Object Model

22. Does QTP has COM interface? have you used it?
yes CreateObject code

23. Is it possible to change from Shared repository to Per Action or vice versa?
no

24. How to run multiple instances of application how to differentiate the instances?

CreationTime

25. How to click on a button in a cell in a web grid?


ChildItem

26. when tests run as batch, qtp shows the last run result only. how to get the results for the each an every script?
use FSO code

27. what will be your approach to test a dialogue box which displays random string and the title is also
ranrandom string and the title is also random.

Regular EXP

You might also like