write a function to read the items from Combobox of Flight
Reservation
application and save in excel.

Answer Posted / pushkar1206

a=browser("vtiger CRM - Commercial").Page("vtiger CRM - Commercial").WebList("login_theme").GetROProperty("all items")
b=split(a,";")
Set obj=createobject("excel.application")
Set obj2=obj.Workbooks.Open("C:UserspushkarDesktopBook1.xls")
Set obj3=obj2.Worksheets("Sheet1")
For i=0 to ubound(b)
j=i+1
obj3.cells(j,1)=b(i)
obj2.Save
Next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Samrat, Thank u very much, what u said it is right.

1353


Did QTP prove efficient for your project? Yes or No, explain?

6124


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1404


How to check feasibility of the appliction?in automation testing?

1478


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1835






Step 3&4 are repeated until an the object in recognised uniquely.

1535


How to check bitmap output value?

635


What is data driver in qtp? Where we use it?

574


How do Parameterization and Data-Driving relate to each other in QTP?

568


How do you delete unwanted results in qtp?

614


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2272


How do you synchronization point through DP?

608


What r the different filters in defect in quality center

3295


What is parameter in qtp?

686


what is the structure for the data driven framework

1496