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 ?
Answer Posted / 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 View All Answers
How you can delete excel file in qtp?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
What are the key elements available in test result window?
How to recognise the webelement and verifying that webelement is enabled?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
How to interact tool & application build in QTP?
How does QTP identify an object?
What are the different attributes used with regular expression?
How many lines of code in each script of QTP?
what r the main attributes of test automation?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is quick test pro?
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
How is the Bitmap checkpoint different from Image checkpoint?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression