How to validate sorting using Ranorex studio recording

Best practices, code snippets for common functionality, examples, and guidelines.
mmahra
Posts: 37
Joined: Wed Feb 26, 2020 2:17 pm

How to validate sorting using Ranorex studio recording

Post by mmahra » Mon Mar 09, 2020 9:32 am

Hello,

I am trying to validate that a custom column has been sorted after clicking on the header.

is it possible to validate sorting?

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

Re: How to validate sorting using Ranorex studio recording

Post by odklizec » Mon Mar 09, 2020 9:39 am

Hi,

I'm afraid, it's impossible to tell what to do without seeing, at very least, a Ranorex snapshot (NOT screenshot) of the given column. However, I'm quite sure that "sorting" is not something, that could be validated just via recording. It will most probably require some coding too?

Please post the snapshot, ideally, taken before and after sorting, so we can evaluate it and eventually suggest a solution. Thanks.
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

mmahra
Posts: 37
Joined: Wed Feb 26, 2020 2:17 pm

Re: How to validate sorting using Ranorex studio recording

Post by mmahra » Mon Mar 09, 2020 10:42 am

Hello Pavel,

Thank you for the Reply,

I don't have a current test for sorting, I am collecting possible testing scenarios where I will be using Ranorex and needed to know if that can be supported using Ranorex or not.

Thank you

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

Re: How to validate sorting using Ranorex studio recording

Post by odklizec » Mon Mar 09, 2020 10:52 am

Hi,

You can do almost anything you want with Ranorex, but not everything is possible via recordings. but as mentioned, we would need more information regarding the sorted column and exact scenario/validation requirements.
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