How to check if any option is enabled in Appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to check if any option is ...

How to check if any option is enabled in Appium?



//Selecting an element
MobileElement pElement = (MobileElement) driver.findElementByAccessibilityId("SomeAccessibilityID");
//Checking if it(Element) is enabled or not.
boolean isEnabled = pElement.isEnabled();

2 thoughts on “How to check if any option is enabled in Appium?

  1. vital tips Reply

    This is really fascinating, You’re a very skilled blogger.
    I’ve joined your feed and sit up for in the hunt for extra of your wonderful post.
    Also, I have shared your website in my social networks

  2. Lance Reply

    Hmm it appears like your website atte my first comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog.
    I as well am an aspiring blog blogger but I’m still new to everything.
    Do you have any helpful hints for first-time blog writers?
    I’d certainly appreciate it.

Leave a Reply to Lance Cancel reply

Your email address will not be published. Required fields are marked *