iOS
1) What is the current version of iOS? 9.3.1 released and beta version 9.3.2
NOTE: Mention the Beta version as well in the answer.
2) How do you take console log for iOS App.
Xcode 6 (for iOS 8 and above):
1. Download and install Xcode 6.
2. Connect your iOS 8 device to your computer.
3. Open Xcode 6 and go to Window > Devices.
4. Select your device from the Devices column.
5. Select the device console icon at the bottom of the window.
6. Clear the console logs by pressing the trash icon at the bottom right side of the window.
7. Reproduce the issue on the device. After the error occurs, go to Xcode 6 and use the save button
to save the log.
iPhone Configuration Utility (for iOS 7 and below):
1. Download and install the iPhone Configuration Utility for Mac or Windows.
2. Exit iTunes and Xcode.
3. Open the iPhone Configuration Utility.
4. Connect the iOS device to your computer and select it.
5. Clear the console logs by pressing the Clear button on the bottom of the window.
6. Reproduce the issue on the device. After the error occurs, go to the iPhone Configuration Utility
and save the log by clicking the Save Console As... button. Send the log file to Support as a .txt
file. (All external links provided as a courtesy.)
3) How do you take crash log for iOS App. Xcode—Windows-Devices- Log-date vise logs
4) What informations are present in info.plist file ? [plist: Property list file] Rename app.zip, 7-Zip :
Extract To app.zip , Folder Open: Payload folder, app.app , inside: info.Plist , open with plist editor
The ‘info.plist’ is a file which contains information about the build like the build version, server
environment, minimum OS…etc
There are only a few steps to get to the info.plist:
Step 1: First, go to a MAC. The info.plist file will not display properly if opened on a PC.
Step 2 and 3: Then open a new Finder window and look on the network for the iOS build you are testing.
Step 4: The next step is really important; Copy/Paste the .app file to the desktop. You should never open
a .app file from the network, especially if it’s the version used for installation, as it will corrupt the build
and create issues during the next installation.
Step 5: Once copied, right-click on the .app file and select ‘Show Package Contents’.
Step 6 and 7: This will open a new window where you’ll see the full content of the .app. All files should
be displayed in alphabetical order so you can either scroll down or type in the letter ‘I’ to get to the
info.plist. Double click on it to open.
Server Environment, Bundle Version, Minimum OS version, DTplatformversion,UI Device Family, Icon
Files, Localization
5) What are the file extensions of iOS app. and their full form? .ipa[iPhone
application], .app , .ipsw, .vcf, .file, .smpo.
6) What is the installation procedure for iOS app.
Mention about Apple configurator. Check the video on youtube.
- App store, iTune, Apple configurator, Beta App:[ diawai: third party tool we can use for app
installation]
7) How do you download the save data of an iOS app. [ Xcode: app settings: download save date], ask for
path and save]
8) Which files are corrupted for save data testing ? [
9) What are features included in the latest iOS? Nightshift, note[secure], car play, health
10) What is provisioning profile? How it is created ?
11) What are the different kinds of errors observed while installing iOS app.
- Provisioning profile error, when udid not added to the device
- low space
- resolution error
- different account used for app store
12) Different versions of iOS that you have tested and why ? [OS 8.4, 8.1, 7, 9, 9.1, 9.2 , 9.3 [ Nightmode]
iphone5, iphone6, 6s, 6splus
13) Current version of MAC and Xcode ? 6.4 old and 7.3 current. 7.0, 7.0.1, 7.1, 7,1,1,
14) What is Retina Display ? resolution and pixel density so high – roughly 300 or more pixels per inch
iPhone4: 960×640
iPhone5 1136×640
iPhone6 and iPhone 6s 1334×750
iPhone6 +and iPhone 6s+ 1920×1080 [Pixle density: 401]
iPad Air and iPad mini: 2048×1536
15) How do you record the screen video of a issue observed on iOS ? : Quick time player,ScreenFlow and
other device,
http://www.apptamin.com/blog/capture-iphone-ipad-screen-video/
16) Different types of interrupts that can be performed on iOS ?
3rd party interrupts, calendar, alarm, Native calls, Battery low, low storage, internet reconnection,
17) Can we install an app on a device if the provisioning profile of app is expired ?
• 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.
• To install an app on a device during development, you need three things: an app ID that
identifies the set of apps it authorizes to run, a list of devices your team wants to use for testing,
and a list of developers permitted to sign the app. These three things are bundled in a
development provisioning profile. A development provisioning profile uniquely ties developers
and devices to a development team. A provisioning profile is valid for one year. A device can be
added to multiple provisioning profiles.
• For your convenience, Xcode creates a wildcard app ID, called iOS Wildcard App ID, that matches
all your apps. The first time you register a device in Xcode, Xcode creates a development
provisioning profile, called iOS Team Provisioning Profile, that uses the iOS Wildcard App ID.
Xcode automatically adds new developer certificates and registered device IDs to the iOS Team
Provisioning Profile so you can use iOS Team Provisioning Profile for all apps that don’t require
an explicit app ID.
• Only team agents and admins can create development provisioning profiles.
1. After logging in to the iOS Provisioning Portal, click Provisioning in the sidebar.
2. Click New Profile.
3. Specify the profile name, select the certificates and devices you want to associate with this profile,
and choose an app ID.
• Only team agents and admins can create development provisioning profiles. This profile
contains a name, a set of development certificates, a set of device IDs, and an app ID. A
development provisioning profile ties developers and devices to a development team.
• A profile is valid for one year.
• When choosing devices and certificates, select all devices your team will use for testing and all
certificates for developers working on the app.
• If you, the team admin, recently enabled an app ID for Apple Push Notification Service, create a
new provisioning profile containing that app ID.
• After the team admin creates this profile, you will be able to download and install it on your
device and test your app.
18) Is it good to test an app on jail broken devices and why ? to remove manufacturer or carrier
restrictions from a device such as an iPhone or iPad
19) Latest devices launched by Apple ?
iPhone SE[4 inch] and New Pad Pro [9.7 inch]
20) What are the different types of screen resolutions and what kind of issues can occur due to it ?
Ui Issues,
21) What are different types of iOS apps? master detail application, Open GL Game, Page Based
Application, Signle view app, Tabbed App, Utility app, Empty app
22) What is the importance of .dysm folders in the iOS app. Dsym: Debug Symbols file
dSYM files store the debug symbols for your app
Services like crashlytics uses it to replace the symbols in the crash logs with the appropriate
methods names so it will be readable and will make sense.
the benefit of using the dSYM is that you don't need to ship your App with it symbols making
it harder to reverse engineer it and also reduce your binary size
The symbolicate command comes with Xcode.
By default the Xcode Organizer should display and symbolicate all crash reports that it finds, either on
devices or downloaded by iTunes, as long as Xcode can find both the .app and the .dSYM files on the
MAC. In the eventuality that the crash log is not being symbolicated automatically, here’s what you need
to do:
<Voiceover: animation 1>
The steps start right after you’ve retrieved the crash log in Xcode; so you should be in the Organizer
window, have your device selected and be on the Device Logs tab.
<Voiceover: animation 2>
Step 1: Take your latest crash file(s) and copy it (them) to a new Folder on the Desktop
<Voiceover: animation 3>
Step 2: Delete all other unnecessary crash logs. This is optional but it makes it easier and quicker to
symbolicate; and in case you delete the good ones by mistake, you’ve already made copies of the
originals.
<Voiceover: animation 4>
Step 3: Symbolication requires the .app and the .dSYM files to work. Both files can be found together in
the build submission package that should be saved on the Network.
<Voiceover: animation 5>
Step 4: Copy both files into the new Folder previously created on the Desktop, in which the crash log
should already be located.
<Voiceover: animation 6>
Step 4: Multi-select the .app, dSYM, and crash report in the Finder window, and drag them to the log list
panel.
Symbolication is automatic. Once you have grouped your files together Xcode will work its magic and
symbolicates the crash log. You do not have to press anything or select anything from a menu.
<Voiceover: animation 7>
NOTE: the process can take a few minutes and you may need to restart Xcode for the symbolication to
trigger.
23) Check Apple Human Interface guidelines ?
24) What is icloud save of application and device back up save ?
25) How to create an apple account ? Apple ID site
26) Localization testing on iOS app ?
27) Region based testing for iOS app ?
28) What are different types of memory leaks / warnings received in iOS?
29) What is accessiblity testing ?
30) How to take the UDID of the device ? itunes: serial no, xocde : identifier
Android Questions:
1) What is the current version of Android?
Ans) Android M(mashmallow) - 6.0.1 , Upcoming version: Android N(Nougat) - 7.0
2) How do you take console log for Android App.
Ans) By Using DDMS.
3) How do you take crash log for android App.
Ans) By using ADB command - "adb logcat"
4) What informations are present in meta.inf file ?
Ans) Not so important. leave it.
5) What are the file extensions of android app and their full form?
Ans) .apk (android application package -- full form).
6) What is the installation procedure for android apps.
Ans) Procedure 1: Copy the .apk file to device--> click the apk & install
Procedure 2: Connect the device to pc--> from command prompt--> run adb command("adb
install -r <path of apk in computer>").
(android studio must be installed in the PC to and adb drivers must be available to get the adb
commands work)
7) How do you download the save data of an android app.
Ans) By using some third party apps(eg:Helium) we back up the data of apps.
8) Which files are corrupted for save data testing ?
Ans) Sqlite files.
9) What are features included in the latest android ?
Ans)Go through this link : http://www.alphr.com/google/1001796/android-marshmallow-14-brand-
new-features-thatll-make-you-want-to-update
10) How do you install sdk manager / Android studio ?
Ans) Its an .exe file. Simply double click and install by following the instructions in setup wizard.(java
JDK is mandatory prerequisite)
11) What are the different kinds of errors observed while installing android app.
Ans) 1. APK corrupt(due to build not proper)
2. Out of storage in device
3. Low device memory(RAM)
4. Time out error(while installing apk from play store)
12) Different versions of android that you have tested and why ?
Ans) Jelly bean, Kitkat, Lollipop, mashmallow -- to check backward and forward compatiability of
the application.
13) Current adnroid sdk and API's ?
Ans) Go through this link : https://developer.android.com/about/versions/android-5.1.html
14) What is dpi/ hdpi, xhdpi ?
Ans)A typical phone screen resolution (240x320 dpi, 320x480 mdpi, 480x800 hdpi, etc)
15) How do you record the screen video of a issue observed on android ?
Ans) Procedure 1: From the phone itself there are many third party app available on play store(eg:
mobizen).
Procedure 2: Using adb command
Step 1: Connect the device to pc and issue "adb shell screenrecord /sdcard/<desired-
filename.mp4>"
Step 2: Once desired actions are done on the device : press Ctrl+C(to stop
recording)
Step 3: Pull the recorded file from sdcard to desktop using adb command("adb pull
<path to desktop>/<file name given in step 1.mp4>").
16) Different types of interrupts that can be performed on android ?
Ans)incoming call -- sms - 3rd party apps calls- 3rd party apps IM's -- Alarm --Calender -- Low
Battery-- Device shutdown -- screen lock-- Connect/remove headset--home button -- multi tasking
17) Can we install an app on a device if the app is not signed ?
Ans)No. unsigned APK's cannot be installed.
18) Is it good to test an app on rooted devices and why ?
Ans) If the larger audience of our customers are using rooted devices. Then yes. Otherwise, it is not
good practice to test on rooted devices. Because rooting means overcoming the security
restrictions imposed by the OS.
19) Latest devices launched on Android ?
Ans) Not a relevant question. Leave it. This ques is more suitable for ios not android. Hundreds of
devices come into market everyday on android from different manufacturers.
20) What are the different types of screen resolutions and what kind of issues can occur due to it ?
Ans) Refer ques 14 for resolutions. Issus are: pixelation of images, rendering , alignment etc.
21) What are different types of android apps?
Ans)Not sure.
22) What is Google Wallet ?
Ans) Google Wallet is a peer-to-peer payments service developed by Google that allows people to
send and receive money from a mobile device or desktop computer at no cost to either sender or
receiver. When set up, a Google Wallet account must be linked to an existing debit card or bank
account in the United States(No service in india!).
23) Check adnroid developer guidelines ?
Ans)Go through this link(i think its not so important) :
https://developer.android.com/guide/index.html
24) What is cloud save of application and device back up save ?
Ans)Not sure.
25) How to create a gmail account ?
Ans)I think u know this.
26) Localization testing on Android app ?
Ans)Testing the application with a partical region audience in mind(eg: chinese,french etc..).
28) What are different types of meeory leaks / warnings received in Android ?
Ans)Not sure.
29) What is accessiblity testing ?
Ans) Accessibility aims to cater people of different abilities such as: Visual Impairments. Both
usability and accessiblity is verified in this testing.
30) What is push notification ?
Ans) When app is in killed state, to send the requests to app(messages, calls etc), push notifications
are used. To send this notificaton, our application's server will request google GCM(google cloud
messaging) service to send request on our behalf.