Wednesday, 8 October 2014

Testing Interview Questions


1.    What is the difference between Mobile Testing and Application Testing?
Mobile Testing: Testing the Mobile handsets/devices, It is testing the core functionalities of the devices like Sim Call Connectivity, Video Calling, network, battery etc (testing the OS)
Application Testing: Testing the applications in the devices (ex: Facebook, Twitter)

2.    What is the difference between Native and the Hybrid apps in the mobile?
Native: Built using the native programming language for the platform.
Hybrid: Built using web technology and then used for the specific platform. A Hynbrid app is developed using the combination with HTML5 and native technology

3.    What kind of testing is performed on your current mobile app testing?
Installation testing, un-Installation testing, Functional testing, Interrupt testing, performance testing, acceptance testing, compatibility testing.

4.    What is your approach while testing mobile application?
Based on the domain you can explain the strategy of the testing.

5.    What are the things specific to mobile application would be concentrated while writing test plan for mobile application?
A part from the regular test plan we will consider OS, os version, Screen size, Device type.

6.    How do you test different screen size/device?
Using Emulator

7.    What is the difference between Emulator and Simulator?
Emulator: Emulates the device based on hardware.
Simulator: Emulates the device based on software.

8.    What is Regression Testing?
Regression testing is the process of testing changes to computer programs to make sure that the older programming still works with the new changes.
The intent of regression testing is to ensure that changes such done have not introduced new faults. One of the main reasons for regression testing is to determine whether a change in one part of the software affects other parts of the software.

9.    Types of Regression testing?
 There are two types of regression testing
Final Regression testing:  A "final regression testing" is done to validate the gold master builds,
Regression testing: A "Regression testing" is done to validate the product and failed test cases between system test cycles.

10. What is Sanity testing?
When there are some minor issues with software and a new build is obtained after fixing the issues then instead of doing complete regression testing sanity is performed on that build. You can say that sanity testing is a subset of regression testing. Sanity testing is done after thorough regression testing is over, it is done to make sure that any defect fixes or changes after regression testing does not break the core functionality of the product. It is done towards the end of the product release phase.
11. What are the common challenges in mobile testing?
Lack of Physical devices
Varity of mobile devices
Different OS
Different network operators
Different screen Size.

12. What is a webservice?
It is a software component to perform a task, interface between one program and the
Other

13. Example for web serveice?
Weather forecast for a new website

14. What is ADB command?
Android Debug Bridge

15. What is command to install app in Emulator
adb install <path of the apk>

16. Regression testing should be performed
 After the software has changed or when the environment has changed.

17. How to install SDcard in Emulator?
MKSDcard –i mysdcard  1024M mysdcardFile.img

18. What is AAPT in Android?
Android Asset Packing Tool to get the packing name and details

19. How you create log file?
Using Logcat (Command: adb logcat)

20. How to take snapshots in Android?
Based on the mobile device it varies. In general we can use DDMS tool to take the snap shots

21. List few automation testing tools?
See Test
Device anywhere
Perfecto Mobile
Robitium
Monkeytalk

22.  Can QTP support Automation testing
Yes, with Perfecto/see test addin  

23. What is Video Graphics Array?
Video Graphics Array denotes a resolution to the device 
QQVGA: Resolution of 120X160 pixels
HQVQA: Resolution of 240X160 pixels
QVGA: Resolution of 320X240 pixels
HVQA: Resolution of 480X320 pixels

24. Disadvantages of Emulator?
No support for placing or receiving for actual phone calls
No support for USB Connections
No support for Camera/video capture
No support for determine battery charge level or AC charging state
No support for Bluetooth

25. Which one is good for test execution? Emulator or Physical device?
Physical Device

26. What is QWERTY/AZERTY keyboard?
Layout for letter keys and text on the keyboard

27. How to do forward compatibility testing?
      Test the mobile application with the newer versions.