| Software Testing Software testing is a process used to identify the correctness, completeness and quality of developed computer software. |
![]() |
| LinkBack | Thread Tools | Search this Thread |
|
|||
|
Automate a Listbox
I am trying to automate the Country list box. Eg: Yahoo registration page Country drop down listbox.
I need to fill all the other text box field in the registration page with static text data.And then only for the country Listbox i need to get the list of countries from a .txt file and set it in my listbox, on after the other in a loop. |
| Sponsored Links |
|
|||
|
Quote:
Set Fso = CreateObject("Scripting.FileSystemobject") Fso."Several Options avaliable. Readline to readall. Google it and you will know" Read one after the other in a For Loop and then input . Like For i = 0 to totalcountries-1 country = Fso.ReadLine i .Set country Next The above is a sample code and is not a gurantee that it will work. but the logic applies. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| QTP Scripting listbox item select on Mobile Device. | PDAautomator | Software Testing | 1 | 06-26-2009 12:07 PM |
| Count of items in a listbox | bbb09 | Visual Basic Tutorials | 0 | 12-10-2008 03:47 PM |
| Counting identical items in listbox | Fatboy58 | Visual Basic Tutorials | 1 | 03-08-2008 05:18 AM |
| javascript - display items in listbox matching the keys pressed | sansircar | Microsoft .NET | 0 | 02-05-2007 05:55 PM |
| Urgent need of Quick Test Pro[QTP] Tutorial | balaji_goli | Testing Tutorials | 23 | 09-10-2006 10:56 PM |