Hi Syed, You can use arrays for list boxes. The code provided by Uma Mahesh is the way you can achieve the result. Following are the steps involved -
1 -> Suppose yo have the values in the list as "Jan, Feb, Mar, ..." 2 -> First you find the entire text in the list using 'all items' property. This would return "Jan, Feb, Mar.... " 3 -> Separate the individual elements using Split method. This would give you an array like - arr(0) = "Jan", arr(1) = "Feb" ..... 4 -> You can then use a for loop and select values for every iteration. *Regards, Anish Pillai [QTP - Automation Repository] <http://www.automationrepository.com/> [Get New Posts in your Inbox]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds> * -- AR -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
