Closed
Bug 909398
Opened 12 years ago
Closed 8 years ago
Port metrotestharness to python/ctypes
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jimm, Unassigned)
Details
(Whiteboard: [metro])
Ted suggested this in bug 905628 as a way simplify metro browser launch with automation code.
http://mxr.mozilla.org/mozilla-central/source/browser/metro/shell/testing/metrotestharness.cpp
Python would need to do some basic com invocation, file io, pipes, registry, and windows message handling.
Comment 1•12 years ago
|
||
I'm not sure if we can do COM in straight Python+ctypes. Calling any Win32 API is simple.
Comment 2•12 years ago
|
||
There is comtypes, an unsupported library built on top of ctypes and might work OK for simple things. A dev env that can build Fx can also build pywin32 from source, so I guess that's another option.
Updated•12 years ago
|
Component: General Automation → General
Product: Release Engineering → Testing
QA Contact: catlee
| Reporter | ||
Comment 3•12 years ago
|
||
Maybe we could build a smallish wrapper dll that python can import that does the com stuff. Then python could replace 98% of metrotestharness.exe, and use the dll for launching the browser.
Comment 4•12 years ago
|
||
That sounds pretty sensible, actually.
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [metro]
Comment 5•8 years ago
|
||
We never shipped the metro support, closing!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•