android Studio的Appium是否需要uiautomator Viewer,因为作为一个初学者,我需要知道Appium安装有两种方法"Eclipse with appium“和Advanced Method is Appium with Android studio。UIAUTOMATOR是否需要适用于带有Android Studio的Appium。
提前感谢
我正在学习appium,我已经设置了所需的一切。我有安装路径,安装了android,运行appium并创建了一个虚拟android设备。但是当我写uiautomatorviewer时,它给了我一个错误。
mac@Macs-MacBook-Pro ~ % uiautomatorviewer
-Djava.ext.dirs=/Users/mac/Library/Android/sdk/tools/lib/x86_64:/Users/mac/Library/Android/sdk/tools/lib is not support
我正在使用Visual Studio代码和带有Appium的WDIO在Android Studio的模拟器上测试Android,但由于某些原因我不能运行Appium。然而,Android home和Java home已经设置好了,Appium Doctor确认必要的依赖关系已经完成,不需要修复。
我已经尝试过Appium单机版和Command版。
使用独立的Appium时,错误日志如下:
ERROR webdriver: Request failed with status 500 due to session not created: Unable to create session fro
我正在使用Appium 1.3.7。几天前,.it在windows上正常工作,但是今天我访问它时,它给了我错误。
Unhandled error: Error: ENOENT, no such file or directory。
我在谷歌上搜索了一下,发现这可能是因为环境因素。但我正确地设置了ANDROID_HOME和PATH。我还升级了1.4.0。但还是同样的错误。
日志:
Starting Node Server
info: Welcome to Appium v1.3.7 (REV 72fbfaa116d3d9f6a862600ee99cf02f6d0e2182)
info: Appi
Windows 7,Android应用程序运行在带有Appium 1.4.0和Python2.7的AVD API 18上
我正在为安卓应用程序编写测试,在android.webkit.WebView中显示一些内容。有一个链接(“您的选择”),我必须点击在我的测试,但我不知道如何做。UIAutomator和Appium检验员都能看到WebView的内部。
我升级到Appium1.5,现在当我启动并尝试运行我的测试时,我看到了这个错误:检查我的设置,一切似乎都很好,甚至检查器也工作得很好。
AndroidDriver错误:找不到带有OS 1的活动设备或仿真器。以下内容可用: 192.168.99.101:5555 (4.3) at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) at Object.callee$0$0$ (lib/android-helpers.js:154:16) at tryCatch Object.callee$0$0$ at GeneratorFuncti
我想以编程方式使用C#启动Appium服务器。当我使用Appium窗口手动启动Appium时,它成功地启动:
但是,当我经常自动运行它时,我会得到一个异常:
"An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll
Additional information: Unexpected error. System.Net.WebException: Unable to connect to the remote server ---&
我无法使用带有Selenium的Eclipse在Appium服务器上运行自动化测试。我得到的错误是:
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details.
java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTI
我需要使用selenium网格、appium和serenity.properties中的设置来运行测试。
我首先使用驱动程序类和本地selenium网格的url运行,它可以工作,但是当我从serenity.properties设置属性时,它不会运行
clase Driver.java driver.java类成功执行
public class Driver {
public static WebDriver appiumDriver() {
DesiredCapabilities capabilities1 = new DesiredCapabilities();
来自eclipse的代码:公共类所需的功能{
@Test
public void test() throws IOException {
File appDir = new File("src");
File app = new File(appDir,"bookMyShow-ucb.apk");
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(MobileCapabilityType.PLATFORM_NAME, Mo