write a function to read the items from Combobox of Flight
Reservation
application and save in excel.
Answer Posted / kishan
allItems=Browser().page().webComboBox().getROProperty("all
items")
arr=split(allItems," ")
'create excel appl object
set xlo=CreateObject("Excel.Application")\
xlo.visible=True
set wbo=xlo.Workbooks.open("D:\QTP\TestData\abcdef.xls")
set wso=xlo.worksheets("Sheet1")
for i=0 to ubound(arr)
j=i+1
wso.cells(j,1)=arr(i)
next
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is command for executing files?
What is synchronization point in QTP?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
What is the short cut keys for the following?
please any one can explain the keyword driven framework. with gmail example.
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
what is meant by Implicit and explicit requirements?
how to disable the pop ups through QTP using a script
what is the difference btn risks & Therads in the Test plan documentation?
How to explain a banking project in interview as a test engineer???
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
How many types of actions are there in quicktest professional (qtp)?