Validate with multiple combination or elements

Ask general questions here.
meric
Posts: 4
Joined: Sat Jun 29, 2019 12:31 pm

Validate with multiple combination or elements

Post by meric » Mon Jul 08, 2019 5:24 pm

Hi,

It should be really simple but just wondering, how to validate with the combination multiple (2 or 3 items). For example: If you insert any item but wanted to make sure it is inserted the exact unique item as it supposed to. Please let me know if you can help me on this. Thanks!

Name Status Department
Test1 Publish A
Test2 Publish B
Test1 unpublished A

On the above table, how do we validate the exact last record. (Test1, unpublished, A). We can just go ahead with Name but it should be the combination of two or three. Help would be appreciated. Thanks!

User avatar
Stub
Posts: 266
Joined: Fri Jul 15, 2016 1:35 pm

Re: Validate with multiple combination or elements

Post by Stub » Tue Jul 09, 2019 7:41 am

If you can validate Name, why not also validate Status and/or Department at the same time?

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

Re: Validate with multiple combination or elements

Post by odklizec » Tue Jul 09, 2019 7:54 am

Hi,

I'm afraid, it's impossible to suggest something reliable, without seeing your app under test, or, at very least, Ranorex snapshot (NOT screenshot) of the AUT. This would help us to understand the app and your test. Could you please share the snapshot? 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

meric
Posts: 4
Joined: Sat Jun 29, 2019 12:31 pm

Re: Validate with multiple combination or elements

Post by meric » Tue Jul 09, 2019 4:23 pm

If I just validate with Name (Test1), there are two records which is not unique and accurate. I just need a single validation with combination of multiple items, is there any option at all in ranorex? Please suggest. Thanks!

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

Re: Validate with multiple combination or elements

Post by odklizec » Tue Jul 09, 2019 7:34 pm

Please post the Ranorex snapshot and xpath(s) of element(s) you want to validate, as requested in previous post. It’s impossible to suggest something reliable, without seeing the snapshot. 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