Page 1 of 1

_compareImagesAndGenerateResultForAutomatedTesting()

Posted: March 24th, 2009, 10:06 pm
by peteoconnell
_compareImagesAndGenerateResultForAutomatedTesting()

Hi, all I can find out about this method is that it requires 5 parameters. Is there anywhere to get documentation on these obscure methods?
Pete

Re: _compareImagesAndGenerateResultForAutomatedTesting()

Posted: April 25th, 2009, 2:14 am
by Paul Tuersley
The only reference I've been able to find to this is in a pdf I got from here called "ObjectList01 - DOM object list.pdf", but it doesn't have any usage instructions. How did you discover this method?

Re: _compareImagesAndGenerateResultForAutomatedTesting()

Posted: October 1st, 2011, 1:59 pm
by vfxman
Not sure if you guys ever figured this one out, but here is some slightly more info...

-The function requires 5 total parameters
-The first three parameters must be a File or Folder object
-The last two parameters must be numbers

This would hard crash AE:

Code: Select all

alert(_compareImagesAndGenerateResultForAutomatedTesting(Folder("~/Desktop/folderA"),File("~/Desktop/picB.png"),File("~/Desktop/picC.jpg"),4,5));
This would at least return "undefined":

Code: Select all

alert(_compareImagesAndGenerateResultForAutomatedTesting(File("~/Desktop/picA.png"),File("~/Desktop/picB.png"),File("~/Desktop/picC.jpg"),1,1));

That's as far as I could get with it. Hope this sheds a little more light on it. :)