iOS_MonkeyTalk(4.1)_Installing the MonkeyTalk iOS Agent
来源:互联网 发布:mac ssh 端口号 编辑:程序博客网 时间:2024/05/21 01:47
Installing the MonkeyTalk iOS Agent
1. Download and unzip the MonkeyTalk zip file for your OS.
2. Open your application's project in Xcode.
3. Duplicate your application's build target by right-clicking on it and selectingDuplicate from the menu. A new target will be created called YourApp copy.
Rename YourApp copy to something like YourAppMonkey.
so it looks like this:
You may also want to rename the Scheme from the Manage Schemes window:
4. Add the downloaded MonkeyTalk lib to your project File > Add to “YourApp”... from the menu.
5. When the dialog box appears, navigate to the directory where you unzipped the MonkeyTalk zip file, and select the MonkeyTalk iOS lib frompathToMonkeyTalkFolder/agents/iOS.
6. Recursively create groups for any added folders option. Note: It is up to you whether or not you want toCopy items into destination group's folder.
7. In the Add to Targets box, deselect YourApp and selectYourAppMonkey.
8. Click Add.
9. The MonkeyTalk lib should now be visible in your project.
Configuring Libraries and Build Settings
1. Right-click on the YourAppMonkey build target, and select the Build Phases tab.
2. On the Link Binaries With Libraries tab, you will need to add libsqlite3.dylib CFNetwork.framework andQuartzCore.framework if your application is not already using them. (These frameworks are required by the MonkeyTalk).
3. XCode will have added references to the libMonkeyTalk.a library. (Note: if you want to build iOS 4.x, make sure you change UIKit.framework from "Required" to "Optional")
4. On the Build Settings tab, scroll down to the Linking section and add to your Other Linker Flags:-all_load -lstdc++
5. Choose your duplicated test target from the Scheme menu in Xcode and Run on the Simulator or Device.
Log output will show that MonkeyTalk has successfully loaded in your app (as seen below)
- iOS_MonkeyTalk(4.1)_Installing the MonkeyTalk iOS Agent
- iOS_MonkeyTalk(4.2)_Installing the MonkeyTalk Android Agent
- iOS_MonkeyTalk(3)_How to Install the MonkeyTalk Agent
- iOS_MonkeyTalk(2)_Install the MonkeyTalk IDE
- MonkeyTalk自动化之——IOS agent
- MonkeyTalk自动化之——IOS agent
- Xcode安装MonkeyTalk Agent小记
- MonkeyTalk自动化之——android agent
- MonkeyTalk自动化之——android agent
- Android Studio安装MonkeyTalk Agent小记
- 【翻译原创】(三)MonkeyTalk 用户手册 - IDE 及 Agent 的安装
- iOS_ MonkeyTalk(1)(iOS与android的自动化测试工具)
- MonkeyTalk实践
- iOS UIWebView 修改user-agent
- iOS UIWebView 修改user-agent
- iOS UIWebView 修改user-agent
- iOS UIWebView 修改user-agent
- iOS UIWebView 修改user-agent
- 心醉七夕
- 一位码农的人生自述(三十六)------解脱
- 使用apache的工具类进行zip(rar等压缩文件)的解压
- uva 10055 Hashmat the Brave Warrior
- 4.每颗继承树两张表:测试
- iOS_MonkeyTalk(4.1)_Installing the MonkeyTalk iOS Agent
- ImageVIew 设置图片大小
- 5.每颗继承树两张表:总结
- Linux下面文件和文件夹权限的得来
- 二维数组
- 利用c++Test生成构建数据文件 ("build data file"),bdf文件
- 敏捷测试核心理念
- 想你,但不爱你
- flex---->行为和特效