Android Interview Questions For software testers
Software testing - Questions and Answers - Android
- What are Gingerbread, Jelly Bean, KitKat and Honeycomb?
- Question: What you usually configure when creating a new Android Virtual Device during testing?
Answer: name the following and tell about boundaries - CPU type , Internal storage, total RAM (memory), SD Card size, screen resolution (total number of pixels), number of pixels per inch (screen density).
- Question: How each java statement is usually finished?
Answer: each java statement is usually finished with ;
- Question: What is the purpose of the Android support library?
Answer: To help support modern Android functionality in older phones.
- Question: What can happen during testing window scale on emulator?
Answer: a large window scale may cause a crash.
- Question: What is the extension of Android app file?
Answer: the extension of Android app file is APK
- Question: What is the MIT license means?
Answer: MIT license means that you may reuse a code for any project but add the author name to the code.
- Question: What is default behavior of a button?
Answer: To do nothing
- Question: What does the following string contain? "\""
Answer: One double quote (")
- Question: Where Java import statements is?
Answer: You must put Java import statement before the class starts at the top of the Java file.
- Question: What you need to do during testing to prevent configuration changes from recreating the activity?
Answer: You need to edit the Android manifest file.
- Question: What you receive by use the Source menu in Eclipse to reformat and indent a xml files?
Answer: After reformat and indent a xml files they are more readable.
- Question: Please give some examples of configuration changes.
Answer: Keyboard hidden; Screen size changed; Orientation changed;
- Question: What is the recommended spacing between user interaction (UI) components?
Answer: The recommended spacing is 8dp
- Question: Does Installing HAXM accelerator technology can significantly speed up Intel (x86)-based emulators? Please explain.
- Question: Please write a telnet command to connect to the first running emulator instance.
Answer: telnet localhost 5554
- Question: How Android applications uniquely identified?
Answer: Android apps are uniquely identified by package name.
- Question: How many emulators can you run on one powerful PC.
Answer: the maximum number of emulators that we can run in the same time on a single machine is 16.
- Question: What can happen if during testing accelerator has not enough memory to contain a complete virtual phone image (including virtual disk space)?
Answer: The emulator will start in non-accelerated ('slow') mode.
- Question: What can you use to take a screenshot of a problem displayed on an emulator?
Answer: To take a screenshot on an emulator you can use the Devices view.
- Question: What you will do to see only messages from a particular application under test, process, or debug level?
Answer: We can use Logcat filter to see only messages from a particular application.
- Question: Where can you see errors in Java files?
Answer: Errors in Java files appear in Problems view
- Question: What is a port number of the first emulator?
Answer: A port number of the first emulator is 5554
- Question: How can you send an SMS message to an emulator?
Answer: SMS message to an emulator can be send from another emulator running on the same machine or using telnet to connect and then typing: sms send “ message”
- Question: Give an example what you cannot test on emulators?
Answer: For example low battery scenarios
- Question: What is NFC
NFC, stands for Near Field Communication, is a short-range wireless RFID technology that makes use of interacting electromagnetic radio fields between compatible devices instead of the typical direct radio transmissions used by technologies such as Bluetooth. Used in devices such as Google Nexus since the Nexus S,
- Question: What Question and answer forums do you know?
Answer: stackoverflow.com/questions/tagged/android and groups.google.com/group/android-developers
- Question: What can you do if you accidentally closed all of the views in Eclipse?
Answer: I can quickly reset Eclipse to show the original set of views by Use Windows>Reset Perspective option.
- Question: What is Android Lint?
Answer: Lint is the tool that scans project source code and resources for potential errors
- Question: Android's Linux Kernel is not exactly the same as the Linux Kernels typically running on desktop machines. Why would Android make its own Linux Kernel?
Answer: Mobile devices require features not usually needed on traditional desktop devices.
- Question: In which of the following programming languages are Android's Native libraries typically written?
Answer: C, C++
- Question: The Resource Manager helps with internationalizing applications. Which of the following might explain why that is important to Android software testers?
Answer: People who speak different languages use android phones and applications.
- Question: What kinds of information does the Location Manager provide to applications?
Answer: For example - user movement and user location.
- Question: Do Android emulators can be controlled externally via a telnet session?
- Question: Some Android applications depend on recent Java features, such as the try-with-resources statement. What that does mean for testers?
Answer: Therefore, it is important to make sure that we have installed the latest version of Java in our testing environment.
- Question: Does Android Virtual Devices can be created to mimic specific physical devices, such as a Nexus One, or a Galaxy Nexus tablet?
- Question: Please name several Android Platform components.
Answer: Documentation, Software Developers Kit, Software Stack.
Advance Android application testing Interview Questions:
- what is the outermost xml tag used in the AndroidManifest.xml file?
- How do you understand a term viewport and how to configure it?
- How would you specify a string called "exit_message" whose value is "See you on the next interview", within a strings.xml file?
Suppose you are testing an application that captures and stores personal information from the user, such as the medicines they are currently taking. Other applications may want to use this information and then provide add-on services over it, for example, to create 'take your medication alert' reminders. Which of the following tags would you put in your application's AndroidManifest.xml file to test a new application-specific permission for accessing your application.
- Question: What is the difference between dynamically modifying application layouts at runtime, rather than by using static layout files. Please explain the difference in testing.
- Question: Suppose you have to test an application that uses the Vibration Service to make a device vibrate as a deadline approaches. Please write test cases.
- Question: Please name the properties the can be tested on a View?
- Describe key responsibilities of a View?
- What is the purpose of the Action Overflow area?
- What types of User Notifications provided by Android? How you will test them?
- If an application under test only receiving certain broadcasts while it is active and in the foreground, which scenarios might be tested?
- How will you test application access to the AlarmManager?
- What HTTP clients Android supports?
- What types of User Notifications you need to test on Android?
- If your application only wants to receive certain broadcasts while it is active and in the foreground, which scenarios will you test?
- How you will test Alarms and how Alarms are different from other Android capabilities?
- How will you test that an application get access to the AlarmManager?
- Please name all HTTP clients that Android supports.
- Why on Windows you change the BIOS settings to enable acceleration?
- How do you understand HAXM accelerator technology?
The interview questions found above are listed in order of complexity. However all new interview questions (regardless of there difficulty) will be added to the bottom of the list
Find more on General Android information and documentation
Interview Questions QA Main Page
© October 2014 Alex Samurin geocities.com/xtremetesting/ © eXtremeSoftwareTesting.com