2024年10月appium(如何使用appium的模拟机怎么用)

 更新时间:2024-10-12

  ⑴appium(如何使用appium的模拟机怎么用

  ⑵如何使用appium的模拟机怎么用

  ⑶Appium连接sdk中的模拟器了解android的人都在知道,androidsdk中自带AVDManager(AndroidVirtualDeviceManager.开发者会使用AVDManager创建一个android模拟器来调试自己的应用。所以首先我们介绍如何让Appium连接好我们的模拟器)创建一个AVD,并启动点击Create后填写相关信息后,点击OK,选中AVD后点击Start)启动appium点击右上角的启动按钮启动成功后,在cmd命令中输入:appium、Appium连接真机实际开发的过程中我们可能是直接拿真机来调试。所以Appium如何连接真机呢?原理上和上述方式一致。但真机会稍微复杂一点打开手机的USB调试模式不同的手机打开调试模式的方式不同。一般都在设置中的开发者模式中打开手机连接电脑使用数据线连接手机与电脑,然后在cmd中输入adbdevices查看是否连接成功新手可能会出现两个问题一是输入adb命令时提示不是内部命令或者外部命令那么你需要下载一个adb工具包并存放在C:WindowsSystem目录下(必须强调:与sdk中的adb工具包版本一致!!!!二是需要打开手机的usb调试模式并安装好驱动之后在cmd中输入adbdevices启动appium服务在cmd命令中输入:appium启动成功、Appium连接第三方模拟器有时候我们可能不太想用真机或者androidsdk中自带的模拟器。而是使用一些三方的android模拟器。例如夜神,逍遥等等理论上来说可以使用连接真机的方式一样来尝试连接。以下案例使用逍遥模拟器来做演示使用adb连接到逍遥模拟器网上百度了一番后,发现逍遥模拟器的连接方式是:adbconnect...:所以其udid就是...:连接到appium服务在cmd命令中输入:appium启动成功

  ⑷Appium超时错误连接到驱动程序时问题,怎么解决

  ⑸error:FailedtostartanAppiumsession,errwas:Error:Requestedanewsessionbutonewasinprogress

  ⑹之前的会话没有关闭,然后你又运行了测试实例,也没有设置覆盖.?解决:?.?重新停止appium服务,开启Appium服务?.?在GenarelSetting那里设置覆盖Session,重启Appium

  ⑺测试结束在AfterClass加driver.quit()

  ⑻error:FailedtostartanAppiumsession,errwas:Error:mandfailed:C:Windowssystemcmd.exe/s/c“D:android-sdk-windowsplatform-toolsadb.exe-sadbserverversion()doesn’tmatchthisclient();killing…

  ⑼wait-for-device“?error:couldnotinstall?smartsocket?listener:cannotbindto...::

  ⑽没有链接上手机或者模拟器,请确认已经连接成功,重新链接

  ⑾error:AndroiddevicesmustbeofAPIlevelorhigher.PleasechangeyourdevicetoSelendroidorupgradeAndroidonyourdevice.

  ⑿手机系统低于.,appium不支持..以下的系统,请换一个手机或者模拟器来测试。

  ⒀Error:Permissiontostartactivitydenied.

  ⒁**activity在清单文件里面没添加Android:exported=“true“的话,你不能直接打开对应的activity,需要从启动页activity打开。?exported属性就是设置是否允许activity被其它程序调用**

  ⒂error:FailedtostartanAppiumsession,errwas:Error:Activityusedtostartappdoesn’texistorcannotvelaunched!Makeusreitexistsandislaunchableactivity

  ⒃要打开的activity不存在,activity路径错误,改为完整正确的activity路径

  ⒄error:FailedtostartanAppiumsession,errwas:Error:’java-version’failed.Error:mandfailed:C:Windowssystemcmd.exe/s/c“java-version“

  ⒅Java版本错误,请安装最新的版本。

  ⒆》info:[debug]Error:mandfailed:C:Windowssystemcmd.exe/s/c“D:android-sdk-windowsplatform-toolsadb.exe-sabshell“echo’ready’“error:unknownhostservice

  ⒇链接手机失败,重新链接手机即可,我就是重新拔插了一下usb

  ⒈Error:mandfailed:C:Windowssystemcmd.exe/s/c“D:android-sdk-windowsplatform-toolsadb.exe-sabshell“echo’ping’““

  ⒉error:unknownhostservice

  ⒊adb被突然占用导致,例如你在运行用例的时候运行了模拟器。

  ⒋UIAutomatorViewer提示:Unabletoconnecttoadb.Checkifadbisinstalledcorrectly

  ⒌解决,sdk升级到了产生的问题。

  ⒍error:FailedtostartanAppiumsession,errwas:INSTALL_FAILED_ALREADY_EXISTS:Attempttore-installio.appium.settingswithoutfirstuninstalling

  ⒎Whenyouareatfinalsteptoexecutetestautomationscriptformobileapptestingonamobileemulatororavirtualdeviceorarealdevice,youmightobservethatscriptexecutionfailswithdifferentkindsoferrors,Incontexttocurrentarticleyouwilllookattheerrorandsolutionsfor:INSTALL_FAILED_ALREADY_EXISTS:Attempttore-installio.appium.settingswithoutfirstuninstalling.

  ⒏ErrorinAppiumServer:

  ⒐Error:mandfailed:C:Windowssystemcmd.exe/s/c

  ⒑“C:Users{User}AppDataLocalAndroidsdkplatform-toolsadb.exe-s

  ⒒emulator-install

  ⒓“C:ProgramFiles(x)Appium

  ⒔ode_modulesappiumbuildsettings_apksettings_apk-debug.apk““

  ⒕》FailedtoinstallC:ProgramFiles(x)Appium

  ⒖ode_modulesappiumbuildsettings_apk

  ⒗settings_apk-debug.apk:Failure[INSTALL_FAILED_ALREADY_EXISTS:Attempttore-install

  ⒘io.appium.settingswithoutfirstuninstalling.]

  ⒙ErrorinAndroidstudiorunconsole:

  ⒚.openqa.selenium.SessionNotCreatedException:Anewsessioncouldnotbecreated.

  ⒛(Originalerror:mandfailed:C:Windowssystemcmd.exe/s/c

  “C:Users{User}AppDataLocalAndroidsdkplatform-toolsadb.exe-semulator-install

  “C:ProgramFiles(x)Appium

  ode_modulesappiumbuildsettings_apksettings_apk-debug.apk““

  FailedtoinstallC:ProgramFiles(x)Appium

  ode_modulesappiumbuildsettings_apk

  settings_apk-debug.apk:Failure[INSTALL_FAILED_ALREADY_EXISTS:Attempttore-install

  io.appium.settingswithoutfirstuninstalling.]

  )(WARNING:Theserverdidnotprovideanystacktraceinformation)

  manddurationortimeout:milliseconds

  Forthefirsttimewhenyouexecutethescriptit?mightpass,butitwillfailwithaboveerrorwhenyoutrytoexecutethesameoranyotherscriptmultipletimes.Orwhenyourtestscriptexecutionfailsonthefirstattemptforsomeotherreason,andwhenyoufixitandexecuteitagain,youmightencounterthisnewissue.

  ThereasonforthiserroristhatAppiuminstallsmobileapplicationsbeforeexecutingthescript.

  io.appium.settings

  io.appium.unlock

  These?arethesupportivemobileapplicationsappiumutilizestoexecutethetestautomationscriptinMobileEmulatororvirtualdeviceorarealmobiledevice.

  IdeallyAppiumshouldremovethesefileseverytimeattheendofthescriptexecutionortermination,ifitisintendstoinstallthem?everytimeascriptisexecuted,oritshouldconditionallyinstalltheseapps/apks?tothemobileemulatorormobiledevice.

  Inyourmobileemulator/VirtualDevice/Realdevice,themobileapplicationsappearasbelow:

  Therearemultiplewaystotroubleshoot?thiserrorandgoaheadfora?suessfultestscriptexecution.

  Solution:ADB’suninstallmandtoremovethefiles.

  Youcanopenmandprompt,assumingthatyoualreadyhadsettheenvironmentvariablesforANDROID_HOMEandPathvariablesforsdktoolsandplatformtools.

  Andexecutemandsasshownbelow:

  Solution:Uninstallmanually

  Youcanopenthemobileemulator/virtualdevice/realdeviceandgotoappsanduninstallthem.

  Solution:Writecodeaspartofyourtestautomationscript.

  Aspartofyourseleniumtestautomationscript,youcouldwriteinstructionstoexecutethemandsprovidedinsolutionabove,sothatthisissuewouldnotarise.

  Hopethisarticlehasbeenhelpfulandyouareabletoproceedfurtherwithscriptexecution.

  Requesttokindlyshareanyofyourqueriesinformofments,wewouldtryourbesttoprovideanysolutionforyou.

  ?出错信息里含有“ps’uiautomator’,具体信息未Anewsessioncouldnotbecreated.(Originalerror:mandfailed:C:Windowssystemcmd.exe/s/c“C:UserssxieAppDataLocalAndroidsdkplatform-toolsadb.exe-semulator-shell“ps’uiautomator’““

  android-appium:Anewsessioncouldnotbecreated

  junitexceptionandroidappium自动化

  detaillog:.openqa.selenium.SessionNotCreatedException:Anewsessioncouldnotbecreated.(Originalerror:mandfailed:C:Windowssystemcmd.exe/s/c“C:UserssxieAppDataLocalAndroidsdkplatform-toolsadb.exe-semulator-shell“ps’uiautomator’““)(WARNING:Theserverdidnotprovideanystacktraceinformation)manddurationortimeout:millisecondsBuildinfo:version:’..’,revision:’unknown’,time:’unknown’Systeminfo:host:’WL’,ip:’...’,os.name:’Windows.’,os.arch:’x’,os.version:’.’,java.version:’.._’Driverinfo:driver.version:AndroidDriveratsun.reflect.NativeConstructorAessorImpl.newInstance(NativeMethod)atsun.reflect.NativeConstructorAessorImpl.newInstance(UnknownSource)atsun.reflect.DelegatingConstructorAessorImpl.newInstance(UnknownSource)atjava.lang.reflect.Constructor.newInstance(UnknownSource)at.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:)at.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:)atio.appium.java_client.remote.AppiumProtocolHandShake.createSession(AppiumProtocolHandShake.java:)atio.appium.java_client.remote.AppiumProtocolHandShake.createSession(AppiumProtocolHandShake.java:)atio.appium.java_client.remote.AppiummandExecutor.doExecute(AppiummandExecutor.java:)atio.appium.java_client.remote.AppiummandExecutor.execute(AppiummandExecutor.java:)at.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:)atio.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:)atio.appium.java_client.AppiumDriver.execute(AppiumDriver.java:)atio.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:)at.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:)at.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:)at.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:)atio.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:)atio.appium.java_client.AppiumDriver.(AppiumDriver.java:)atio.appium.java_client.AppiumDriver.(AppiumDriver.java:)atio.appium.java_client.android.AndroidDriver.(AndroidDriver.java:)at.sky.demo.ContactTest.setUp(ContactTest.java:)atsun.reflect.NativeMethodAessorImpl.invoke(NativeMethod)atsun.reflect.NativeMethodAessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)at.junit.runners.model.FrameworkMethod$.runReflectiveCall(FrameworkMethod.java:)at.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:)at.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:)at.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:)at.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:)at.junit.runners.ParentRunner.runLeaf(ParentRunner.java:)at.junit.runners.BlockJUnitClassRunner.runChild(BlockJUnitClassRunner.java:)at.junit.runners.BlockJUnitClassRunner.runChild(BlockJUnitClassRunner.java:)at.junit.runners.ParentRunner$.run(ParentRunner.java:)at.junit.runners.ParentRunner$.schedule(ParentRunner.java:)at.junit.runners.ParentRunner.runChildren(ParentRunner.java:)at.junit.runners.ParentRunner.aess$(ParentRunner.java:)at.junit.runners.ParentRunner$.evaluate(ParentRunner.java:)at.junit.runners.ParentRunner.run(ParentRunner.java:)at.eclipse.jdt.internal.junit.runner.JUnitTestReference.run(JUnitTestReference.java:)at.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:)at.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:)at.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:)at.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:)at.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:)

  ==========================================直接在cmd中执行“C:Windowssystemcmd.exe/s/c“C:UserssxieAppDataLocalAndroidsdkplatform-toolsadb.exe-semulator-shell“ps’uiautomator’““badpid’uiautomator’“,报错:badpid’uiautomator’

  publilassContactTest{privateAndroidDriverdriver;?BeforepublicvoidsetUp()throwsException{//设置apk的路径FileclasspathRoot=newFile(System.getProperty(“user.dir“));FileappDir=newFile(classpathRoot,“apps“);Fileapp=newFile(appDir,“ContactManager.apk“);??driver=newAndroidDriver(newURL(“

  *逐字删除编辑框中的文字

  *paramelement文本框架控件

  publicvoidclearText(AndroidElementelement){

  StringclassName=element.getClass().getSimpleName();

  if(className.equals(“EditText“)){

  Stringtext=element.getText();

  driver.pressKeyCode(KEYCODE_MOVE_END);

  for(inti=;i《text.length();i++){

  driver.pressKeyCode(BACKSPACE);

  print(“不是文本输入框架,无法删除文字“);

  ?点击输入法键盘的回车搜索

  利用adb命令先切换为自己的输入法,按了搜索再切换为appium的输入法

  查看当前手机的输入法

  cmd执行下面的的代码

  adbshellimelist-s

  可以看到类似下面的结果,

  C:UsersLITP》adbshellimelist-s

  .baidu.input_mi/.ImeService

  .sohu.inputmethod.sogou.xiaomi/.SogouIME

  io.appium.android.ime/.UnicodeIME

  C:UsersLITP》

  先写好一个执行cmd的方法

  *params要执行的命令

  privatevoidexcuteAdbShell(Strings){

  Runtimeruntime=Runtime.getRuntime();

  runtime.exec(s);

  }catch(Exceptione){

  print(“执行命令:“+s+“出错“);

  在需要搜索的时候执行下面的代码,切换的输入法用自己查看列表的输入法内容,我这里是搜狗输入法

  //使用adbshell切换输入法-更改为搜狗拼音,这个看你本来用的什么输入法

  excuteAdbShell(“adbshellimeset.sohu.inputmethod.sogou.xiaomi/.SogouIME“);

  //再次点击输入框,调取键盘,软键盘被成功调出

  clickView(page.getSearch());

  //点击右下角的搜索,即ENTER键

  pressKeyCode(AndroidKeyCode.ENTER);

  //再次切回输入法键盘为AppiumunicodeKeyboard

  excuteAdbShell(“adbshellimesetio.appium.android.ime/.UnicodeIME“);

  终端怎么安装appium

  方法/步骤、首先从官网上下载appium安装程序。、解压出压缩包文件,直接双击应用程序,启动安装。、选择语言,默认是英语的,暂时无中文语言,那么默认语言安装即可。、然后直接“next”,下一步即可。、默认安装路径是在C盘,如果c空间不够大,可以选择其它安装到路径下是为启动应用文件名,默认就好,点击下一步“next”。、是否要桌面创建图标,可以选择和不选择,这里默人安装,点击“next”安装信息进行确认,点击“install”。、点击install,开始安装程序,在安装程序过程中,会不断打印信息。、显示pletingtheappiumsetupwizard,说明提示安装完成、进入安装到安装目录下,双击启动appium程序。、提示下列,说明安装无问题,开始appium自动化测试之旅。

  如何配置appium环境python

  appium是什么?

  ,appium是开源的移动端自动化测试框架;,appium可以测试原生的、混合的、以及移动端的web项目;,appium可以测试ios,android应用(当然了,还有firefoxos;,appium是跨平台的,可以用在osx,windows以及linux桌面系统上;

  这里我们配置Android端的测试环境。

  对于Android移动端的测试我们首先需要安装的是两个:

  JDK的安装,这个就不赘述了,自行百度、AndroidSDK的安装配置

  到官网下载node.js:

  获取到安装文件后,直接双击安装文件,根据程序的提示,完成nodejs的安装。

  安装完成后,运行cmd,输入node–v,如果安装成功,会输出如下版本信息:

  配置Androidsdk环境

  sdk环境配置参考:.Androidsdk下载地址:

  解压后,先执行sdkmanager.exe安装,安装完成后,配置环境变量

  确保安装了?Level?或以上的版本api

  ?android的环境变量,在环境中,新创建ANDROID_HOME,放sdk的目录,见截图:

  设置好ANDROID_HOME好后,在path环境变量中加入:%ANDROID_HOME%platform-tools;%ANDROID_HOME% ools;运行cmd,输入android-h,见到如下截图,说明android环境设置成功。

  这个简单,进入到/?下载并安装最新的python.,安装成功后配置环境变量。完成以后,检查安装是否成功:进入CMD,输入python,可以进入编辑状态,说明成功了。

  下载安装文件:,Windows最新版本是AppiumForWindows_....zip

  直接双击appium-installer.exe文件安装就好,桌面会生成一个appium的图标.把node_modules的bin目录放到系统的Path路径里:C:ProgramFiles(x)Appium

  ode_modules.bin

  安装成功后配置环境变量。检查appium所需的环境是否OK:进入cmd命令行,输入appium-doctor?,出现以下提示,AllChecksweresuessful,说明环境成功。

  再输入appium,出现如下截图,说明appium可以正常的启动,见截图:

  安装selenium

  安装方法有两种:下载selenium安装包,进入到解压目录cmd:pythonsetup.pyinstall。cmd命令:pipinstallselenium

  安装成功后打开python的shell或者IDEL界面,输入fromseleniumimportwebdriver如果不报错那就说明已经安装selenium成功了。

  安装Appium-Python-Client

  下载安装包,进入到解压目录cmd:pythonsetup.pyinstall。cmd命令:pipinstallAppium-Python-Client

  至此appium的python环境完成。

  appium和robotframework的区别

  Appium介绍Appium是一个移动端的自动化框架,可用于测试原生应用,移动网页应用和混合型应用,且是跨平台的。可用于IOS和Android以及firefox的操作系统。原生的应用是指用android或ios的sdk编写的应用,移动网页应用是指网页应用,类似于ios中safari应用或者Chrome应用或者类浏览器的应用。混合应用是指一种包裹webview的应用,原生应用于网页内容交互性的应用。重要的是Appium是跨平台的,何为跨平台,意思就是可以针对不同的平台用一套api来编写测试用例。Appium的哲学Appium遵循下面几个原则(其实也是appium的特点:.使用自动化来测试一个app,但是不需要重新编译它.写自动化case,不需要学习特定的语言.一个自动化框架不需要重复造轮子.一个自动化框架需要开源,在精神和实践上实现开源Appium的设计为了遵循上面的原则,appium的解决方法分别如下:第一条:采用底层驱动商提供的自动化框架。IOS:苹果的UIAutomationAndroid.+:谷歌的UiAutomatorAndroid.+:谷歌的Instrumentation(已被selendroid取第二条:采用底层驱动商提供统一API,就是WebDriverAPI。WebDriver(也称SeleniumWebDriver)其实是一个C/S架构的协议,叫做JSONWireProtocol。通过这个协议,用任何语言写成的客户端都可以发送HTTP请求给服务器。这就意味着你可以自由选择你想要使用的测试框架和执行器,也可以将任何包含HTTP客户端的库文件加入到你的代码中。换句话说,Appium的WebDriver不是一个技术上的测试框架,而是一个自动化库。第三条:因为WebDriver是一个非常**的网页协议且已经正在起草WC的标准。我们为什么还要创造其他东西呢?相反,我们在WebDriver的基础上,扩展了一些适合移动端自动化协议的API。第四条:你之所以能读到这篇文章,就是因为我们开源啦。Appium概念C/S架构Appium的核心是一个遵守REST设计风格的web服务器,它接受客户端的连接,接收客户端的命令,在手机设备上执行命令,然后通过HTTP的响应收集命令执行的结果。这种架构给我们提供了很好的开放特性:只要某种语言有具体的库可以参见下面的内容:语言|库地址-----|-----Ruby|||(Node.js)|||(.)||在不同的操作系统下,有不同的GUI程序系统|GUI|git地址---|---|---windows|Appium.exe||Appium.app|

  如何搭建Appium测试环境

  下载安装JDK、配置环境变量jdk(javadevelopmentkit),java开发工具集,如果测试的环境需要搭建成java程序能够执行的,就需要在自己的电脑里安装jdk,jdk有可执行程序的安装和解压缩直接可用两种。可以直接去oracle官网进行下载,也可以在网上寻找资源如果你运行的是exe文件的安装,那么jdk的安装基本属于傻瓜式安装,只需要点击“下一步”完成安装,可以对保存路径进行更改,安装好jdk之后,需要对环境变量进行配置:在环境变量中查看是否存在JAVA_HOME,CLASSPATH变量,这样标识是为了以后能够看出该变量属于哪一部分。JAVA_HOME=你的jdk安装路径jdk.CLASSPATH=.;%JAVA_HOME%libdt.jar;%JAVA_HOME%lib ools.jar;Path=%JAVA_HOME%bin;%JAVA_HOME%jrebin;Path下的路径是在以往存在路径之后添加分号(;,之后将上面的变量输入进去,而不是覆盖。配置好之后查看是否配置成功使用命令java-versionEND、下载、安装ADTADT(androiddevelopmetkit安卓开发工具包,这是安装开发不可缺少的,内部包含了一些开过过程中所需要的工具。网上有很多ADT的下载路径,可以下载较新版本的,如果有需要可以联系我。下载好之后的ADT也属于一个压缩包,解压之后你会看到该压缩包里面包括三部分:eclipse、sdk、sdkmanager对其环境变量进行配置:新增一个环境变量:ANDROID=存放路径sdk;path=;%ANDROID% ools;%ANDROID%platform-toolsEND、安装AppiumForWindow在官网或者网络资源上找appium下载资源,根据自己的电脑系统安装不同的appium,window系统安装appiumForWindow。安装成功之后点击图标Appium,exe就可以启动了创建安装模拟器,也就是安卓虚拟机,这里面需要eclipse软件,并且其中配置好了安卓开发环境。启动eclipse----》window---》androidvirtualdevicemanager点击之后就可以创建安卓虚拟设备了。new创建----》配置虚拟设备的型号、类型等等信息---》ok,就可以创建成功了启动你刚刚配置好的安卓虚拟机,就可以看到一个手机界面了,该手机在你进行appium测试的时候可以根据需要调整其型号类型。END、安装所需插件由于eclipse测试程序需要一些必要的插件,所以必须进行插件的下载,此时不需要再单独下载,eclipsemarketplace中已经给我们提供好了。eclipse--》help---》eclipsemarketplace搜索框中输入testng,下载即可,下载好之后会提醒你重新启动eclipse。如同上一步,在eclipsemarketplace中输入maven,查看到之后点击install即可完成安装,svn也需要这样进行安装,安装好之后一定要重新启动eclipse,如果不启动你安装的程序在此次无法使用。环境变量搭建成功,接下来就可以进入到你的测试工作中去了。

  appium+python实现UI自动化测试

  使用Python编写猫宁考勤应用注册模块的自动化测试,进入开发者模式.打开uiautomatorviewer工具.简单介绍unittest框架的使用方法;cmd命令:adbdevices.使用uiautomatorviewer工具获取应用的元素进行定位:手机USB连接电脑.使用adb命...

您可能感兴趣的文章:

相关文章