[wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Super Kevy
Whoops... entered my send too fast Here's the prototype of the form from mootools < [Month] [Year] > S M T W T F S

[wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Super Kevy
Mootools develper comments are: http://www.electricprism.com/aeron/calendar/#features I have tried to make Calendar as semantic as possible–with proper usage of CAPTION, THEAD, TBODY, TH and TD elements–and lots of CSS styling hooks. ... On Jan 12, 3:04 am, Željko Filipin wrote: > On Wed, Jan 1

Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Željko Filipin
On Wed, Jan 12, 2011 at 2:50 AM, xguarder wrote: > not sure how to do them quickly in a > sequence. browser.element(how, what).fire_event "onclick" browser.element(how, what).fire_event "onmousedown" ... Željko -- Before posting, please read http://watir.com/support. In short: search before y

[wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread xguarder
Thanks! I just tried them and I got a series of mousedown, mouseup, click, and mousemove. Unfortunately, any one of them fired alone doesn't do the trick, and not sure how to do them quickly in a sequence. On Jan 11, 6:29 pm, Željko Filipin wrote: > On Wed, Jan 12, 2011 at 12:27 AM, xguarder wro

Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread Željko Filipin
On Wed, Jan 12, 2011 at 12:27 AM, xguarder wrote: > However, there was some redesign on the > calendar and any of the fire_events don't work anymore. Did you take a look at the link I have posted? Did you check which events get fired? Željko -- Before posting, please read http://watir.com/supp

[wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread xguarder
Yep I tried that too actually. That's the way I used to do it (except with the mousedown event). However, there was some redesign on the calendar and any of the fire_events don't work anymore. On Jan 11, 5:47 pm, Željko Filipin wrote: > Did you try to fire the event? > > browser.element(how, what

Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread Željko Filipin
Did you try to fire the event? browser.element(how, what).fire_event "onclick" http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@goog

[wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread xguarder
Yeah, I tried that, but all that does is "flash" the element. Basically, it's a calendar with each date of the month as an object (table cell). Clicking on it will cause the object to "change". On Jan 11, 5:24 pm, Željko Filipin wrote: > Did you try just clicking the element? > > browser.element