Opened 11 years ago

Closed 11 years ago

#7443 closed enhancement (fixed)

robot: have a way of turning robot off on page load

Reported by: Douglas Hays Owned by: haysmark
Priority: high Milestone: 1.4
Component: TestFramework Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

When a page is loaded, there should be a way to turn the robot off. I suggest something like holding the CTRL key down during page load. May want to popup an alert so the user knows when to release the key.

Attachments (3)

7443.patch (2.6 KB) - added by haysmark 11 years ago.
Fixes #7443. When you move the mouse off the browser, the test stops.
DOHRobot.jar (40.5 KB) - added by haysmark 11 years ago.
New JAR file.
7443.2.patch (496 bytes) - added by haysmark 11 years ago.
Fixes #7443. Set mouse pointer to start inside document.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.3

comment:2 Changed 11 years ago by haysmark

Milestone: 1.31.4

With the robot tests separated from the original test files, this is now a less critical problem than when the ticket was first created.

Catching that CTRL keypress is difficult; for instance, I discovered in the first iteration of the robot that in Safari on Windows, key events are disabled until you or the robot try to click inside the document, at which point it may be too late to stop whatever bad thing the robot is about to do. It will take too much research to figure out by 1.3, but I will try to figure out something for 1.4.

Changed 11 years ago by haysmark

Attachment: 7443.patch added

Fixes #7443. When you move the mouse off the browser, the test stops.

comment:3 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

Fixes #7443. Proxy commit for haysmark. When you move the mouse off the browser, the robot stops sending events.

comment:4 Changed 11 years ago by Douglas Hays

(In [17477])

comment:5 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: closedreopened

FF3/Mac tests are terminating early after this change.

Changed 11 years ago by haysmark

Attachment: DOHRobot.jar added

New JAR file.

Changed 11 years ago by haysmark

Attachment: 7443.2.patch added

Fixes #7443. Set mouse pointer to start inside document.

comment:6 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: reopenedclosed

(In [17517]) Fixes #7443. Proxy commit for haysmark. Initialize lastMouseX/Y to prevent mouse moving out of bounds.

Note: See TracTickets for help on using tickets.