zoukankan      html  css  js  c++  java
  • ios+Appium+Java

    To run iOS tests, you can follow these steps :

    (Note : I am using Java language here in Eclipse IDE and using Appium app):

    1. Create a new java project in Eclipse.
    2. Import jar files : Selenium Server (formerly the Selenium RC Server) version and required client driver (according to your language choice) which can be downloaded here. (To import : Right click on your project -> Properties -> Libraries -> Add External JARs. Add all three selenium jar files here.)
    3. Download Appium app and launch.
    4. You can run your test scripts either in simulator or on real device. To run scripts on real iOS device, you will need 'deviceName', 'platformVersion', 'UDID' (Device ID) and 'Bundle ID' (Application Bundle ID) and absolute path to the .ipa.
    5. To run scripts on iOS simulator , you will need 'deviceName', 'platformVersion', path to .app and 'Bundle ID' of your app.
    6. Choose capabilties in Appium app and mention the same in your script based on whether you are testing on simulator or on device.
    7. Launch Appium server and then run your script.

    All Appium server capabilities which can be used can be found here.

    You can refer to my blog post here as well for more details to execute a sample basic script.

    转自:http://stackoverflow.com/questions/20730917/setting-up-appium-for-ios-app-test-automation

  • 相关阅读:
    一.js高级(4)-函数调用-this指向-其他参数
    一.js高级(3)-原型及其继承
    一.js高级(2) -构造函数-原型对象
    curl ,post,get (原创)
    PDOHelper (原创)
    php 写日志函数(原创)
    一致性hash 算法 (转)
    md5 c# unicode 互换(原创)
    php auto_load mvc 接口框架(原创)
    php获取uniqid
  • 原文地址:https://www.cnblogs.com/melody-emma/p/4790767.html
Copyright © 2011-2022 走看看