你好,加了
真的假的,有官方说明不
嗯,已解决
appium\node_modules\appium-uiautomator2-driver\uiautomator2
检查这个目录有没有两个 APK,没有的话就两个方法:
io.appium.uiautomator2.server
io.appium.uiautomator2.server.test
这两个应用,可以在 设置 -> 应用中查看
遇到过的,是手机中的两个 server 和 server test 的 APK 没装全,可能只装了一个,把它卸载,再重新执行一遍就好了
青春都献出去了,这点钱还好吧
说的这么厉害,亮出你的排位战绩来,
嗯,无线 adb 也可以的,之前也有用过,不过受限 WIFI,普通 WIFI 只能连 10~15 台设备
哪个书啊,那能说明啥,所见略同?
嗯嗯,尴尬,之前没看到
嗯,更新下我的想法
有可能是 BUG,要看它的锁怪算法了,不过现在可以在设置中修改为头像锁定了
就是 appium 的源码,我的标签也选 的 appium,因为 adb forward 的只是一个端口号,所以仅仅能通过 localhost 或 127.0.0.1 访问,网内其他用户无法访问,通过反向代理就可以实现其他用户访问了,从而达到共享手机的目的
解决了,看我帖子:https://testerhome.com/topics/8335
那最好了,感谢
那是需要系统签名才可以的,否则会报没有权限的错误
对滴
替换手机里的 uiautomator 文件,哪个位置的文件,不需要 ROOT 吗?
你那是 root 过的手机吧,我这方法是在没 root 的手机做的,
个人觉得这个很有搞头啊
感谢,我也试了一下,使用 post 请求验证成功了。
试过了啊,没成功
试了两遍,也是不行
final WebDriverWait wait = new WebDriverWait(driver, 10, 1);
Activity activity = new Activity("io.appium.android.apis", ".view.PopupMenu1");
driver.startActivity(activity);
waitForMilliSeconds(1500);
WebElement popUpElement = driver.findElement(MobileBy.AccessibilityId("Make a Popup!"));
popUpElement.click();
waitForMilliSeconds(500);
new Thread(
new Runnable(){
@Override
public void run() {
try {
System.out.println(wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(".//*[@text='Clicked popup menu item Search']"))).toString());
} catch (Exception e) {
System.out.println(" not found");
// e.printStackTrace();
}
}
}
).start();
driver.findElement(By.xpath(".//*[@text='Search']")).click();
Thread.sleep(9000);
我希望你提供一下,成功时的 APPIUM 日志,拜托