Correct Answer: 1) List down usecases (taken from business cases) from function specs For each use case write a test case and categorize them into sanity tests, functionality, GUI, performance etc Then for each test case, write its workflow 2) For a GUI application - make a list of all GUI controls For each control start writing test cases for testing of the control UI, functionality (impact on the whole application), negative testing (for incorrect inputs), performance etc
2. What is GUI testing? What elements will we cover in GUI testing?
Correct Answer: In GUI testing, need to cover the customer requirement if don't have to validate Font size, colors, spellings(labels) etc Every application should follow Microsoft rules like - Controls should be Initcap (ie every label should start with Capital letter )Can observe that in Win applications every label starts with Caps - OK or Cancel button should exist - Controls should not be overlapped - Controls should be alligned properly (left side alignment is mandatory but the right side is optional) - Controls should be visible - Short cut keys should be provided - System menu should exist (ie if u press Alt key + Space bar a menu will appear at the left most corner ) - Mouse pointer events Colors, Label Names, Tab Order, Alignment, graphs , Navigation of the software to test in GUI Testing
Correct Answer: 1) List down usecases (taken from business cases) from function specs For each use case write a test case and categorize them into sanity tests, functionality, GUI, performance etc Then for each test case, write its workflow 2) For a GUI application - make a list of all GUI controls For each control start writing test cases for testing of the control UI, functionality (impact on the whole application), negative testing (for incorrect inputs), performance etc
Correct Answer: Security/penetration testing is testing how well the system is protected against unauthorized internal or external access, or willful damage This type of testing usually requires sophisticated testing techniques
6. What is the proper way of setting up an Android-powered device for app development?
Correct Answer: The following are steps to be followed prior to actual application development in an Android-powered device: - Declare your application as ?debuggable? in your Android Manifest - Turn on ?USB Debugging? on your device - Set up your system to detect your device
Correct Answer: The Google Android SDK is a toolset that developers need in order to write apps on Android enabled devices It contains a graphical interface that emulates an Android driven handheld environment, allowing them to test and debug their codes
Correct Answer: Because every component needs to indicate which intents they can respond to, intent filters are used to filter out intents that these components are willing to receive One or more intent filters are possible, depending on the services and activities that is going to make use of it
9. What is the difference between a regular bitmap and a nine-patch image?
Correct Answer: In general, a Nine-patch image allows resizing that can be used as background or other image size requirements for the target device The Nine-patch refers to the way you can resize the image: 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes
10. When is the best time to kill a foreground activity?
Correct Answer: The foreground activity, being the most important among the other states, is only killed or terminated as a last resort, especially if it is already consuming too much memory When a memory paging state has been reach by a foreground activity, then it is killed so that the user interface can retain its responsiveness to the user