session is not created

79 views
Skip to first unread message

pramod kumarg

unread,
Nov 7, 2012, 6:55:10 AM11/7/12
to bot-bo...@googlegroups.com
Hi ,

I was successfully able to start server, record and play sample apk accompanied with bot .
Now i need to test my own apk , so i did the following

1. put the MyAndroid.apk in root folder

2.added below in default properties

APP_PACKAGE= com.mkyong.android
DEFAULT_ACTIVITY=GridViewActivity
FRAMEWORK=robotium

 TESTCASE_FOLDER=MyAndroidApp
TEST_APK_FILENAME=MyAndroidApp.apk
ANDROID_VERSION=android-16

key.store=C:/Users/pramod.kumar/.android/debug.keystore
key.store.password=android
key.alias=androiddebugkey
key.alias.password=android



3. done ant recorder command
4. do some actions
5. found that no session is being built in the server









Varun Menon

unread,
Nov 7, 2012, 7:12:42 AM11/7/12
to bot-bo...@googlegroups.com
Hi Pramod,

Can you check whether the Manifest file for the app contains Internet
permissions.
Else add the following line:

<uses-permission android:name="android.permission.INTERNET" />

And build the app.

Varun
> --
> You received this message because you are subscribed to the Google
> Groups "Bot-Bot Users" group.
> To post to this group, send email to bot-bo...@googlegroups.com.
> To unsubscribe from this group, send email to
> bot-bot-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/bot-bot-users/-/MNYHVkWvscEJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

pramod kumarg

unread,
Nov 7, 2012, 11:29:59 PM11/7/12
to bot-bo...@googlegroups.com
Hi Varun,


Thanks for the reply.
apk file I got is a standalone application and i think there is no need of internet permission.will that be a problem?

moiz virani

unread,
Nov 8, 2012, 4:12:02 AM11/8/12
to bot-bo...@googlegroups.com
Yes you still need Internet permission because bot-bot needs to communicate to server to record sessions.

Thanks,
Moiz

To view this discussion on the web visit https://groups.google.com/d/msg/bot-bot-users/-/AYZd1ufvyx0J.
Reply all
Reply to author
Forward
0 new messages