When I do DP for selecting values from Weblists on a webpage, at one point Script gives General Error & does not select a item from Weblist which is multiple-selection.
Can anyone help on this issue?
My code is like below:
ListDesc("micclass").Value = "WebList"
Set obj1=Browser("title:=.*").Page("title:=.*").ChildO bjects(ListDesc)
Msgbox "No of Lists="&s
For i=0 to (s-1)
Msgbox "Index=" & i & vbCRLF & obj1(i).GetROProperty("name")
We can use ExtendSelect() for selecting multiple items. But I am not sure whether it is available for weblist.
eBook for learning Software Testing and QTP
yes, extend select is there
some sample code from QTP manual
Browser("index").Page("Fill-Out Form_2").WebList("what-to-wear").Select "Jeans"
Browser("index").Page("Fill-Out Form_2").WebList("what-to-wear").ExtendSelect "Socks"
The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer