nirvana Posted August 28, 2007 Share Posted August 28, 2007 Hi, I wanted to have a checkpoint where it will compare two images and return true or false. 1. My application shows a result summary so it will take printscreen of that result data summary. 2. It will save that image as bitmap or jpeg 3. I already had an image of same result data summary (which will act as template for comparison) 4. Autoit will compare these two images. 5. If even a slight change is there between those two images then it should fail otherwise pass. In Rational Robot, there is a inbuilt checkpoint function provided with which you can compare two images and make it as your checkpoint. so i was also thinking that in AutoIt there may be a way through which we can add checkpoint like this. One more question i want to ask is: I want to call an vbscript through autoit script, how i can do it? Link to comment Share on other sites More sharing options...
jpm Posted August 28, 2007 Share Posted August 28, 2007 You can compare the files just red the whole file in binary mode and compare the $binary1 to $binary2. I do that internally in the AutoIt nonreg tests checking. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now