Transcript of "CiklumPracticeLeadersQAGroup21032012:Asya Baranova- iManualTesting_v04_WOvideo"
iOS app manual testing: How to start V01
Agenda:1. General knowledge: Are you equipped? - Types of iDevices - iOS Versions - Human Interface Guidelines2. Testing: In which way? - Real devices - Simulator - DeviceAnywhere - TestFlight3. Reject from AppStore: How to receive?4. Child actions: What is helpful?
1.1.Types of iDevices February 2012 35.43% iPod 17.35% iPhone iPad 3.15% Device Usage *according to w3schools.com
1.1.Types of iDevices iPod Touch First iPod Touch was released 14 September 2007 in USA1st generation 2nd generation 3rd generation 4th generation
1.1.Types of iDevices Characteristics: iPod TouchFeature 1st generation 2nd generation 3rd generation 4th generationInitial OS iOS 2.1.1 iOS 4.1 (2010 release) iOS 1.1 iOS 3.1.1 (8 GB "MC" iOS 3.1.1 iOS 5.0 (2011 release) model)HighestSupported OS iOS 3.1.3 iOS 4.2.1 iOS 5.1Display 320x480 Retina 640x960Storage 8, 16 or 32 GB 32 or 64 GB 8, 32 or 64 GB 0.9 MP backside image sensor with video andCamera N/A 0.7 MP photos, Front 0.3 MP photos and video at up to 30 fps Black or white (2011Color Black release)
1.1.Types of iDevices iPhone First iPhone was released 29 June 2007 in USAiPhone iPhone3G iPhone3GS iPhone4 iPhone4S
1.1.Types of iDevices Characteristics: iPhoneFeature iPhone iPhone3G iPhone3GS iPhone4 iPhone4SInitial OS iOS 1.0 iOS 2.0 iOS 3.0 iOS 4.0 (GSM model) iPhone OS iOS 4.2.5 (CDMA 5.0 model)Highest iOS 3.1.3 iOS 4.2.1 iOS 5.1Supported OSDisplay 320x480 Retina 640x960 16, 32 orStorage 4, 8 or 16 GB 8 or 16 GB 8, 16 or 32 GB 64GB 8.0 MP image 5.0 MP backside sensor with image sensor 0.9 1080p HDCamera 2.0 MP 3.0 MP MP and LED flash videoColor Black Black or white (white not Black or white
1.1.Types of iDevices Characteristics: iPADFeature iPad iPad 2 iPad 3Initial OS iOS 3.2 iOS 4.3 iOS 5.1HighestSupported OS iOS 5.1Display 2048×1536 px 1024 × 768 px XGA at 132 ppi resolution 264 ppiStorage 16, 32 or 64 GB Back: 0.9 MP video Back: 5 MP and 5× and 0.7 MP photos digital zoomCamera Camera N/A Front: 0.3 MP photos and video at up to 30 fps
2.1. Real devices Provisioning A provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iPhone Development Team and enables a device to be used for testing. A Development Provisioning Profile must be installed on each device on which you wish to run your application code. Each Development Provisioning Profile will contain a set of iPhone Development Certificates, Unique Device Identifiers and an App ID. Devices specified within the provisioning profile can be used for testing only by those individuals whose iPhone Development Certificates are included in the profile. A single device can contain multiple provisioning profiles.
2.2. Simulator X-Code The Xcode developer tools package provides everything you need to create great applications for Mac, iPhone, and iPad.
2.2. Simulator iOS Simulator • Rotate Left. Rotates the simulator to the left. • Rotate Right. Rotates the simulator to the right. • Shake Gesture. Shakes the simulator. • Home. Takes the simulator to the Home screen. • Lock. Locks the simulator. • Simulate Memory Warning. Sends the app low-memory warnings. • Toggle In-Call Status Bar. Toggles the status bar between its normal state and its state when a phone call or FaceTime call is in progress. The status bar is taller in its in-call state than in its normal state. This command shows how your app’s user interface looks when the user launches your app during a call. • Simulate Hardware Keyboard. Toggles the software keyboard on an iPad simulator. Turn off the software keyboard to simulate using a keyboard dock or wireless keyboard with an iPad device. • TV Out. Opens a window simulating the TV out signal of a device.
3. Reject from AppStore The App Store Review Guidelines provide rules and examples across a range of development topics, including user interface design, functionality, content, and the use of specific technologies. Ensure your apps comply with the App Store Review Guidelines before submitting them for review
3. Reject from AppStore Functionality• Apps that crash will be rejected• Apps that exhibit bugs will be rejected• iPhone apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution• Apps larger than 20MB in size will not download over cellular networks (this is automatically prohibited by the App Store)• Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke cigarettes, will be rejected
3. Reject from AppStore User interface• Apps must comply with all terms and conditions explained in the Apple iPhone Human Interface Guidelines and the Apple iPad Human Interface Guidelines• Apps that look similar to apps bundled on the iPhone, including the App Store, iTunes Store, and iBookstore, will be rejected• Apps that alter the functions of standard switches, such as the Volume Up/Down and Ring/Silent switches, will be rejected
How to make a screenshot? To capture a screenshot on your device, press the Lock and Home buttons simultaneously. Your screenshot is saved in the Saved Photos album in the Photos app.
Crash LogsApplication crash logs are transferred to your computer each time you do a sync with the device.• On the Mac, crash logs are kept at:~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>• Windows Vista / Windows 7C:Users<USERNAME>AppDataRoamingApple computerLogsCrashReporter/MobileDevice/<DEVICE_NAME>• Windows XPC:Documents and Settings<USERNAME>Application DataApple computerLogsCrashReporter/<DEVICE_NAME>
View LogsApp names:• Consolelog• System Console• System Log• iConsole• NSLogger There are many log viewers for iOS, just search for "Console log" in the app store.
4.Child actions Be a Child! Twist it!Shake it!Touch it! Use not only one thumb! Just Call! Take pictures! Listen music!Walk together!
4.Child actions Ideas` LoftLots of real applications` screens for previous slide: A: What is this?! B: While make a photo turn your device and… Bug happens
4.Child actionsBe observant!Caption for Backbutton wentsomewhere.Bug happens
4.Child actionsOh no-no!Just open the screenand…Bug happens
4.Child actions The same screen after bug fix. It looks much better! Only button for Login is from another screen. The Post button for Twitter should be placed here. Bug happens
4.Child actions The same screen after next bug fix. Nice! No Facebook Login button. Ooopps, no button at all! Bug happens
4.Child actionsSometimes after tapon Home button...Bug happens
4.Child actions If you have a timer inside the app, don`t be lazy and set the device watch backward. Bug happens