Hiddeen Text - Validation

Ask general questions here.
pmootyen
Posts: 1
Joined: Thu Feb 13, 2020 9:52 am

Hiddeen Text - Validation

Post by pmootyen » Thu Feb 13, 2020 9:55 am

Hi All

Just started using this tool , and unsure how to check for visible and not visible text.

I can validate the error message when on page.

But can not validate when not on teh page - because the x path for the original element becomes invalid - I think.

As there class is not there or hidden for the error message - - How can I check to confirm that it is not showing.

Tank You

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

Re: Hiddeen Text - Validation

Post by odklizec » Thu Feb 13, 2020 11:52 am

Hi,

You can use Validate NotExists action, in case you want to test that the element is no longer available. If you need more details, then please post the xpath of given element and a Ranorex Snapshot of the AUT, ideally, both with element available and not available. 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