(I erred in an earlier post by asking two questions in one post.  This
post puts the second question separately.)

Some of the HTML pages I test are modified in the DOM after the HTML
is delivered.

One of the first manifestations of this that I saw was getting an
exception when I tried to select an option in a select list.  When I
put in code to print the number of options in the list, I got 0 even
though I could see many options on my screen.  I found that the
options were built by Javascript after the page is delivered.

I don't know of a way to be sure when all dynamically-created elements
exist, so I don't know when it's safe to try to access them.

Does anyone have a strategy for dealing with this?

Thanks, Burdette

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to