Sunday, December 1, 2013

Prerequisites for running Tests On Real Devices

For Running tests on Real Devices (using .app file) You will need the following setup

  • Apple Developer profile
  • UDID of the Device(Iphone)
  • Application(.app) bundle ID
  • Your .app should be signed with valid provisioning profile
  • You have to build the rebuild .app file with your profile and should be able to deploy this .app from Xcode on your device.


For Running tests on Real Devices (using .ipa file) You will need the following Setup

  • Apple Developer profile
  • UDID of the Device(Iphone)
  • Application(.IPA) bundle ID
  • Your .Ipa file should be signed with valid developer provisioning profile
  • Since .Ipa file is an installation file you will need to have third party library called libimobile device. Appium internally uses the libimobile device.nstall .Ipa files on the real devices.
  • Download the source as zip (option provided on the bottom right of the page) from the following linkhttps://github.com/libimobiledevice/libimobiledevice
  • To be continued.....

12 comments:

  1. Good post Kiran..I would like to know what is this .ipa file and how can I generate the same.

    Regards,
    Dimpy

    ReplyDelete
  2. Thanks Dimpy,.IPA file is the installer version of an IOS app which you find in Apple itunes

    ReplyDelete
  3. Good Post Kiran. Just need one information that i have .app and certificate in my mobile still i need my device to be connected from apple developer account.

    ReplyDelete
    Replies
    1. Yes Jitendra, Your will need to install the .app from xcode with a valid Developer's profile. To run it on Simulator you need not have the dev profile

      Delete
  4. Informative post Kiran!
    i'm linking this post to mine- http://meettheqagirl.blogspot.in/

    ReplyDelete
  5. Thanks for a great information in your blog.I have read all the post of your blog.Great work on Appium

    ReplyDelete
  6. Hi,

    can you please post the next steps to run test on real device.

    ReplyDelete
    Replies
    1. Sorry Suneetha was not updating this blog since long ,due to my busy schedule :( . Will definitely spend some time on this and update.

      Delete
    2. You may refer to my video i have done this for IOS simuluator same way will work for real device.Hope this would help

      https://www.youtube.com/watch?v=BNgFixhS_AM

      Delete