On Oct 14, 10:33 am, iamqa <[email protected]> wrote: > Hi Chuck, > > You are right in regards to the length of the id's used in > identification. Also there is lot of dynamic data. short description > should be beneficial. I will fix my script. > > I ran my script in IRB, and found that .click is returning back a > value(time it took to execute), but I don't see any change in my > screen. Then I started using fire_events and got partial success with > onmousedown(highlights my email). > Wondered if another fire_event can trigger a 'enter'on that > highlighted email. > > Thanks
Well users would not usually hit the enter key, so I'd think perhaps more along the lines of perhaps onmouseup as what it might be looking for next. Paying attention to how long it takes the UI to respond after the event is good practice, it can clue you into places where you script might need to pause for a second to let client side code execute. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
