06-11-2012, 05:26 AM
My webpage has couples of dropdown. I want to get all the values from each dropdown and save them to excel with QTP. Is it possible?
Get values from dropdown the. Save it to excel
|
06-11-2012, 05:26 AM
My webpage has couples of dropdown. I want to get all the values from each dropdown and save them to excel with QTP. Is it possible?
06-11-2012, 09:44 AM
Hi,
Yes it is possible.Sample code is shown below.The below code will add all the items in "departing from" list to the excel sheet "List.xls" Code: list=Browser("Browser").Page("Find a Flight: Mercury").WebList("fromPort").GetROProperty("all items")
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Different Type of Dropdown Selector | zunebuggy | 6 | 3,493 |
05-01-2018, 06:46 PM Last Post: zunebuggy |
|
Need help for copying values from one excel to another excel | vinodhiniqa | 0 | 1,378 |
07-06-2017, 05:33 PM Last Post: vinodhiniqa |
|
How import final calculated values by cell formula from Excel not the formula itself. | qtped | 1 | 4,896 |
01-17-2017, 04:05 PM Last Post: sagar.raythatha |
|
Importing Excel sheet - Reference Values are not recognized | michiusa69 | 3 | 7,940 |
01-23-2015, 02:36 AM Last Post: lkng2001 |
|
Not able to click text inside the grid dropdown | szkapoo | 6 | 4,728 |
12-20-2014, 09:43 PM Last Post: supputuri |