Closed Bug 909398 Opened 12 years ago Closed 8 years ago

Port metrotestharness to python/ctypes

Categories

(Testing :: General, defect)

x86_64
Windows 8
defect
Not set
normal

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.
I'm not sure if we can do COM in straight Python+ctypes. Calling any Win32 API is simple.
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.
Component: General Automation → General
Product: Release Engineering → Testing
QA Contact: catlee
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.
That sounds pretty sensible, actually.
Whiteboard: [metro]
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.