Winbond 用信息技术让中国企业走向世界 3、下载、安装 AppiumForWindow(v0.17.6) 下载 Windows版本的 Appian地址:htns:// bitbucket,org/ appi um/ app_um,app/ downloads下载安装即可 注意: Apium Forwindow版本需要 Microsoft. Net framework4.5.1支持,在安装 Apium的过程中如果没有安装 会提示用户安装并跳转到“. Net framework”下载地址。 日录如下 件惠 A 应用程序 1,178E Appian,CK。cor:王i E氵8/20141:43 AM CONFIG文什 Appian, pio 厍程序 xc manifest PM MANFEST文什 Autonapper.d⊥ 141:AM应用程序展 14U上 应乐程序扩展 三Aul iSha 21pL1b.丑1 L...应片序扩 d11 应用程序扩展 支件 应用程序 2Q148:0 爷令脚本 45AM应乐程序扩展 1Ick. Themes.Me..58{20141:45AM应用程序扩展 /8/20141:45A应片程序展 KE Ⅹceed.甲t, Datagrid,d⊥ 0141:AM应用程序护展 l,4k上 安装成功之后点击” Appius. exe”运行即可,运行界面如图: 矗 PPiu Prcfcrcrccs CIca Log launc IP Address:127.0.0.I 1i23=Use Remote server TApulieal ie Palh: Choose E: \apriumlvozkbench apium\apps\.CortactManager\ ContactMinagcrapk Android Future 厂 Package 厂 Activity; 厂 Launch AyD 厂Wa1: for Activity 厂 Device eady1 meout Her-3mHu⊥ I Reset 点击导航“ Launch”按钮即可启动 Apium远程服务器,如昊启动成功会提示 Apium相关的版本信息。如下图 tarting Nodc server info:Wclcomc to Appium wO 17.6(REV 7b32047c165a4358047f31nc14457c2b0cb-432aa) nfo:AppiumResthttpintcrfacclistenerstartcdon127.0.0.1:4123 info: socket io started nfo: Horrdcfault scrvcr args: address: 127 0.0.1, noRcsct": truc, logNoColors": truc, "merciful":tru Winbond 用信息技术让中国企业走向世界 4、创建安装模拟器 启动 Eclipse-> Window-> Andriod Virtual Device Manager如图所示: Liet cf ex1g.ing』 ndrcid virtual Deice91。 cEte at T, andoid'avd Target p2 F1: APT Android 4-4 Details bl= indroid Virtual Device X An Ar drs1 thc -rr冷T 点击”New.,”按钮即可新建模拟器: CEdit Android Virtual Device (ATD) AVD Name D 1 Devi 足exu8(4,0°,480X80:h) Ania生,4-A=L已∵e119 CPU/ABI ARM(armeabi-v7ai Keyboard d Hardware keyboard pres v Displaw a skin with har=ware contre-s Back Canera Menory Opti RAM:|343 矿MH 且2e■ MEB Emula 厂 □ Use host GF Override the existing AvD with the gare name 輸入模拟器基本信息,点击“OK”按钮即可创己成功。选屮刚刚创建好的模拟器,点击“ Start”按钮即可启动模拟 器,模拟器启动需花费一段时间,启动完芊之后效果如图 Winbond 用信息技术让中国企业走向世界 a16:36-m a google ( 确实是和真实的 Android操作系统一模 样呀!只是它定虚拟出米的 5、在线安装 Appius测试所需插件 安装软件库目 Eclipse Marketplace 上 clipse-)Help-) Install New software如图 x Ant 十 ion of Wart with:"tme ar select a ai-e 上"11t18「 re siLts prefered Type Filter -eT namc O TIere is n0 site selected. se1∈Ct岛1 Show only the latest versicrs cf available softwarc Hide it=ns t'nt arc alr=aly installcd ˇ roup i tems by category lr-atv iastalI-: eam⊥1caL⊥ E tc tarset erv1 roru.er Lt siLes Lu u reyulreu softwar Cancel 点击“Add..”按钮 Edit site ar: etp⊥ace Location:atty: //download. eclipse crg/mpc/irdigo/ ance Winbond 用信息技术让中国企业走向世界 输入Nane: marketplace AmaLocation:httpi/download.eclipseorg/mpc/indigo/ 点击”O”按钮即可,在 work with下拉框中选择: marketplace项,搜素一段时间目可罗列出可安装选项 如图 Available software oik wi. h: mar' stpl ac type filter text farsi in I iel erA"1 Reselect Al1 1 item seleated Ehow only: hc lctcst versions of availablc softvarc Hicc items that a WIat is alrcady i:stal.cd fiware applicable to target env-Tc 勾选第二个即可,点击“Next”,下一步下一步即可完成安装,重启 Eclipse即可完戌安装。安装成功如图: 启动 Eclipse->Hlp-> Eclipse Markteplacc Eclipse Marketplace lcct solutions te ingall. Pross Fi Scarch Recent] PopUlar] Irstalleal 卫1M Featured Rebel. T Rebel for Eclipse Install ZEE cclipsc icva cc t Register for EclipseCon NA 2014 的4 ecu Clip o14 arch 17-20 ir. Sanl F-4:r is by Eclipse Feundat: on. Announccncnt Learn morz ECF ECF- Remote Serrices SDK Juno/ Kepler 3.8.0 des the dor rem Target nts. This is t] 工,canp-cs, and provide by Eclipse Ccm un1 cations FraewoK- ELF, EFL PSA osgi ECF cistr:bution remote Servi ces Acmin MinrsP Eclipse CDT Plugin finPSP H3lutr wl E m:n上uF akiNs yourJ%.1 dext Bini sh 安装成功! Winbond 用信息技术让中国企业走向世界 2、安装 TestNg 打廾 Eclipse marketplace在搜索框输入 Testng,点击搜索按钮 Ec1ipse重 marketplace Eclipse Marketplace Select solutions to install. Press Finish to proceed with installation ti detai Search:eat Popular Ins.allec) ind t TestNG for Eclipse She- TEgt口ug- in for EC⊥i by cedric Beust, Rache Uninstall testng jun:t testing unit integration functional Finish 点击右则 instal1按钮目可完成安装,亘启 Eclipse,即可新建 Testng Class. 3、安装 Maven 打开F1 iuse Market place在搜索框输入 Test ng,点击搜索按钮 eclipse arkctplacc Eclipse Marketplace 1et