Not able to validate the pasted data in a word/excel to the copied data from the application

Ask general questions here.
[email protected]
Posts: 4
Joined: Fri Mar 01, 2019 2:11 pm

Not able to validate the pasted data in a word/excel to the copied data from the application

Post by [email protected] » Wed Mar 20, 2019 1:17 pm

Hello Ranorex Support,

The use case we are trying to test runs as follows.

Our users generate tables of engineering data in our program, then use a command in our program to create images of those tables for the users to copy into their reports. These reports are created with a text editor such as MS Word.

So what we would like to do is to be able to compare a table generated in our program (or an image of it) with an image of same as it appears in the Word document.

Can we use the Ranorex Snapshot function for this?

Thanks very much,

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5345
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Not able to validate the pasted data in a word/excel to the copied data from the application

Post by odklizec » Wed Mar 20, 2019 2:35 pm

Hi,

Ranorex snapshots are useless in case of comparing images. So if your users capture images of tables and paste such images to Word, snapshots are useless. I'm afraid, the only option in such case, would be image validation? But even image validation is mostly useless for such complicated thing like image of table. Tables should be validated as tables, not as images. So I would suggest to perform table validation (using ref. snapshot) before storing table image to word.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration