--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotium-develo...@googlegroups.com.
To post to this group, send email to robotium-...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotium-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You cannot call device-side methods on the RC side. You have no reference to the real objects on the other side.
If you knew the ID of the resource, you could use the RC getString method. But I guess this is different--you don’t know the id of the View.
This looks like a good candidate for a new RC method:
getResourceIdByName(resourceName, packageName)
Wherein, the packageName is optional and, if it is null, we can get the packageName from the current Context.
If you are ambitious, you could add this method to the SoloProcessor yourself and have it immediately. If you choose that path, send me a direct email and we will help you down that path.
http://safsdev.sourceforge.net/sqabasic2000/SAFSRobotiumDevelopment.htm
Carl Nagle
SAS Research and Development
Planning, Operations and Strategy
General Applications and Tools
From: robotium-...@googlegroups.com [mailto:robotium-...@googlegroups.com]
On Behalf Of saorabh singh
Subject: [robotium-developers] Re: verifying UI element exist
Context currContext = getTargetContext();
is not working in Robotium RC..
So is there any alternate ?
--