fail to record

142 views
Skip to first unread message

rasu

unread,
Jul 29, 2012, 8:05:21 AM7/29/12
to bot-bo...@googlegroups.com
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Hp>cd D:\bot-bot-v0.8\bot-bot-v0.8\recorder

C:\Users\Hp>d:

D:\bot-bot-v0.8\bot-bot-v0.8\recorder>ant
Buildfile: D:\bot-bot-v0.8\bot-bot-v0.8\recorder\build.xml

-init:
   [delete] Deleting directory D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin
    [mkdir] Created dir: D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin

dex2jar:
     [exec] java.io.FileNotFoundException: File 'com.wordpress.apk' does not exi
st
     [exec]     at org.apache.commons.io.FileUtils.openInputStream(FileUtils.jav
a:56)
     [exec]     at org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils
.java:40)
     [exec]     at com.googlecode.dex2jar.reader.DexFileReader.<init>(DexFileRea
der.java:250)
     [exec]     at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jar
Cmd.java:98)
     [exec]     at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:118)

     [exec] dex2jar com.wordpress.apk -> D:\bot-bot-v0.8\bot-bot-v0.8\recorder\r
obo-bin\dex2jar-decoded.jar
     [exec]     at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:
34)
     [exec] D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin\dex2jar-decoded.jar i
s not existsVerify .class in jar
     [exec]
     [exec] usage: d2j-asm-verify [options] <jar0> [jar1 ... jarN]
     [exec] options:
     [exec]  -d,--detail   Print detail error message
     [exec] version: dex2jar dex-tool-0.0.0.4, Apache-2.0

BUILD FAILED
D:\bot-bot-v0.8\bot-bot-v0.8\recorder\build.xml:80: src 'D:\bot-bot-v0.8\bot-bot
-v0.8\recorder\robo-bin\dex2jar-decoded.jar' doesn't exist.

Total time: 2 seconds

D:\bot-bot-v0.8\bot-bot-v0.8\recorder>ant
Buildfile: D:\bot-bot-v0.8\bot-bot-v0.8\recorder\build.xml

-init:
   [delete] Deleting directory D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin
    [mkdir] Created dir: D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin

dex2jar:
     [exec] dex2jar D:bot-bot-v0.8bot-bot-v0.8ecorderwp-android.apkANDROID_VERSI
ON=android-8 -> D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin\dex2jar-decoded.j
ar
     [exec] java.io.FileNotFoundException: File 'D:bot-bot-v0.8bot-bot-v0.8ecord
erwp-android.apkANDROID_VERSION=android-8' does not exist
     [exec]     at org.apache.commons.io.FileUtils.openInputStream(FileUtils.jav
a:56)
     [exec]     at org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils
.java:40)
     [exec]     at com.googlecode.dex2jar.reader.DexFileReader.<init>(DexFileRea
der.java:250)
     [exec]     at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jar
Cmd.java:98)
     [exec]     at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:118)

     [exec]     at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:
34)
     [exec] Verify .class in jar
     [exec] usage: d2j-asm-verify [options] <jar0> [jar1 ... jarN]
     [exec] options:
     [exec]  -d,--detail   Print detail error message
     [exec] version: dex2jar dex-tool-0.0.0.4, Apache-2.0
     [exec] D:\bot-bot-v0.8\bot-bot-v0.8\recorder\robo-bin\dex2jar-decoded.jar i
s not exists

BUILD FAILED
D:\bot-bot-v0.8\bot-bot-v0.8\recorder\build.xml:80: src 'D:\bot-bot-v0.8\bot-bot
-v0.8\recorder\robo-bin\dex2jar-decoded.jar' doesn't exist.

Total time: 3 seconds

D:\bot-bot-v0.8\bot-bot-v0.8\recorder>

moiz virani

unread,
Jul 30, 2012, 12:55:20 AM7/30/12
to bot-bo...@googlegroups.com
Please have your apk in recorder folder & configure default.properties. Or you can just wait as we are going to release .8.2 version with sample apk.

Thanks,
Moiz


--
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/-/xIoE8_d2xQAJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Posess

unread,
Feb 14, 2013, 4:20:42 AM2/14/13
to bot-bo...@googlegroups.com
Hi Moiz,

Please provide steps into getting recording to work if running from the source.
I have a compiled apk file in the recorder folder and my recorder.properties looks like this :
SERVER_IP=10.0.2.2
SERVER_PORT=8080
SESSION_NAME=bot-bot
SERVER_NAME=localhost

I am trying to record wordpress.apk ant recorder gives me errors ,I run  java -jar /server/target\bot-bot-server-standalone.jar

Thanks,
Posess

Varun Menon

unread,
Feb 14, 2013, 4:28:47 AM2/14/13
to bot-bo...@googlegroups.com
Remove "localhost" from server name.
Server name is used when you had deployed the bot-bot recording server onto a web server like tomcat.

Varun
--
You received this message because you are subscribed to the Google Groups "Bot-Bot Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bot-bot-user...@googlegroups.com.

To post to this group, send email to bot-bo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/bot-bot-users/-/V65C7KHsBZ4J.

Posess

unread,
Feb 14, 2013, 11:54:10 AM2/14/13
to bot-bo...@googlegroups.com
Thanks Varun ,that worked like a charm,however i get 100% fail rate even though I logged in before running the test.
How do I record tests ? after running recorder I get BUILD SUCCESSFUL whats next ?

Varun Menon

unread,
Feb 14, 2013, 12:14:46 PM2/14/13
to bot-bo...@googlegroups.com
Adb logs shows the status of recording. In case its unable to record on
server it throws msg for it .
Have you tried refreshing the server page.

Varun
> --
> You received this message because you are subscribed to the Google
> Groups "Bot-Bot Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bot-bot-user...@googlegroups.com.
> To post to this group, send email to bot-bo...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/bot-bot-users/-/GpjSMD70VXUJ.

MPHO MOGAPI

unread,
Feb 14, 2013, 12:42:07 PM2/14/13
to bot-bo...@googlegroups.com
Yes the error log I see but it does not record text editing is it possible to do a calabash-android console apk here ? Or how do I identify those views I am using Wordpress.apk

Varun Menon

unread,
Feb 14, 2013, 1:15:11 PM2/14/13
to bot-bo...@googlegroups.com
It records text edit. we have to use the change listener for it.
I didnt got a chance to look at calabash console apk that you are talking about.

Will check 2mrw and let u know

Varun

MPHO MOGAPI

unread,
Feb 14, 2013, 2:32:59 PM2/14/13
to bot-bo...@googlegroups.com
Alright thanks I will also have a look on my side meanwhile 
Reply all
Reply to author
Forward
0 new messages