|
Posted by Jason Barnett on 05/16/05 21:54
Dang Nguyen wrote:
> Hello,
>
> I would like to write some PHP scripts to automate web testing. I already
> have a framework that uses the COM class to automate the tests in IE. Now,
> I'd like to port that code so that I can test the same web pages in FireFox
> or Mozilla browsers. I haven't been able to locate any documentation or
> otherwise regarding this matter. Does Firefox have any COM interface like
> IE does?
>
> Cheers,
> Dang Nguyen
Firefox makes use of Cross Platform COM, aka XPCOM. Now when I first
read your question I didn't know what the answer was, but heck I was
interested enough that I actually got off my lazy butt and searched for
this one.
A nice discussion here:
http://forums.mozillazine.org/viewtopic.php?t=266661&highlight=automated+test
http://www.iol.ie/~locka/mozilla/control.htm
I haven't tried it, but it looks like you can use some of your
pre-exisitng code to test pages in Firefox as well.
<not_so_subtle_hint>By the way, other people might find your code useful
as well.</not_so_subtle_hint>
[Back to original message]
|