如何在appium中使用图案解锁手机
因此,我们正在测试一个应用程序,其中我们需要更改流之间的模式,以完全测试流。我甚至尝试了这个方法,但没有成功: 整数x_topLeftCorner=257; 整数y_topLeftCorner=1235如何在appium中使用图案解锁手机,appium,unlock,Appium,Unlock,因此,我们正在测试一个应用程序,其中我们需要更改流之间的模式,以完全测试流。我甚至尝试了这个方法,但没有成功: 整数x_topLeftCorner=257; 整数y_topLeftCorner=1235 Integer x_topRightCorner=572; Integer y_topRightCorner=1235; Integer x_bottomLeftCorner= 260; Integer y_bottomLeftCorner=1438;
Integer x_topRightCorner=572;
Integer y_topRightCorner=1235;
Integer x_bottomLeftCorner= 260;
Integer y_bottomLeftCorner=1438;
Integer x_bottomRightCorner=532;
Integer y_bottomRightCorner=1504;
//Use coordinates to draw the security pattern and unlock the screen
TouchAction obj = new TouchAction(MBase.getDriver());
obj.press(x_topLeftCorner,y_topLeftCorner).moveTo(x_topRightCorner,y_topRightCorner).moveTo(x_bottomLeftCorner,y_bottomLeftCorner).moveTo(x_bottomRightCorner,y_bottomRightCorner).release().perform();