appium

Exception in thread “main” org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session, When using appium

眉间皱痕 提交于 2020-01-14 19:56:27
问题 Getting an error always while running code for Appium server which is running on my machine. Could anyone help me out from this. I had followed some threads but none of them could not resolve my issue. If i run manually "appium.exe" & run code is working fine but when i start running appium from code & interacting is giving a problem. Configurations: Windows 7 64 bit, Appium 1.2.4.1, Selenium 2.45, Appium Java client - 2.2, java 1.6 Below is the code to launch Appium server programmatically

installation directory of appium in mac

半腔热情 提交于 2020-01-14 14:12:43
问题 I have installed appium-1.5.1 from MAC terminal. The installation is ok but I need the path where it is installed for some reason. Can anyone please tell me where is the installation directory in? 回答1: If you installed the GUI appium app (the app whose icon you can click in your Mac's Launchpad), then as orde suggested earlier, just see /Applications/Appium.app But if you say you installed appium via your terminal, I'm going to take a guess that you installed it using npm. If you installed

installation directory of appium in mac

前提是你 提交于 2020-01-14 14:12:31
问题 I have installed appium-1.5.1 from MAC terminal. The installation is ok but I need the path where it is installed for some reason. Can anyone please tell me where is the installation directory in? 回答1: If you installed the GUI appium app (the app whose icon you can click in your Mac's Launchpad), then as orde suggested earlier, just see /Applications/Appium.app But if you say you installed appium via your terminal, I'm going to take a guess that you installed it using npm. If you installed

appium_模拟器安装

一个人想着一个人 提交于 2020-01-14 12:18:44
安卓模拟器简介 安卓模拟器是能在 PC平台模拟安卓手机系统的模拟器软件。安卓模拟器能在电脑上模拟出安卓手机运行环境,安卓模拟器让你在电脑上也能体验安卓游戏和应用,在各大下载站都能够下载。 比较常用的安卓模拟器有: Android SDK、BlueStacks,Genymotion等可在pc系统和苹果系统运行,著名的vmware虚拟机和Virtual Box虚拟机也可以模拟安卓系统,目前这些模拟器软件均可运行在微软公司的Windows操作系统平台。 夜神模拟器安装配置 下载地址: https://www.yeshen.com 操作步骤 下载成功之后点击安装包。 安装成功之后会默认启动一个模拟器,基于 Andriod 4.4.2系统 关闭该模拟器,找到桌面生成的 “夜神多开器”图标,点击打开。 点击底部 “添加模拟器” 然后选择全新模拟器Android 5.1.1 等待下载安装完成。 点击启动模拟器按钮即可成功启动模拟器,默认是平板屏幕模式,可以通过设置切换为手机模式。 开启 VT VT是什么?为什么要开启VT? VT,全称是Virtualization Technology,即是虚拟化技术,虚拟化技术可以扩大硬件的容量,简化软件的重新配置过程。CPU的虚拟化技术可以单CPU模拟多CPU并行,允许一个平台同时运行多个操作系统,并且应用程序都可以在相互独立的空间内运行而互不影响

Scroll till end of the page using appium-android

£可爱£侵袭症+ 提交于 2020-01-13 18:25:28
问题 For a hybrid app , I need to scroll till the end of the page. How can I do ? I am able to scroll to exact element by using driver.scrollTo(); and driver.ScrollToExact(); But I want to scroll the app from top to bottom. Can anyone tell me please? 回答1: @Test public void testScroll()throws Exception { for(int i=0;i<4;i++) { Thread.sleep(2000); if (driver.findElement(By.name("end_item")).isDisplayed()) { driver.findElement(By.name("end_item")).click(); break; } else { verticalScroll(); } } }

Scroll till end of the page using appium-android

无人久伴 提交于 2020-01-13 18:25:07
问题 For a hybrid app , I need to scroll till the end of the page. How can I do ? I am able to scroll to exact element by using driver.scrollTo(); and driver.ScrollToExact(); But I want to scroll the app from top to bottom. Can anyone tell me please? 回答1: @Test public void testScroll()throws Exception { for(int i=0;i<4;i++) { Thread.sleep(2000); if (driver.findElement(By.name("end_item")).isDisplayed()) { driver.findElement(By.name("end_item")).click(); break; } else { verticalScroll(); } } }

Is it now possible to Automate an App Store App using Appium

喜夏-厌秋 提交于 2020-01-13 14:54:52
问题 Historically, it was not possible to automate iOS app store apps using Appium (e.g. due to the Distribution Certificate used on all app store apps meaning you couldn't access the app via Appium). Is this now possible in mid-2018 and if so does anyone know how to set it up? 回答1: You can not Automate an Appstore app using Appium. To do automation testing on a ios app it should be signed with development certificate. 回答2: You can launch almost any iOS system app if you know it's bundle

How to push app in background and launch from same screen in Appium with selenium

北战南征 提交于 2020-01-13 06:55:09
问题 Is there any way to do the following process in android Automation using Appium with android driver? Press home button from some specific screen. Put app in background. Open the app from same screen after some time interval. Please help if anybody knows. 回答1: Both iOS and Android support the following methods : (AppiumDriver)driver.runAppInBackground(10);//put app in background for 10 seconds (AppiumDriver)driver.launchApp();//launch the app again Hope it helps! 回答2: Try to focus on the

How can I use appium to automate browser on android?

≡放荡痞女 提交于 2020-01-12 16:09:51
问题 I want to use appium to automate browser on android phone,but I don't know how to set the capability. First, I have enabled USB debugging on my Android device in the developer options. Second, adb was working well, i can see the device id. Third, I started Appium.exe from Appium for windows and writed some code by JAVA, but I don't know how to set the capability on Android browser. public class Test { private WebDriver driver; @Before public void setUp() throws Exception { DesiredCapabilities

How can I use appium to automate browser on android?

杀马特。学长 韩版系。学妹 提交于 2020-01-12 16:09:49
问题 I want to use appium to automate browser on android phone,but I don't know how to set the capability. First, I have enabled USB debugging on my Android device in the developer options. Second, adb was working well, i can see the device id. Third, I started Appium.exe from Appium for windows and writed some code by JAVA, but I don't know how to set the capability on Android browser. public class Test { private WebDriver driver; @Before public void setUp() throws Exception { DesiredCapabilities