Opened 12 years ago

Closed 11 years ago

#3486 closed enhancement (fixed)

provide cross-browser synthetic event support?

Reported by: davidb Owned by: haysmark
Priority: high Milestone: 1.2
Component: TestFramework Version: 0.9
Keywords: Cc: simonjb bill Becky Gibson
Blocked By: Blocking:

Description (last modified by haysmark)

Dijit, and others would probably benefit from a cross-browser way of creating synthetic events.

I'm writing a test that uses a synthetic event and realized it would be great if DOH provided a nice way of doing this so that it works on all our supported browsers. Or maybe this belongs outside of the test framework for general usage?

Note a dijit implementation: dijit/form/ComboBox.js seems to make use of browser specific document.createEvent;

Attachments (1)

3486.zip (87.1 KB) - added by haysmark 11 years ago.
Initial checkin.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 12 years ago by davidb

Milestone: 1.00.9

comment:2 Changed 12 years ago by davidb

Example: FF uses document.createEvent, IE uses document.createEventObject.

We could normalize perhaps... dojo.createEvent

comment:3 Changed 12 years ago by bill

Milestone: 0.91.0

comment:4 Changed 12 years ago by bill

Owner: changed from alex to davidb

David, Alex and I are nominating you to put this into DOH since it's mainly for accessibility testing. Let's see how hard it is to do (on all browsers) and consider it for 1.0. It might be better to punt and just use Selenium, so if it looks too hard let's reconsider.

comment:5 Changed 12 years ago by davidb

OK cool, it is officially on my backburner :)

comment:6 Changed 12 years ago by davidb

Update: A volunteer is looking into Selenium, Windmill etc. to see if they have what we need. Eventually we should be able to hook one of these tools into DOH.

comment:7 Changed 12 years ago by Adam Peller

Milestone: 1.01.1

comment:8 Changed 11 years ago by simonjb

Milestone: 1.11.2

comment:9 Changed 11 years ago by davidb

I heard there were Windmill folks at DDD but unfortunately I didn't meet them. Are there discussions I could join about possibly using Windmill to solve issues like this one?

http://windmill.osafoundation.org/

Oh, and BTW, I'm coming back into the Dojo fold next week (part time).

comment:10 Changed 11 years ago by haysmark

Description: modified (diff)
Owner: changed from davidb to haysmark

Since I'm almost ready to drop code for the real event support (which is what we really need for a11y), I'll go ahead and take this.

comment:11 Changed 11 years ago by haysmark

Status: newassigned

Attached patch+applet for initial checkin of the test automator.

Changed 11 years ago by haysmark

Attachment: 3486.zip added

Initial checkin.

comment:12 Changed 11 years ago by Douglas Hays

(In [14729]) References #3486. Proxy commit for haysmark. Initial drop of robot testing enhancement.

comment:13 Changed 11 years ago by Douglas Hays

(In [14730]) References #3486. Proxy commit for haysmark. Initial drop of robot testing enhancement.

comment:14 Changed 11 years ago by Douglas Hays

(In [14731]) References #3486. Proxy commit for haysmark. Initial drop of robot testing enhancement.

comment:15 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [14732]) Fixes #3486. Proxy commit for haysmark. Initial drop of robot testing enhancement.

Note: See TracTickets for help on using tickets.