austgl / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

how to open en url in my robotium of test application #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 I hava a problem that how to use bototium to open en url.
i try  the below:
Intent browserIntent = new Intent("android.intent.action.VIEW", 
Uri.parse("http://www.google.com")); 
startActivity(browserIntent);

but in the test application,"startActivity"  can not be resolved.So please tell 
me how can i do 

Thanks!

Original issue reported on code.google.com by wanjing...@126.com on 30 May 2011 at 9:31

GoogleCodeExporter commented 9 years ago
Robotium does not work with web views. Please see:

http://code.google.com/p/robotium/wiki/QuestionsAndAnswers

Original comment by renasr...@gmail.com on 30 May 2011 at 1:04