1. How to capture data from images in QTP and produce them
in Excel sheet ?

2. What is Terminal Emulator add-in installation and
configuration procedure ?

3. Tell me how do u define action and transaction in QTP ?

4. Is QTP case sensitive ?

5. Problem with XML checkpoint ?

6. When was QTP 8.2 and Loadrunner 8.0 officially released
to the market ?

7. Can we record on netscape browser does it require any
special settings ?

8. How do I add new object to the object repository to any
particular frame ?

9. Do we have rapid test scrpit wizard in QTP ? How to learn
all the windows and objects in QTP

10. How to open Exceel sheet using QTP script ?

11. Is it necessary to learn VB script to work with QTP or
we can manage with keword driven ?

12. What is descriptive programming in QTP ?

13. How to invoke the QTP from dos prompt and run a test
without any interaction with human ?

14. What is the meaning of Context sensitive ?

15. How to retrive the property values from "Resource.mtr"
after recording the script with "Standard checkpoints" ?

16. Where should we use accessbility checkpoints. Can u
explain me with the example ?

17. How do we add object repository dynamically ? (During
runtime)

18. How to record right click of a context menu and click on
the selection ?

19. How to connect oracle database to QTP ?

20. How will you load few objects in Active Screen ?

21. Can I compare two DataBases using QTP ?

22. If the the two object have same class then how QTP will
find the object ?

23. Can I change the runtime properties of an object ? How
can I check if a parameter exists in database ?

24. What is the script for database check point, bitmapchek
point, regular expression ?

25. What is QTP environmental variable ?



1. How to capture data from images in QTP and produce them in Excel sheet ? 2. What is Terminal ..

Answer / venkat reddy

How to capture data from images in QTP and produce them
in Excel sheet ?

we can capture/get the text from image by using
getroproperty Method.
Ex:-if Browser("").Page("").image("").exist(5)then
taxt=Browser("").Page("").image("").getroproperty
("text/name")
end if
to produce them inexcel sheet we use a method called
filesystemobject (fso)

ex:-
dim fso,write
set fso=createobject("scripting.filesystemobject")
set write=fso.opentextfile("path",8(write),true)
write.writeline text
write.close


i think itwill work if it is wrong please let me know
reddyvenkt82@gmail.com

Is This Answer Correct ?    9 Yes 21 No

Post New Answer

More QTP Interview Questions

what is Property......End Property loop? how to write sript for it in QTP

0 Answers  


What are the features of quick test pro(qtp)?

0 Answers  


How will u test content of an web application with out using chechpoints in QTP 9.2?

3 Answers   CTS,


How to fetch web elements count from Google Page which contains letter "e"

4 Answers  


Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya

3 Answers  


Did you find anything in your project that QTP proved inefficient to perform?

1 Answers  


Hi PLZ explain User Defined Functions in QTP with eample?

2 Answers   Ordain Solutions,


Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.

4 Answers   MBT,


What is Parameterizing Tests?

4 Answers  


how to count spaces in a given string ex: "this is jagadeesh" in QTP with simple functional script

5 Answers   Cap Gemini,


What exactly is the difference among all the three recording modes.

5 Answers   Accenture,


What is the difference between browser sync and page sync in QTP?

2 Answers  


Categories