Copyright Notice. Mobile Testing Enterprise 7.3. September 2015. Copyright 1995-2015 Keynote LLC. All rights reserved.



Similar documents
DeviceAnywhere Enterprise. ios Device Onboarding Guide

Mobile App Monitoring. Release Notes. Release 8.0

Keynote DeviceAnywhere/HP Application Lifecycle Management (HP ALM/QC) Integration Guide. TCE Automation 5.2

DeviceAnywhere Automation for Smartphones Setup Guide Windows Mobile

Test Center Enterprise. ios Device Onboarding Guide

DeviceAnywhere Enterprise Monitoring. Best Practice Workflow. Release 6.0

ios Team Administration Guide (Legacy)

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

Knappsack ios Build and Deployment Guide

Office Language Interface Pack for Farsi (Persian) Content

APNS Certificate generating and installation

Certificates and Application Resigning

Dell Spotlight on Active Directory Server Health Wizard Configuration Guide

Getting Started with Apple Pay on the Authorize.Net Platform

1 от :45

Symantec Enterprise Vault

MY WORLD GIS. Installation Instructions

Copyright 2015 SolarWinds Worldwide, LLC. All rights reserved worldwide. No part of this document may be reproduced by any means nor modified,

Craig Pelkie Bits & Bytes Programming, Inc. craig@web400.com

Icons: 1024x1024, 512x512, 180x180, 120x120, 114x114, 80x80, 60x60, 58x58, 57x57, 40x40, 29x29

Engage ios App Administrator s Guide

Overview of Microsoft Office 365 Development

ChangeAuditor 6.0 For Windows File Servers. Event Reference Guide

Authorize.Net Mobile Application

ChangeAuditor 5.6. For Windows File Servers Event Reference Guide

Generating an Apple Enterprise MDM Certificate

Centrify Mobile Authentication Services

CA Cloud Service Delivery Platform

CA Service Desk Manager - Mobile Enabler 2.0

SolarWinds Technical Reference

Automating client deployment

Adobe Acrobat 9 Deployment on Microsoft Systems Management

Abila Nonprofit Online. Connection Guide

New Features and Enhancements

ios App for Mobile Website! Documentation!

Microsoft Dynamics GP. Electronic Signatures

SolarWinds Migrating SolarWinds NPM Technical Reference

CA Mobile Device Management. How to Create Custom-Signed CA MDM Client App

Symantec Enterprise Vault Technical Note. Administering the Monitoring database. Windows

DameWare Server. Administrator Guide

Dell Unified Communications Command Suite - Diagnostics 8.0. Data Recorder User Guide

Networking & Internet

Software Development Environment. Installation Guide

Mobile Secure Cloud Edition Document Version: ios Application Signing

Adobe Acrobat 9 Deployment on Microsoft Windows Group Policy and the Active Directory service

DeviceAnywhere Enterprise. Private System Installation Guide. Release 6.0

WatchDox for Mac User Guide

Veeam Task Manager for Hyper-V

Mobile Labs Plugin for IBM Urban Code Deploy

AG MacOS Standalone Array Client Administration Guide

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

QuickStart Guide for Mobile Device Management

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

Defender Delegated Administration. User Guide

Using Free PGI and Xcode

Macs are not directly compatible with Noetix.

Using the Apple Configurator and MaaS3360

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

QuickStart Guide for Mobile Device Management. Version 8.6

CA Nimsoft Monitor. Probe Guide for Active Directory Response. ad_response v1.6 series

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Dell One Identity Cloud Access Manager How to Configure vworkspace Integration

FOR WINDOWS FILE SERVERS

Spotlight Management Pack for SCOM

Mobile App User's Guide

Standard Client Configuration Requirements

Norton Small Business. Getting Started Guide

Symantec Mobile Management 7.2 MR1Quick-start Guide

DeviceAnywhere Test Center Developer. User Guide. Release 6.1

Deployment Guide for the Polycom SoundStructure VoIP Interface for Cisco Unified Communications Manager (SIP)

Document Exchange Server 2.5

SOLARWINDS ORION. Patch Manager Evaluation Guide for ConfigMgr 2012

Track and Trace. Administration Guide

