On Mon, Feb 1, 2010 at 9:59 PM, Venkat Raman Don <Don.Raman@xxxxxxxxxxxxx> wrote: > Hi, > > A good idea about using COM/GD. Let's talk about some pro/cons of it and the solution I gave. > 1. COM never worked with default IIS configuration because of permission issues. This means again you are not simulating a real world scenario. > 2. COM based solution will never have the ability to be ported to UNIX world. > 3. GD can be used for screenshot comparison but any screenshot comparison will have some error of margin. Plus your thing (expected output) will be dependent on screen resolution/display settings etc. If your code has to be portable going this route is not a good idea in my view. > > Regarding dependency on IE, I see no reason why we cannot use a Mozilla based browser and automate it. That way it can work on any platform though it will have its own challenges but not the ones we will face using GD and COM. Sorry, I was not clear. My point was: There is no need of a browser to do http requests and compare the output. For test client side results (visuallly, js, etc.), there are excellent tools out there like selenium, but that's not what we discuss here. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php