Quick Test Professional Dictionary
QuickTest Professional Dictionary of Posts
Pages
QTP Dictionary
QTP Automation
Tuesday, 24 April 2012
Function to Select Multiple Items in the Listbox
Function SelectItems(Obj, items)
Dim idx, item
If (StrComp(obj.GetROProperty("type"), "select-multiple", 1) = 0) Then
For Each item In items
obj.Select(item)
Next
Else
obj.Select(items(0))
End If
End Function
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment