I have an android app. in which verification for Login can only be done using the email-element's "focusable" attribute which changes from 'false' to 'true' on login.
I am using webdriver for automation and want to verify the email-element's focusable attribute so that I can verify login functionality .
Ex: if(abc.getAttribute('focusable')=='true') // verify login success else // login fail
But the above condition never works i.e. the script does not enter the if block due to which else block gets executed .
I am new to Android app and not sure if focusable can be used like above .
Pls help!!!