Case Requires New TouchTest Driver

Document created by DPM Admin Employee on Jul 18, 2017
Version 1Show Document
  • View in full screen mode

Whenever an issue documented in Release Notes has been marked requires new TouchTest Driver, this tag is applied to the corresponding Case number in release notes. Getting the benefit of the specified fix will require re-applying the latest MakeAppTouchTestable utility to your source code project.

Use the following steps to download and re-apply the latest MakeAppTouchTestable utility to your project(s):

 

Download the Latest MakeAppTouchTestable (iOS/Android)

 

  1. Download the latest MakeAppTouchTestable Utility from the Central > Resources page, Downloads section of your own server instance. 
  2. Unarchive the ZIP  file.

Using MakeAppTouchTestable (iOS)

From the MakeAppTouchTestable folder, run:

java –jar MakeAppTouchTestable.jar –project <Xcode project directory> –target <target name> –url <CloudTest URL> –username <CloudTest user name> –password <CloudTest password>

where:

  • <Xcode project file> is the path to the ".xcodeproj" file representing your project
  • <target name> is the name of the Xcode target you would like to modify—this is usually a copy of your default target

Here is a complete example:

java –jar MakeAppTouchTestable.jar –project ~/Downloads/Stockfish/Stockfish.xcodeproj -target "Stockfish copy" –url http://<CloudTest URL>/concerto –username bob@acme.com –password secret

  1. MakeAppTouchTestable will configure your project. Note that since we didn't specify the -launchurl the Mobile App object created will have the same auto-created URL Scheme in its Launch URL field as it did before the fix.
  2. In Xcode, open the project and re-deploy the TouchTestable app to the necessary device(s) by selecting the “-TouchTest” scheme from the drop-down and the iOS device or simulator on which you’d like to run, then click the Run button.

Note: For complete coverage of using TouchTest with your iOS app(s), refer to the TouchTest for iOS Tutorial.

Using MakeAppTouchTestable (Android)

From the MakeAppTouchTestable folder, run:

java –jar MakeAppTouchTestable.jar –project <Android project directory> –url <CloudTest URL> –username <CloudTest user name> –password <CloudTest password>

where:

  • <Android project file> is the path to root folder of your project

Here is a complete example:

java –jar MakeAppTouchTestable.jar –project ~/Documents/Demo/droidfishchess_android –url http://<CloudTest URL>/concerto –username bob@acme.com –password secret

  1. MakeAppTouchTestable will configure your project. Not that since we didn't specify the -launchurl the Mobile App object created will have the same auto-created URL Scheme in its Launch URL field as it did before the fix. For Eclipse projects, this setting originates in the AndroidManifest.xml.
  2. In Eclipse, open the project and re-deploy the TouchTestable app to the necessary device(s).

Note: For complete coverage of using TouchTest with your Android app(s), refer to the TouchTest for Android Tutorial.

Attachments

    Outcomes