Dynamic header visibility

Ask general questions here.
shruti441
Posts: 5
Joined: Mon Jul 05, 2021 9:30 pm

Dynamic header visibility

Post by shruti441 » Tue Jul 06, 2021 9:08 pm

Hi,

I have one condition in my test case which I have to automate.

1) Login to Application
2) Navigate to particular page e.g. Profile
3) Header will be present on top of the page
4) "When we scroll down then header will not visible"
5) "When we again scroll up, it will be visible
"

I tried 'Visible' / AttributeNotPresent / add @visible='true' in Ranorex XPath , but nothing works. Seems like I'm missing any point.

Please suggest.

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

Re: Dynamic header visibility

Post by odklizec » Wed Jul 07, 2021 7:08 am

Hi,

Unfortunately, without, at very least, a Ranorex snapshot, there is not much anyone here can do or suggest. My guess is, that even if the header is invisible, it has Visible property set to True. This may be a bug either in the app or Ranorex? But as mentioned, without snapshot, or working sample. there is nothing anyone here can do or suggest. Plus, you are using an old and no longer supported Ranorex version. This may also be a reason of your problems? Please try the same with most recent Ranorex 9.5.3 (even in trial mode).
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

Fergal
Certified Professional
Certified Professional
Posts: 455
Joined: Tue Feb 18, 2014 2:14 pm
Location: Co Louth, Ireland
Contact:

Re: Dynamic header visibility

Post by Fergal » Thu Jul 08, 2021 5:52 pm

Have you tried Validate Exists / Not Exists ?