Ranorex automatic test verification

Ask general questions here.
OPT-Liuxm
Posts: 36
Joined: Sat Jan 11, 2020 3:58 am

Ranorex automatic test verification

Post by OPT-Liuxm » Tue Nov 03, 2020 7:14 am

Hello everyone,
When Ranorex performs QT automated functional test validation, the second run fails the validation.
With the "Validate" operation, the test case validations pass the first run and fail the second run with the Exists execution judgment, but the picture is the same.
So, I want to know how does Validate image validation work?What should I do?
thanks.
Attachments
Snipaste_2020-11-03_14-07-27.png
Snipaste_2020-11-03_14-07-27.png (16.76 KiB) Viewed 141 times

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

Re: Ranorex automatic test verification

Post by odklizec » Tue Nov 03, 2020 8:22 am

Hi,

Validate Exists does not validate the content of image, but actual presence of repo element! If it fails, then it's most probably caused by the absence of element with given xpath. Could you please share the xpath you are using for given repo element (Page) along with the Ranorex snapshot (NOT screenshot) of the problematic element? 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