Click here to Skip to main content
14,325,629 members
Rate this:
Please Sign up or sign in to vote.
So here is just an statement. I don't know if its practically possible.

The question is related to Android Espresso.


For the people who are masters in Espresso, you know we don't have any method to access contentDescription via espreso. Right?


So is there any way I can get that Element lets say its an instance of VIEW. I need to access all of the instances and methods of the view which are not normally available to end user. How would i do that?

What I have tried:

I haven't tried much for this thing. Couldn't find anything on popular websites.
Posted
Updated 26-May-19 2:16am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Comments
shivam gohel 31-Aug-19 14:44pm
   
Hi Richard. Thank you for answering. If you look in the code the website mention, it actually makes use of UIDevice which is an external library. What i am looking for is a method that belongs to native android. i.e Espresso.
Richard MacCutchan 1-Sep-19 2:51am
   
Sorry, I don't understand the question. If you want to use Espresso, then you need to study the documentation.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100