Closed Bug 457955 Opened 17 years ago Closed 17 years ago

Request a Download manager controller API

Categories

(Testing Graveyard :: Mozmill, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tchung, Unassigned)

References

Details

Can we get a controller API for download manager? It's a big enough popup feature in firefox that could use one. If so, https://wiki.mozilla.org/QA/TDAI/Gristmill/Gristmill_API#Controller_APIs will need to be updated also. Thanks.
Blocks: 457956
I'm confused here. Do you mean you want some extra objects added to Controller objects created to test the Download Manager API? If so, which ones? Or, do you just want a similiar function that we have for getAddonsController/getPreferncesController? Or, do you actually need actions on elements outside of the regular click, doubleclick, assert, etc? If so, which ones?
(In reply to comment #1) > I'm confused here. > Or, do you just want a similiar function that we have for > getAddonsController/getPreferncesController? Oh, I was asking for this one. similar idea for a page info controller. but if you're saying that i can create Download manager or Page Info testcases for one of these existing controllers here, then please specify in the documentation.
Ok, Page Info is a directive that creates a new "Page Info" window for the current page. It doesn't reuse an existing window and is completely different for each page. As such, I think the proper use case for this is to; 1.) Use the menus API to do Tools -> Page Info 2.) Create a new controller for a window which is retrieved by title. (Note: If you use the recorder it should do this automatically but you may need to move the controller creation from the setupModule to your test function in line after you create the window and sleep for a second) The download manager on the other hand is a single window that is always reused and global to the app and should have a nice getController() method. New method added in r249, mozmill.getDownloadsController().
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.