C#: Displayed always returns true

Hi,

I want to validate the specific text on the screen. I have used the following.

AndroidElement displayed = (AndroidElement) driver.FindElement(By.XPath("//android.view.View[@text='ACL ']"));
Boolean mytest =displayed.Displayed;
I am always getting True value even my text is not displayed on the mobile screen.

Please help me to give some information or How can we verify the text visible or Displayed on screen.

Regards,
RG

Hi All,

Can anyone help me with this…is i am doing anything wrong?