Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select item from weblist?
#2
Solved: 10 Years, 10 Months, 2 Weeks ago
Hi,

You can refer the items using index property to fetch from a list.

From what you have given, I understand that hours and minutes drop down are separte and will always present values from 0-12/24 and 0-60 respectively.

E.g.
Code:
Browser("Calendar").Page("Calendar").WebList("Hour").Select "#3"

Note - Indexing starts from 0 so the above line will fetch the 4th value from the drop down list. But if the values in the drop down change then irrespective of the value you want, it will always give you the value in the 4th position of the drop down.

I hope this helps.
Reply


Messages In This Thread
How to select item from weblist? - by SS001 - 06-09-2010, 09:25 AM
RE: How to select item from weblist? - by vijayendra.shukla - 06-09-2010, 09:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WEBLIST shayk1985 3 5,344 05-17-2018, 11:49 AM
Last Post: Ankur
  Cannot identify the specified item Beginner 0 2,372 06-22-2017, 04:55 PM
Last Post: Beginner
  [UFT] SwfObject as Toolbar: select item without coordinates felino 0 3,173 11-27-2015, 03:09 PM
Last Post: felino
  WinListView set item command Shahino007 0 2,556 10-06-2015, 03:57 PM
Last Post: Shahino007
  Weblist selection diya 11 20,819 06-16-2015, 08:27 PM
Last Post: rajpradeep32

Forum Jump:


Users browsing this thread: 1 Guest(s)