Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

 
Share this answer
 
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900