11 2016 档案

摘要:区分:AndroidDriver, iOSDriver, AppiumDriver and Remote WebDriver 原文地址:https://discuss.appium.io/t/what-is-the-use-or-difference-between-androiddriver-io 阅读全文
posted @ 2016-11-30 13:44 超级宝宝11 阅读(359) 评论(0) 推荐(0) 编辑
摘要:区分:WebElement, MobileElement, AndroidElement, and iosElement 原文地址:https://discuss.appium.io/t/difference-between-webelement-mobileelement-androideleme 阅读全文
posted @ 2016-11-30 13:41 超级宝宝11 阅读(1208) 评论(0) 推荐(0) 编辑
摘要:以下代码使用ApiDemos-debug.apk进行测试 用到的定位方式: Xpath: WebElement el = driver.findElement(By.xpath(".//*[@text='Animation']")); ClassName: List<WebElement> els 阅读全文
posted @ 2016-11-30 10:57 超级宝宝11 阅读(353) 评论(0) 推荐(0) 编辑
摘要:以下代码使用ApiDemos-debug.apk进行测试 上面的代码运行报错,根据appium的问题单Cant perform drag'n'drop using appium #3104得知:drag-and-drop过程中,不能有wait操作,所以去掉这里的sleep。更改后代码如下:可以正常运 阅读全文
posted @ 2016-11-29 19:53 超级宝宝11 阅读(357) 评论(0) 推荐(0) 编辑
摘要:方法一 原文链接:http://mp.weixin.qq.com/s/KTkfmibSoaGOmDazJmZ8Sw 利用appium图形界面和已有的apk文件获取package和activity。 方法二 原文链接:http://sqa.stackexchange.com/questions/123 阅读全文
posted @ 2016-11-29 16:38 超级宝宝11 阅读(495) 评论(0) 推荐(0) 编辑
摘要:以下代码使用ContactManager.apk进行测试 用到的元素定位方式: Xpath : WebElement el = driver.findElement(By.xpath(".//*[@text='Add Contact']")); ClassName: List<AndroidElem 阅读全文
posted @ 2016-11-28 16:20 超级宝宝11 阅读(494) 评论(0) 推荐(0) 编辑
摘要:pom.xml 阅读全文
posted @ 2016-11-28 16:15 超级宝宝11 阅读(467) 评论(0) 推荐(0) 编辑
摘要://appium java-client-api 介绍 原文地址:http://appium.github.io/java-client/index-all.html#_S_ A B C D E F G H I J K L M N O P Q R S T U V W Y Z A About Andr 阅读全文
posted @ 2016-11-28 13:43 超级宝宝11 阅读(1996) 评论(0) 推荐(0) 编辑
摘要://本文讲解:启动server时,如何配置capabilities 和 flag。可以将不同client端需要的通用的capabilities都放到server端配置。 Requirements Installed Node.js 0.12 or greater. At least an appiu 阅读全文
posted @ 2016-11-25 17:22 超级宝宝11 阅读(800) 评论(0) 推荐(0) 编辑
摘要:Steps: you have to prepare environment for Android. Details are provided here: http://appium.io/slate/en/master/?java#setup-(android)//准备安卓环境。 you hav 阅读全文
posted @ 2016-11-25 17:14 超级宝宝11 阅读(205) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://github.com/appium/java-client/blob/master/docs/The-event_firing.md since 4.1.0 The purpose This feature allows end user to organize the e 阅读全文
posted @ 2016-11-25 14:11 超级宝宝11 阅读(883) 评论(0) 推荐(0) 编辑
摘要:Appium Java client has facilities which components to Page Object design pattern and Selenium PageFactory.//appium的java客户端支持PageObject和PageFactory。读本文 阅读全文
posted @ 2016-11-24 16:12 超级宝宝11 阅读(3555) 评论(4) 推荐(0) 编辑
摘要:selenium2 python范例 下面脚本的功能是:打开谷歌浏览器--》跳转到某个网址--》输入用户名和密码登录--》读取页面内的数据并求和。 阅读全文
posted @ 2016-11-23 11:38 超级宝宝11 阅读(419) 评论(0) 推荐(0) 编辑
摘要:Welcome to the Appium Java client wiki! This framework is an extension of the Selenium Java client. It has all the functionalities of the regular Sele 阅读全文
posted @ 2016-11-17 18:31 超级宝宝11 阅读(236) 评论(0) 推荐(0) 编辑
摘要:转自:使用IntelliJ IDEA 14和Maven创建java web项目 安装Maven 下载安装 去maven官网下载最新版。 解压到安装目录。 配置 右键桌面的计算机图标,属性–>高级系统设置–>环境变量,添加M2_HOME的环境变量,然后将该变量加入的PATH中。 注意 必须要有JAVA 阅读全文
posted @ 2016-11-17 18:29 超级宝宝11 阅读(251) 评论(0) 推荐(0) 编辑
摘要:A Windows GUI for Appium If you are new to Appium then please see the Getting started guide for more information about the project. Pre-req: * Need .N 阅读全文
posted @ 2016-11-17 15:07 超级宝宝11 阅读(282) 评论(0) 推荐(0) 编辑
摘要:Settings Settings are a new concept introduced by appium. They are currently not a part of the Mobile JSON Wire Protocol, or the Webdriver spec. Setti 阅读全文
posted @ 2016-11-17 14:20 超级宝宝11 阅读(419) 评论(0) 推荐(0) 编辑
摘要:Remote Debugging Android Devices //在电脑上远程调试安卓设备 By Kayce Basques Technical Writer at Google By Meggin Kearney Meggin is a Tech Writer Remote debug liv 阅读全文
posted @ 2016-11-17 11:21 超级宝宝11 阅读(1049) 评论(0) 推荐(0) 编辑
摘要:Automating hybrid apps One of the core principles of Appium is that you shouldn’t have to change your app to test it. In line with that methodology, i 阅读全文
posted @ 2016-11-17 09:32 超级宝宝11 阅读(280) 评论(0) 推荐(0) 编辑
摘要:Selenium Grid You are able to register your appium server with a local Selenium grid (setup docs) by using the --nodeconfig server parameter.//将appium 阅读全文
posted @ 2016-11-16 19:45 超级宝宝11 阅读(295) 评论(0) 推荐(0) 编辑
摘要:UIAutomator 2 While the API remains almost the same, the internal implementation has changed and we see the introduction of UIObject2//UIAutomator2简介。 阅读全文
posted @ 2016-11-16 10:02 超级宝宝11 阅读(1009) 评论(0) 推荐(0) 编辑
摘要:Multi-lingual Support One problem with dealing with non-Latin characters programmatically is that, for characters with accents, there can be multiple 阅读全文
posted @ 2016-11-16 09:48 超级宝宝11 阅读(232) 评论(0) 推荐(0) 编辑
摘要:uiautomator UiSelector Appium enables searching using UiSelectors. UiScrollable is also supported.//Uiselector和UiScrollable两种定位方式。 Note that the index 阅读全文
posted @ 2016-11-15 19:42 超级宝宝11 阅读(841) 评论(0) 推荐(0) 编辑
摘要:Adjusting Network Connection The Selenium Mobile JSON Wire Protocol Specification supports an API for getting and setting the network connection for a 阅读全文
posted @ 2016-11-15 19:28 超级宝宝11 阅读(143) 评论(0) 推荐(0) 编辑
摘要:iOS predictate It is worth looking at ’-ios uiautomation’ search strategy with Predicates. UIAutomation JavaScript API has following methods which can 阅读全文
posted @ 2016-11-15 19:22 超级宝宝11 阅读(920) 评论(0) 推荐(0) 编辑
摘要:parts of appium api Lock Lock the screen.//锁屏。 # python driver.lock(5) Background app Send the currently active app to the background.//将当前的app放到后台运行。 阅读全文
posted @ 2016-11-15 16:35 超级宝宝11 阅读(613) 评论(0) 推荐(0) 编辑
摘要:locator strategies Finding and interacting with elements Appium supports a subset of the WebDriver locator strategies://使用WebDriver定位方式 find by “class 阅读全文
posted @ 2016-11-15 15:36 超级宝宝11 阅读(364) 评论(0) 推荐(0) 编辑
摘要:While the Selenium WebDriver spec has support for certain kinds of mobile interaction, its parameters are not always easily mappable to the functional 阅读全文
posted @ 2016-11-15 15:33 超级宝宝11 阅读(567) 评论(0) 推荐(0) 编辑
摘要:Running Tests Preparing your app for test (iOS) Test apps run on the simulator have to be compiled specifically for the simulator, for example by exec 阅读全文
posted @ 2016-11-15 09:49 超级宝宝11 阅读(347) 评论(0) 推荐(0) 编辑
摘要:Automating mobile web apps If you’re interested in automating your web app in Mobile Safari on iOS or Chrome on Android, Appium can help you. Basicall 阅读全文
posted @ 2016-11-14 16:00 超级宝宝11 阅读(335) 评论(0) 推荐(0) 编辑
摘要:Appium Capabilities Appium server capabilities Android Only iOS Only 阅读全文
posted @ 2016-11-14 10:38 超级宝宝11 阅读(473) 评论(0) 推荐(0) 编辑
摘要:Setting up Appium Running Appium on Windows Additional Setup for Android App Testing Setup You can run an Appium server using node.js or using the app 阅读全文
posted @ 2016-11-11 16:38 超级宝宝11 阅读(164) 评论(0) 推荐(0) 编辑
摘要:Parallel Tests Parallel Android Tests Appium provides a way for users to automate multiple Android sessions on a single machine. All it involves is st 阅读全文
posted @ 2016-11-11 16:02 超级宝宝11 阅读(206) 评论(0) 推荐(0) 编辑
摘要:about appium Introduction to Appium Appium is an open-source tool for automating native, mobile web, and hybrid applications on iOS and Android platfo 阅读全文
posted @ 2016-11-11 14:14 超级宝宝11 阅读(240) 评论(0) 推荐(0) 编辑