Page 1 of 1

Grid Comparison Question (UI & Data)

Posted: Wed Dec 19, 2018 9:07 pm
by zzDoctorWhozz
We have a grid in the product that allows the columns to be re-sized as well as re-arranged. I want to be able to test that if I re-arrange the columns that they stay re-arranged when logging out and back in. I cannot find anyway to test this using record and playback as there does not seem to be a way to verify the whole grid just pieces of the grid. While I could do a test on every column heading I would prefer to not have to do that.

Any suggestions or work around that I have missed? I previously used Rational Robot and it had the ability to take a picture of the screen for a verification point as well as a data verification for the contents of the grid.

Re: Grid Comparison Question (UI & Data)

Posted: Fri Dec 21, 2018 8:48 am
by RobinHood42
Hi,

You could create an image validation with Ranorex as well: https://www.ranorex.com/help/latest/ran ... n-example/

Cheers,
Robin

Re: Grid Comparison Question (UI & Data)

Posted: Fri Dec 21, 2018 9:51 am
by odklizec
Hi,

I think that much better option is to validate the table against a ref. snapshot. Screenshot-based validation is nowhere as reliable. You may find table-related code examples here:
https://www.ranorex.com/help/latest/han ... -examples/

Re: Grid Comparison Question (UI & Data)

Posted: Fri Dec 21, 2018 3:51 pm
by zzDoctorWhozz
Robin,
That looks like what I would like to do, but why does the image include the Ranorex box? I am clicking on the grid border, but when the image is captured it shows the Ranorex record box which will not be there on playback.
Screenshot1_ValidationScreenshot_cd853357-ea01-4bf0-b739-2282620732f6.jpg

Re: Grid Comparison Question (UI & Data)

Posted: Thu Dec 27, 2018 10:46 am
by RobinHood42
Hi,
It seems you didn't enable the "Image-based recoding" setting. It is disabled in your screenshot. How did record this step?

Cheers,
Robin