Disabled-Greyed out web elements

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

Disabled-Greyed out web elements

Post by meric » Sun Jul 07, 2019 12:21 pm

Hi,

How to validate the disabled/greyed out/unclickble button or any web element. I checked the forum couldn't find any answer at all. Any help would be greatly appreciated. Thanks!

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

Re: Disabled-Greyed out web elements

Post by odklizec » Sun Jul 07, 2019 12:45 pm

Hi,

Could you please upload a Ranorex snapshot (NOT screenshot!) of your app under test? Additionally, please post xpath to the element in question, saved in snapshot.

Generally speaking, each element has “enabled” attribute, which could be used for validation of enabled/disabled state of given element. The thing is, that some UIs don’t use this attribute properly, typically, UIs with pictures instead of proper buttons or other input elements. So please post the snapshot, which would help us to understand your UI and eventually, suggest the best validation approach.
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