How to pass Ranorex snapshot to validate table

Best practices, code snippets for common functionality, examples, and guidelines.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to pass Ranorex snapshot to validate table

Post by Support Team » Tue Aug 11, 2015 3:29 pm

Hi nisha,

As you already noticed, the Table is not recognized as table due to the limitation of object recognition in delphi apps.

I also can see that you have enabled the GDI plug-in for this control. Basically, the table is now a collection of raw text elements with no tabular order. Therefore, I'm afraid this code sample is not compatible with such raw text tables.

Regards,
Markus (S).

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to pass Ranorex snapshot to validate table

Post by Support Team » Wed Aug 19, 2015 3:41 pm

Hello all,

This post is not referring to the GDI-Issue mentioned above - but a general update to this thread!

Please note that there's a new code example online that validates the whole content of a web-table against a given snapshot of a web table (expected outcome).
Still: The snapshot file needs to be extracted from its archive before being passed as a parameter (see introduction to the example when following the link below). The error message when passing in the archive (instead of the extracted version) is precise and has also been improved for the code sample "validate table" outside web.

Here it is:
http://www.ranorex.com/support/user-gui ... html#c8203

Kind regards,
Roland (E)
Ranorex Team