| || |
comparing two screen outputs
Is there any way to check 2 screens.i.e let us assume one screen(S1) as a default.And let another screen(S2) and after some modifications in the second screen(S2), that output should be the same as Screen(S1).Now my requirement is to know whether there is any way to compare both the screens(i.e S1==S2)using RationalROBOT.
Eagerly waiting for the help.
Re: comparing two screen outputs
First, I will assume that you have used Robot's built-in image verification tool along with verification points and for some reason you don't like it or it won't work for you like you need it to.
I wrote some code in java ( http://www.qaforums.com/cgi-bin/foru...=005173#000001 ) that either captures the whole screen, by coordinates or by object name. I then processed the image along with my expected image through imagemagick (free) and ended up with a composite image. If everything was perfect, I'd have a blank white image. If there were a few pixels off here or there, that could be ok too based upon what kind of differences I was looking for. Possibly there's another program out there that will compare 2 images and either return true, false or a difference factor. The result for me was a directory full of images that I could scan through real fast and expect to only see white.