Description
Use the Instrument
method to prepare your application for testing with TestComplete. For more information on instrumenting iOS applications from scripts, see the Instrumenting iOS Applications From Scripts topic.
Declaration
iOSTestedAppObj.Instrument()
iOSTestedAppObj | An expression, variable or parameter that specifies a reference to an iOSTestedApp object | |||
Result | Boolean |
Applies To
The method is applied to the following object:
Result Value
True if the application has been instrumented successfully or has already been instrumented for this TestComplete version, and False otherwise or if the application has been instrumented in Xcode.
Remarks
-
Before calling the
Instrument
method, you need to assign values to the following properties. These properties specify files that contain information needed to sign the instrumented application:-
AppleWWDRCAPath - The file storing information on the Apple worldwide developer relations certification authority.
-
DeveloperCertPath - The file with the developer certificate.
-
DeveloperPemPath - The .pem file storing public and private keys.
-
ProvisioningPath - The file storing provisioning profile data.
For information on getting the file names, see Get Certificate Files.
-
-
You can use the following properties to parameterize the application instrumentation:
-
The BackupOriginalIPA property specifies whether TestComplete should back up the original module.
-
The BackupFileName property specifies the full path to the backup of the original .ipa file.
-
Example
For an example of using the Instrument
method, see the Instrumenting iOS Applications From Scripts topic.
See Also
iOSTestedApp Object
Instrumented Property
About Tested iOS Applications
Instrumenting iOS Applications From Scripts