Manualtesting
-
Upload
qa-club-kiev -
Category
Technology
-
view
3.935 -
download
0
description
Transcript of Manualtesting
iOS app manual testing: How to start
V01
Agenda: 1. General knowledge: Are you equipped? - Types of iDevices
- iOS Versions - Human Interface Guidelines 2. Testing: In which way? - Real devices - Simulator - DeviceAnywhere - TestFlight 3. Reject from AppStore: How to receive?4. Child actions: What is helpful?
February 2012
Device Usage
3.15%
17.35%
35.43%
iPodiPhoneiPad
*according to w3schools.com
1.1.Types of iDevices
iPod Touch
1st generation 2nd generation 3rd generation 4th generation
First iPod Touch was released 14 September 2007 in USA
1.1.Types of iDevices
Characteristics: iPod TouchFeature 1st generation 2nd generation 3rd generation 4th generation
Initial OSiOS 1.1
iOS 2.1.1iOS 3.1.1 (8 GB "MC"
model)iOS 3.1.1 iOS 4.1 (2010 release)
iOS 5.0 (2011 release)
Highest Supported OS iOS 3.1.3 iOS 4.2.1 iOS 5.1
Display 320x480 Retina 640x960
Storage 8, 16 or 32 GB 32 or 64 GB 8, 32 or 64 GB
Camera N/A
0.9 MP backside image sensor with video and 0.7 MP photos, Front 0.3 MP photos and video at up to 30 fps
Color Black Black or white (2011 release)
1.1.Types of iDevices
iPhoneFirst iPhone was released 29 June 2007 in USA
iPhone iPhone3G iPhone3GS iPhone4 iPhone4S
1.1.Types of iDevices
Feature iPhone iPhone3G iPhone3GS iPhone4 iPhone4SInitial OS iOS 1.0 iOS 2.0 iOS 3.0 iOS 4.0 (GSM model)
iOS 4.2.5 (CDMA model)
iPhone OS 5.0
Highest Supported OS
iOS 3.1.3 iOS 4.2.1 iOS 5.1
Display 320x480 Retina 640x960
Storage 4, 8 or 16 GB 8 or 16 GB 8, 16 or 32 GB 16, 32 or 64GB
Camera 2.0 MP 3.0 MP
5.0 MP backside image sensor 0.9 MP and LED flash
8.0 MP image sensor with 1080p HD video
Color Black Black or white (white not available for 8 GB models) Black or white
Characteristics: iPhone1.1.Types of iDevices
iPADiPad iPad 2 iPad 3(3rd generation)
1.1.Types of iDevices
Characteristics: iPAD Feature iPad iPad 2 iPad 3
Initial OS
iOS 3.2 iOS 4.3 iOS 5.1
Highest Supported OS iOS 5.1
Display1024 × 768 px XGA at 132 ppi 2048×1536 px
resolution 264 ppi
Storage 16, 32 or 64 GB
Camera Camera N/A
Back: 0.9 MP video and 0.7 MP photos
Back: 5 MP and 5× digital zoom
Front: 0.3 MP photos and video at up to 30 fps
1.1.Types of iDevices
What is the similar?
• 3.0, 3.0.1, 3.1, 3.1.2,3.1.3,
3.2, 3.2.2
• 4.0, 4.0.1, 4.0.2, 4.1, 4.2.1, 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5
• 5.0 , 5.0.1, 5.1 …
iOS versions• 3.14159265358979323
846 26433832 79 50288419716939 937510 5820974 944 5923078 1640628 620899 8628034825 3421170679 8214 808651…
π
1.2. iOS Versions
iOS Human Interface Guidelines
Describes the guidelines and principles that help you design a superlative user interface and user experience for your iOS app.
1.3. Human Interface Guidelines
Human Interface Principles
• Aesthetic Integrity
• Consistency
• Direct Manipulation
• Feedback
1.3. Human Interface Guidelines
iTunes2.1. Real devices
iTunes2.1. Real devices
ProvisioningA 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.1. Real devices
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.
2.2. Simulator
DeviceAnywhere2.3. DeviceAnywhere
TestFlight
2.4. TestFlight
App Store3. Reject from AppStore
App Store3. Reject from AppStore
App Store3. Reject from AppStore
App Store3. Reject from AppStore
App Store3. Reject from AppStore
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
113 Rules
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
20 Rules
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
3. Reject from AppStore
6 Rules
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 Logs
Application 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>\AppData\Roaming\Apple computer\Logs\
CrashReporter/MobileDevice/<DEVICE_NAME>• Windows XPC:\Documents and Settings\<USERNAME>\Application Data\Apple
computer\Logs\CrashReporter/<DEVICE_NAME>
View Logs
App names:• Consolelog• System Console• System Log• iConsole• NSLogger
There are many log viewers for iOS, just search for "Console log" in the app store.
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 actions
Be observant!
Caption for Back button went somewhere.
Bug happens
4.Child actions
Oh no-no!
Just open the screen and…
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 actions
Sometimes after tap on 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
4.Child actions
Thank you for your attention!