Opened 13 years ago

Closed 9 years ago

#9282 closed enhancement (wontfix)

robot: make interacting with file dialogs easier

Reported by: haysmark Owned by: haysmark
Priority: low Milestone: future
Component: TestFramework Version: 1.3.0
Keywords: needsreview Cc:
Blocked By: Blocking:


The async parameter on keyPress makes it possible to interact with modal browser dialogs, in particular file upload dialogs. However, when you need to type full path names, it is tedious to type the whole string with async keyPresses.

One way to make this easier on people would be to introduce an async parameter on typeKeys. However, this is not a trivial change; it would require a separate logic branch in typeKeys because the current setTimeout implementation would not execute in all browsers while the dialog is up.

Also, different OSes require using different file delimiters, like / vs
in your string. Java sets a property that tells you what the system file delimiter is; it's only a matter of exposing this delimiter to the doh.robot API.

Change History (3)

comment:1 Changed 10 years ago by ben hockey

Priority: highlow

comment:2 Changed 10 years ago by ben hockey

Keywords: needsreview added

comment:3 Changed 9 years ago by bill

Resolution: wontfix
Status: newclosed

Given the age of this ticket I assume it won't be fixed; we'll likely switch to using WebDriver? and it won't be an issue anymore.

Note: See TracTickets for help on using tickets.