TIBCO MFT BusinessWorks MFT Palette

CA Nimsoft Monitor. Probe Guide for Active Directory Server. ad_server v1.4 series

DeviceAnywhere Enterprise Interactive. User Guide. Release 6.1

Drobo How-To Guide. Topics. What You Will Need. Using Drobo and Backblaze for Simple Online Backup

Deploying the Parallels Containers Update Server in a Local Network

Pipeliner CRM Phaenomena Guide Add-In for MS Outlook Pipelinersales Inc.

Deploying Adobe Acrobat Using Microsoft Windows Terminal Service ADOBE SYSTEMS INCORPORATED

CA Nimsoft Monitor. Probe Guide for E2E Application Response Monitoring. e2e_appmon v2.2 series

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

Symantec Backup Exec System Recovery Granular Restore Option User's Guide

Migrating Cirrus. Revised 7/19/2007

Universal Management Service 2015

TestFlight FAQ Apple Inc.

EasyPush Push Notifications Extension for ios

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

User Self-Service Configuration Overview

NetBackup Backup, Archive, and Restore Getting Started Guide

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

Checking System Requirements. How-To Guide

Installation Instructions

For Active Directory Installation Guide

Deploying Adobe Acrobat Using Microsoft Windows Terminal Service ADOBE SYSTEMS INCORPORATED

Transcription:

Mobile Testing Enterprise UIAutomation Compatibility Mobile Testing Enterprise 7.3 September 2015 Copyright Notice Copyright 1995-2015 Keynote LLC. All rights reserved. THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED AS IS WITHOUT ANY EXPRESS REPRESENTATIONS OF WARRANTIES. IN ADDITION, KEYNOTE DISCLAIMS ALL IMPLIED REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTURAL PROPERTY RIGHTS. All text and figures included in this publication are the exclusive property of Keynote and may not be copied, reproduced, or used in any way without the express permission in writing of Keynote. Information in this document is subject to change without notice and does not represent a commitment on the part of Keynote. Keynote may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents except as expressly provided in any written license agreement from Keynote. The trademarks or registered trademarks of Keynote LLC in the United States and other countries include Keynote, DataPulse, CustomerScope, Keynote Customer Experience Rankings, Perspective, Keynote Red Alert, Keynote WebEffective, The Internet Performance Authority, MyKeynote, SIGOS, SITE, keynote The Mobile & Internet Performance Authority, Keynote FlexUse, Keynote DeviceAnywhere, DeviceAnywhere, Keynote DemoAnywhere, Keynote MonitorAnywhere. All related trademarks, trade names, logos, characters, design and trade dress are trademarks or registered trademarks of Keynote LLC in the United States and other countries and may not be used without written permission. All other trademarks are the property of their respective owners. Please forward any comments or suggestions regarding this document to Keynote Support. Keynote LLC 777 Mariners Island Blvd. San Mateo, CA 94404 ii Keynote Confidential

UIAutomation Compatibility Mobile Testing Enterprise Contents Overview... 4 1 ios App Development Certificate... 4 2 Valid Customer App ID... 5 3 Development Provisioning Profile... 6 4 UDIDs in the Development Provisioning Profile... 6 5 Build the App... 6 6 UIAutomation Compatibility... 7 Keynote Confidential iii

Mobile Testing Enterprise UIAutomation Compatibility Overview With the latest releases of ios and Xcode, Apple has made using Keynote s AppSign tool to change the identity of an app a lot harder to accomplish. In effect, the tool is doing steps that Apple does not want you to be able to do. There is a high possibility that Apple will eventually close all such loopholes, and we will no longer be able to sign an app for our customers. So that you do not need to avail of Keynote s AppSign tool, follow these following steps to make your apps UIAutomation compatible and therefore able to use ios object-level scripting Mobile Testing Enterprise. The high-level steps below are explained further in the sections that follow. It is assumed the person performing these steps has basic-intermediate knowledge of ios app development, specifically the inner workings of Apple ios Certificates, Apple ios Identifiers, and Provisioning Profiles. 1 Ensure there is a valid ios App Development Certificate. 2 Ensure there is a valid App ID for your customer app. 3 Ensure there is a valid Development Provisioning Profile for your app. 4 Ensure the Development Provisioning Profile contains UDIDs of devices the app will be deployed to. 5 Build the customer App using the proper App Development Certificate, App ID, and Development Provisioning Profile under Xcode. 6 Make the app UIAutomation compatible. 1 ios App Development Certificate To create a certificate: 1 Log in to the Member Center at https://developer.apple.com/account/ios/certificate/certificatelist.action. 2 Click the plus symbol at the top right to add a new certificate. For a development certificate, select ios App Development and click Continue. For a distribution certificate, select App Store and Ad Hoc and click Continue. 3 Follow the instructions on the page for creating a Certificate Signing Request. 4 Open Keychain Access on your Mac. 5 Select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority. 6 Follow instructions to create a certificate: 4 Keynote Confidential

