This repository contains a working example of IBM Mobile Quality Assurance (MQA) in a very simple iOS app. To compile this example, you'll first need to install Xcode from Apple. Next, follow these simple steps:
Get started by visiting the MQA website and clicking "Sign Up". Follow the process to sign up for an account by entering your information and choosing a password.
If you just registered for a new account in step 1, you'll be taken to this step automatically. Alternatively, click the application drop down on the upper right-hand corner of the screen and choose "Add New".
Tell MQA the name of your application and the platform on which it runs (iOS, Android, or Windows Phone).
Once you've added a new application in MQA, you'll be given a unique application key. You'll need to add this to your code in just a few minutes, so keep it readily available. (You can always retrieve this key later if you need it. It's available in the MQA web panel within the "Settings" menu on the left.)
You can either clone this repository or download a zip file - whichever works for you.
Once you have downloaded the repository to your computer, navigate to the folder which contains the downloaded repository. Click on helloWorldMQAIntegration.xcodeproj to open the project in Xcode.
Expand the project to see the included files and then expand the helloWorldMQAIntegration folder. Click on the utestAppDelegate.m file to open it.
Locate a line that looks like:
[APHLogger startNewSessionWithApplicationKey:@"Your-MQA-Application-Key-Goes-Here" apphanceMode:kAPHApphanceModeQA];
Replace the string Your-MQA-Application-Key-Goes-Here with the application key from Step 3.
Click the Run button on the upper left hand corner of the screen. If everything is setup correctly, this very basic application should compile and load in a simulator.
For more help, take a look at our online instructions for configuring MQA with your iOS apps.
MQA allows you to manually log events to the MQA server. This can be useful when you are debugging problems later because you can track custom defined activities from your application.
This sample application includes several examples of MQA's logging methods inside of utestAppDelegate.m, below the configuration steps listed above.
For more help with logging iOS events with MQA, visit our help topics about logging.
For more information about using IBM Mobile Quality Assurance, visit our online help topics.
If you have additional questions, email us at: [email protected]
IBM Mobile Quality Assurance enables mobile developers to know precisely how their apps are working in the test lab and in the wild. A single library enables over-the-air app distribution, crash reports, in-app bug reports and user feedback. Now developers can discover in real time precisely what’s working – and what’s not – with their iOS, Android, Windows Phone, Kindle Fire and Nook apps. Learn more by visiting quality4mobile.com.