Can not get the correct activity

28 views
Skip to first unread message

Xiang'ao Fu

unread,
Jun 23, 2016, 8:49:26 AM6/23/16
to Robotium Developers
Hi, all. I am testing a hybrid app in blackbox mode.

1.Launch the Main_Activity, and solo.getCurrentActivity() works fine.

2.When click a hyper link in Main_Activity, app will show a new activity (expected com.xxx.xx/.plugin.webview.ui.tools.WebViewUI) and load the page in a webview.
   1)at this time,  solo.getCurrentActivity() still return the Main_Activity  
   2)use adb shell dumpsys activity top | grep  ACTIVITY show ACTIVITY com.xxx.xx/.plugin.webview.ui.tools.WebViewUI .

have i miss anything? Any help would be great.
Reply all
Reply to author
Forward
0 new messages