是签名问题,模拟器不稳定,最好还是在真机调试
可以通过 appium 参数设置只启动一次
在执行 self.driver.current_activity 的时候,由于你期望的页面还是非可见态,所以无法解析
可以使用 scheme 的方式调指定 activity
Solopai
busybox 需要 root 才行
MDM(Mobile Device Managment)
创建了 webhook,但 custom Integrations 依旧显示 “doesn't have any custom integrations yet.”
需要让 rd 给你一个.app 的包,不能是 ipa 的
命令行没报错,但也没有执行任务,输出信息中 port: undefined。
有两个问题请教:
1、Git 上有 app,下载会出现超时情况?如果删除 app,Git clone 的时候回因为没有 app 而运行不起来;
2、Git clone 的代码存放在哪个地方?
flow.js:99:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone...
flow.js:116:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone success!
flow.js:127:14 [worker:1] pid:33862 Sending 59c8b432fcec181e00801c9f data ...
channel.js:69:16 [worker:1] pid:33862
<--- zmq message
{ type: 'task',
taskId: '59c8b432fcec181e00801c9f',
sysInfo:
{ cpus:
[ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
[length]: 4 ],
memory: 0.011448860168457031,
type: 'Darwin',
platform: 'darwin',
uptime: '5d 22h 55m',
release: '16.7.0',
hostname: 'bogon',
port: undefined },
status: 'busy',
body: 'done! your test case exited with code \n\n' }
flow.js:72:12 [worker:1] pid:33862 Task is end with 59c8b432fcec181e00801c9f data...
channel.js:69:16 [worker:1] pid:33862
<--- zmq message
{ type: 'task',
taskId: '59c8b432fcec181e00801c9f',
sysInfo:
{ cpus:
[ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
[length]: 4 ],
memory: 0.011448860168457031,
type: 'Darwin',
platform: 'darwin',
uptime: '5d 22h 55m',
release: '16.7.0',
hostname: 'bogon',
port: undefined },
status: 'available',
body: 'false',
bodyStatus: 2,
extra: {} }
@sencho
命令行没报错,但也没有执行任务,输出信息中 port: undefined。
有两个问题请教:
flow.js:99:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone...
flow.js:116:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone success!
flow.js:127:14 [worker:1] pid:33862 Sending 59c8b432fcec181e00801c9f data ...
channel.js:69:16 [worker:1] pid:33862
<--- zmq message
{ type: 'task',
taskId: '59c8b432fcec181e00801c9f',
sysInfo:
{ cpus:
[ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
[length]: 4 ],
memory: 0.011448860168457031,
type: 'Darwin',
platform: 'darwin',
uptime: '5d 22h 55m',
release: '16.7.0',
hostname: 'bogon',
port: undefined },
status: 'busy',
body: 'done! your test case exited with code \n\n' }
flow.js:72:12 [worker:1] pid:33862 Task is end with 59c8b432fcec181e00801c9f data...
channel.js:69:16 [worker:1] pid:33862
<--- zmq message
{ type: 'task',
taskId: '59c8b432fcec181e00801c9f',
sysInfo:
{ cpus:
[ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
speed: 2700,
times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
[length]: 4 ],
memory: 0.011448860168457031,
type: 'Darwin',
platform: 'darwin',
uptime: '5d 22h 55m',
release: '16.7.0',
hostname: 'bogon',
port: undefined },
status: 'available',
body: 'false',
bodyStatus: 2,
extra: {} }
请教下,使用 make adduser 命令创建管理员账号,成功后登录 http://localhost:8080/dashboard,提示没有此用户。
然后通过 web 注册普通用户,可以登录,之后查找数据库也没有找到。
请问通过命令和 web 注册的用户在哪个 db 里面存呢?
db.createUser(
... {
... user: "admin",
... pwd: "admin",
... roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
... }
... )
Successfully added user: {
"user" : "admin",
"roles" : [
{
"role" : "userAdminAnyDatabase",
"db" : "admin"
}
]
}
登录的时候提示没有此用户?
show collections
admin
system.users
system.versiondb.admin.find().count();
0
命令没有错,发现现在使用最新 stf 版本,其他电脑连接的时候并不需要执行这个命令了。
解决了。原因是执行 atf 安装命令的时候是从国外下载的,国内会被墙,导致部分文件缺失。我最后找了个国内的 stf 安装镜像源,下载快,安装后也没有问题。
adb 是 1.0.32 版本的,输入 windows 上启动 adb server,提示如下: 不知道要如何解决,请大神指教
reply fd for adb server to client communication not specified.
Android Debug Bridge version 1.0.32
Revision 0e9850346394-android
-a - directs adb to listen on all interfaces for a connection
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
@liuang68 ,能指点一下 provider 没有执行的原因么?
@appium_test 你好,我的 adb 的版本和你一样,想问下这个问题你解决了么
给 root 文件夹赋予 777 权限
终端执行:npm install -g stf
PS:执行上面第二步可能会卡住,这是因为需要 ***,这里可以用淘宝镜像 cnpm 来安装
(cnpm 安装执行:npm install -g cnpm --registry=https://registry.npm.taobao.org)
终端执行:cnpm install -g stf
1、启动 rethinkDB
2、启动 STF
3、stf doctor 查看所需依赖状态
终端执行:npm install -g stf
PS:执行上面第二步可能会卡住,这是因为需要 ***,这里可以用淘宝镜像 cnpm 来安装
(cnpm 安装执行:npm install -g cnpm --registry=https://registry.npm.taobao.org)
终端执行:cnpm install -g stf
1、启动 rethinkDB
2、启动 STF
3、stf doctor 查看所需依赖状态
你好,想请教一个问题
在 Mac 机器上安装开源的 stf,安装完成后执行 stf local 命令后,提示如下错误:Error:Could not locate the bindings file.,请大神们帮忙指点迷津
bogon:pkgconfig baidu$ stf -V
2.3.0
bogon:pkgconfig baidu$
bogon:pkgconfig baidu$ stf local
/usr/local/lib/node_modules/stf/node_modules/bindings/bindings.js:91
throw err
^
Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/stf/node_modules/zmq/build/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/build/Debug/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/build/Release/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/out/Debug/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/Debug/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/out/Release/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/Release/zmq.node
→ /usr/local/lib/node_modules/stf/node_modules/zmq/build/default/zmq.node
我也遇到了这个问题,你现在解决了么