Quality Testing

Quality is delighting customers

You need to install MonkeyTalk iOS Agent into the application which you want to automate. For this, please follow the steps given below:

  1. Open your application's project in Xcode.
  2. Duplicate your application's build target by right-clicking on it and selecting Duplicate from the menu. A new target will be created called YourApp copy.
  3. Rename YourApp copy to something like YourAppMonkey.
  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 from pathToMonkeyTalkFolder/agents/iOS.
  6. Recursively creates groups for any added folders option. Note: It is up to you whether or not you want to Copy items into destination group's folder.
  7. In the Add to Targets box, deselect YourApp and select YourAppMonkey.
  8. Click Add. 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 and QuartzCore.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
  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.
  6. Goto New>>MonkeyTalkProject, New Project window should appear. Provide project name and click in “Finish” button.
  7. Right-click on the project folder and select New > Test. Provide File name and click on “Finish” button.
  8. Launch Android emulator and open your MonkeyTalk enabled application on the emulator.
  9. Click on the connection dropdown button on the tool bar and select “Android Emulator/Tethered Device”.
  10. If connection was successful, a message should appear in the console.
  11. Click “Record” on the MonkeyTalk IDE.

 

Views: 338

Comment

You need to be a member of Quality Testing to add comments!

Join Quality Testing

Comment by tarique ahmed khan on September 18, 2012 at 4:56pm

Go through the Gorillalogic website for setup, you can find more description there.

TTWT Magazine

Welcome to Quality Testing!

Sachin Natu

 Manager QA at IdeaS Revenue Optimization

Advertisement

Submit A Job

Submit A Tool

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2013   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service