Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cascading heirarchy drop down list timing problem
#6
Solved: 10 Years, 9 Months, 1 Week ago
Sometimes the old tricks are the best tricks.

You could adapt the code to retrieve the number of items earilier, then compare that value to the current value to see if its different...

Code:
currcount = Browser(dpBrowser).Page(dpPage).WebList("html id:=.*ddlCountry.*").GetROProperty("Items count")

While Browser(dpBrowser).Page(dpPage).WebList("html id:=.*ddlCountry.*").GetROProperty("Items count") <= currcount
wait(1)
Loop

This might be a little more "reusable" and would allow for the standard "select something" type messages in a drop down. You could also adapt it to recognize if the "select something" messages were removed when repopulated or a number of other conditions.

Glad you have a working solution now.
Reply


Messages In This Thread
RE: Cascading heirarchy drop down list timing problem - by jsknight1969 - 10-12-2009, 08:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Compare second web list value according to the first web list value roselin6 1 2,655 10-07-2015, 09:14 PM
Last Post: supputuri
  Drop-Downs in excel sheet indianinworld 1 3,506 03-01-2011, 08:40 PM
Last Post: indianinworld
  How to do DP for a site with multiple heirarchy? viv_karthy 1 1,587 05-13-2009, 04:32 PM
Last Post: tarunpandey4@gmail.com
  Drop-down box mahadevan.swamy 5 4,123 11-03-2008, 12:47 PM
Last Post: amilar
  Unable to Record Drop down Menu and it's list items samuluru 3 4,192 07-02-2008, 01:48 PM
Last Post: nageshpv

Forum Jump:


Users browsing this thread: 1 Guest(s)