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 / 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 |
Why qtp the best testing tool?
how many types of actions r there? what r they? explain? pls give any one answer?
what are the attributes of QTP?
What are the main attributes of test automation?
I want some banking domain projects where can i get this projects ( anybody can help me plz)
How to create frame work for qtp?
1 Answers Bank Of America, Polaris,
Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?
How many tabs are available to view your test in a test pane and what are they?
How can we redirect QTP results in to a excel sheet after the execution
What is LoadRunner?
What is throw object?