<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Image comparisons in windows with no "sub-objects" (Thread)</title><description>&#xD;
We're using LabView for a lot of our major development.  Unfortunately, that tends to result in only one object that Rapise can easily identify... the window itself.  I tried OCR with Tesseract, but that engine doesn't seem to be able to glean much from the screen, so I'm moving to option 2: image capture and compare.  From what I understand, though, when taking images to compare on unrecognized objects, Rapise will take an image of the object below the pointer when an action is taken.  That would mean taking an image of the entire window, since it is the only visible object.  So if I were looking for a particular button to match a pattern I define, I have to compare the entire window(?)&#xD;
&#xD;
    Does that make sense the way I described it?     What I'd like to do is compare a defined area in the recording to the same area in playback, without having separate, visible "objects".  Perform action, take a copy of (39, 239, 114, 269) and compare to the recorded image of that same area.  If it's the same, then A.  Else B.     Thanks! </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/rapise/issues-questions/388.aspx</link><item><guid isPermaLink="false">threadId=388</guid><author>Yves M Gagnon (yves.michael.gagnon@gmail.com)</author><title>Image comparisons in windows with no "sub-objects"</title><description>&#xD;
We're using LabView for a lot of our major development.  Unfortunately, that tends to result in only one object that Rapise can easily identify... the window itself.  I tried OCR with Tesseract, but that engine doesn't seem to be able to glean much from the screen, so I'm moving to option 2: image capture and compare.  From what I understand, though, when taking images to compare on unrecognized objects, Rapise will take an image of the object below the pointer when an action is taken.  That would mean taking an image of the entire window, since it is the only visible object.  So if I were looking for a particular button to match a pattern I define, I have to compare the entire window(?)&#xD;
&#xD;
    Does that make sense the way I described it?     What I'd like to do is compare a defined area in the recording to the same area in playback, without having separate, visible "objects".  Perform action, take a copy of (39, 239, 114, 269) and compare to the recorded image of that same area.  If it's the same, then A.  Else B.     Thanks! </description><pubDate>Fri, 05 Oct 2012 20:02:02 -0400</pubDate><a10:updated>2012-10-17T17:31:36-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/388.aspx</link></item><item><guid isPermaLink="false">messageId=735</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> &#xD;
&#xD;
&#xD;
Hi Yves  Unfortunately Rapise only has limited image recognition capabilities, so you are cor</title><description> &#xD;
&#xD;
&#xD;
Hi Yves  Unfortunately Rapise only has limited image recognition capabilities, so you are correct, you'd need to take a image area screenshot and then compare the images using an image comparison tool. You could capture the image using an external tool during the run.  However before going down this road, have you tied using the Spy tool in Rapise, if you switch the Spy mode to "Accessible", do you see any objects beyond the main window?  Regards  Adam </description><pubDate>Sun, 07 Oct 2012 14:10:59 -0400</pubDate><a10:updated>2012-10-07T14:10:59-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/388.aspx#reply735</link></item><item><guid isPermaLink="false">messageId=741</guid><author>Yves M Gagnon (yves.michael.gagnon@gmail.com)</author><title>&#xD;
With the Spy Tool set to Accessible mode, I can only see "The whole window", and separate objects </title><description>&#xD;
With the Spy Tool set to Accessible mode, I can only see "The whole window", and separate objects for the title bar, the window controls, and the menus (not the initial text labels for the menus, mind you... just the list once the menu is opened.)  Everything else remains shrouded in mystery!  (I had to get theatrical.)&#xD;
&#xD;
    We're working on some potential other options, around building a custom interface allowing "Get" and "Set" functions, so that screen location to verify visual updates will be our only stumbling block.  Looks like Rapise is not unique in its inability to handle LabView, though.  I have not yet found a tool that does handle these objects... though there are rumours that a company once built an add-on for a different tool... and that company since went out of business and no longer has the add-on available.  :| </description><pubDate>Wed, 10 Oct 2012 15:45:30 -0400</pubDate><a10:updated>2012-10-10T15:45:30-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/388.aspx#reply741</link></item><item><guid isPermaLink="false">messageId=760</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> &#xD;
&#xD;
&#xD;
Hi Yves  If you know of that tool or add-on, let us know, maybe we can make contact with them</title><description> &#xD;
&#xD;
&#xD;
Hi Yves  If you know of that tool or add-on, let us know, maybe we can make contact with them, or at least dig up some of the code...?  Regards  Adam </description><pubDate>Wed, 17 Oct 2012 17:31:36 -0400</pubDate><a10:updated>2012-10-17T17:31:36-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/388.aspx#reply760</link></item></channel></rss>