Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem in selecting multiple items in the weblist
#1
Not Solved
Hi,
I have a weblist, i need to select multiple items in the weblist.
Manually i can do in the application by pressing shift key.

i am using the below code
Code:
Set WshShell = CreateObject("WScript.Shell")
        oPage.WebList("name:=operatingSystems").Click
        WshShell.SendKeys "{SHIFT}"
Browser("browser").page("page").WebList("name:=operatingSystems").Select datatable.Value("OperatingSystems",oSheetName)
    set WshShell = Nothing
The above code does not work. it does not select multiple items.
The datasheet column:operating system has values
windows and imac.

but the above code selects only windows, how to select multiple items.
Any help will be really appreciated.
Regards;
vijay
Reply


Messages In This Thread
Problem in selecting multiple items in the weblist - by vijay44 - 02-04-2010, 03:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,067 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  Searching for and selecting row in Datawindow zsl0009 0 2,683 08-04-2015, 01:02 AM
Last Post: zsl0009
  Problem selecting in a dropdown menu during playback. qemls29 9 12,514 07-28-2015, 05:44 PM
Last Post: Sharan
  Unable to fetch items from WpfList in UFT saurabhkumar_gupta 0 2,286 03-08-2015, 09:17 PM
Last Post: saurabhkumar_gupta
  Can't locate items on Win7 Desktop RandomGrin 0 1,981 01-30-2015, 10:55 PM
Last Post: RandomGrin

Forum Jump:


Users browsing this thread: 1 Guest(s)