Iosapp-monkey Test

Source: Internet
Author: User

iOS OS is not as convenient as Android, and there are a lot of restrictions, so my advice is to perform monkey tests directly on the emulator. If you need to perform on a real machine, refer to the documentation: http://testerhome.com/topics/2523

This article describes how to use the Open Source Tool Crashmonkey for iOS monkey testing in the following steps: First, install the test environment
            (1) MAC os             (2) xcode            (3) Ruby, at least 1.8 version of             ruby installation method see:/HTTP blog.csdn.net/li_huifeng/article/details/44456925, roughly a few steps:            1, installation rvm:                  curl-l Https://get.rvm.io | Bash-s stable           2, loading RVM environment                    source ~/.rvm/scripts /rvm           3, check RVM installation is successful                    rvm-v           4, install ruby environment                    RVM Install 2.0.0            5, set ruby version                   RVM 2.0.0--default            6, reset Ruby's default source                     gem source-r https://rubygems.org/                         gem source-a Https://ruby.taobao.org           7, Verify that the success is reset                   gem SOURCES-L&NBsp;       Second, installation Crashmonkey, reference link: https://github.com/mokemokechicken/CrashMonkey           1, installation command: Gem install Crash_monkey--no-ri--no-rdoc         Third, use crashmonkey           1, using command:crash_monkey-a app_name or App_path-WDEVICE       Iv. execute the monkey directly using the instruments command:instruments-t/applications/xcode.app/contents/applications/instruments.app/contents/plugins/ Automationinstrument.xrplugin/contents/resources/automation.tracetemplate-w Ee564527-433a-42e3-92b8-f73a3ec0c8e7/users/xiehao/temp/mybportal.app-e uiascript/users/xiehao/program/ Crashmonkey/bin/crash_monkey_result/uiautomonkey.js-e Uiaresultspath/users/xiehao/program/crashmonkey/bin/crash _monkey_result

Iosapp-monkey Test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.