UI Automation Compatibility Mobile Testing Enterprise 7 Once you have the CSR file, continue with the web page for creating a Certificate. The page will ask you to select the CSR to generate the certificate. 8 Download the certificate. 9 Locate the certificate and double click it to add it to your Keychain. 10 If everything is done correctly, you will see a new Certificate along with a Private key in the Keychain Access: 2 Valid Customer App ID Steps to create an app ID: 1 Download the certificate. 2 In the Member Center, under Certificates, Identifiers, & Profiles, click on App IDs under Identifiers. 3 Click the plus symbol at the top right of the page. 4 For App ID Description, type the desired app ID 5 Select all the services and click Continue. Keynote Confidential 5

Mobile Testing Enterprise UIAutomation Compatibility 6 Click Submit. 3 Development Provisioning Profile To ensure there is a Development Provisioning Profile for your app: 1 In the Member Center, under Certificates, Identifiers, & Profiles, select Provisioning Profiles > Development. 2 Click the plus symbol at the top right of the page. 3 For a development profile, click on ios App Development. 4 When asked to select an App ID, choose the ID for your app. 5 Select the certificate used with the profile. 6 Then select the devices that will be included in the provisioning profile. 7 Name the profile. 8 Download the profile. It will need to be added to devices in order to run apps that have been signed. 4 UDIDs in the Development Provisioning Profile Ensure that the Development Provisioning Profile contains all the UDIDs of devices the app will be deployed to. To add a device UDID to the Provisioning Profile: 1 Log in to the Apple Developer Portal. 2 Click on Provisioning Profiles. 3 Select the appropriate profile. 4 Click on the Edit button. 5 Select the desired device that you would like the app to be deployed to. 6 Click Generate to generate a new provisioning profile if there are any changes made. 5 Build the App Build the app using the proper App Development Certificate, App ID, and Development Provisioning Profile under Xcode: 1 Launch Xcode and open your project. 2 Under the Build Settings menu, select the appropriate Development Code Signing Identity and Development Provisioning Profile. NOTE You might have to exit Xcode and reopen the project for the build to see changes. 3 Ensure the build is successful. 6 Keynote Confidential

UI Automation Compatibility Mobile Testing Enterprise 6 UIAutomation Compatibility To create a UIAutomation compatible app: 1 Locate your app s derived data. This can be located by going to Xcode Organizer and clicking on the project. You will see a Derived Data main folder like this: 2 From the Derived Data main folder, navigate to the Debug derived data folder. Typically, they are located under a folder structured like this: /Users/<UserName>/Library/Developer/Xcode/DerivedData/<AppName>/Build/Prod ucts/debug-iphoneos/<appname>.app 3 Copy this folder into a folder named Payload. 4 Zip the Payload folder and name it with an.ipa file extension, e.g., hello.ipa. Now you have a UIAutomation compatible app. NOTE Navigating the file system using OS X s Finder App to perform the above steps will add a hidden indexing file called.ds_store and that may create problems if included. Performing the above steps under the command line tool will not have these side effects: Starting from the Debug-iphoneos directory, cp -axv <APPNAME> Payload For example, if you are in /Users/<USERNAME>/Library/Developer/Xcode/DerivedData/<APPDATA>/Build/Product s/debug-iphoneos issue the command: cp -axv hello.app Payload # zip r hello.ipa Payload Keynote Confidential 7