Hallo world,

I have 42 links in a div tag. I need to pass that to an array so that while 
testing I could click on each. Problem is that the number could change. That's 
why I need to pass them to an array.
what I tried is:

s = ie.div(:id, "top").text.each do

but this puts all 42 link text to s[0]

and s.length = 406

all sort of numbers are in the array

any help appreciated
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6643&messageID=19027#19027
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to