Wednesday

SeeTest - Launch iOSBridge automatically



If you are automating your apps on seeeTest + iOS and you see that the iOS Bridge just goes blank and says disconnected. You know that your tests will not run as the prerequisite for any test to run is that you need to have the iOS Bridge running in the background.

Solution: Manually launch iOS Bridge on your phone. But what if your devices are located on a remote system and cannot be accessed ??

Solution:  Using the Runtime Application Manager mechanism

The Application Manager is used primarily to install and instrument applications so that their Native and Web elements/objects can be used to test them .Applications are generally imported from the local disk of the tester's computer.
  1. Click on the 'Application Manager' button in SeeTest located under Applications on the left hand side corner. The icon looks like an import button
  2. The Application manager will then appear on your screen and you need to import the ipa file that is located in <SeeTest InstallationFolder>/bin/native folder. The ipa file is called LaunchAgent.ipa
  3. Once completed it will ask you to install the application
  4. then it would ask you to launch the application
  5. You can now launch the iOS Bridge remotely by either clicking on the icon to launch in SeeTest under applications
  6. In order to Launch an application in the script you can use the 'Launch' command                            Do not use: //client.launch("task:com.experitest.LaunchAgent", true, false);
  7. Use client.openDevice();
Happy iOS Automation !




2 comments:

  1. Usually I do not read post on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Great work admin.Keep update more blog.
    Mobile App Development Company
    Android app Development Company
    ios app development Company
    Mobile App Development Companies

    ReplyDelete
  2. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
    Mobile App Development Company
    Mobile App Development Companies

    ReplyDelete