We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在测试中,poco 只对一台设备起作用. 例如下面代码,每次只会对一台设备加快滑动操作,而且每一次手机都会弹出 安装 pocoservice 程序
# -*- encoding=utf8 -*- __author__ = "to" import logging logger = logging.getLogger("airtest") logger.setLevel(logging.ERROR) from airtest.core.api import * from airtest.cli.parser import cli_setup from poco.drivers.android.uiautomation import AndroidUiautomationPoco # script content print("start...") PWD = os.path.dirname(__file__) PKG = "com.smile.gifmaker" keyevent("HOME") stop_app(PKG) start_app(PKG) sleep(6.0) poco = AndroidUiautomationPoco(use_airtest_input=True, screenshot_each_action=False) poco.swipe([0.5, 0.92], [0.5, 0.2], duration=(1)) poco("com.smile.gifmaker:id/right_btn").click()
The text was updated successfully, but these errors were encountered:
已解决
Sorry, something went wrong.
怎么解决的
大佬最好也分享一下怎么解决的。
No branches or pull requests
我在测试中,poco 只对一台设备起作用.
例如下面代码,每次只会对一台设备加快滑动操作,而且每一次手机都会弹出 安装 pocoservice 程序
The text was updated successfully, but these errors were encountered: