Mobile Application Testing

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

List a few Applications APIs that you know.

*Google Map API -- lets developers embed GMaps on the webpages using JS or FlashInterface. *YouTube API -- integrate YouTube video playback functionality into websites or applications. *Amazon Product Advertising -- gives developers access to product selection and discovery. Also - Flickr, Twitter.

What is ADB command lines do you know?

*adb devises -- checking what and how many devices are connected. *adb install <name.apk> -- to install app location on PC if one device is connected. *adb shell pm list packages -- list all the packages. *adb uninstall <name.apk> -- to uninstall the app

What is .IPA file?

*iPhone Application archive file. *usually encrypted with Apple FairPlay DRM technology.

List few of OWASP Top Ten RISKS

- Activity monitoring and data retrieval risks. - Unauthorized Dialing, SMS, and Payments risks. - Unauthorized network connectivity risks.

List most popular RDAs that Industry uses

- DeviceAnywhere (DA) - Perfecto Mobile (PM)

List few of the most noticeable implementations for iOS 10 compare to iOS 9.X

- Raise to wake - Improved messages - Advance typing suggestions - Notification center - Siri

List few of a common iOS known problems?

- SW Update fails. - Stuck on Verifying Update. - Stuck on Slide to Upgrade Screen. - Stuck on Recovery mode.

List few of a common Android known problems?

- USB connection - Heating - WiFi - Flashlight - Contact photos - Memory

Web type of Mobile App

- access only with the mobile browser - designed to fit the mobile device screen - requires a keyboard to load

Hybrid

- combines both Native and Web elements - provides the best of both - wrapping HTML and creates Native-like look and feel - access through the browser on the device Ex: Amazon Appstore, Gmail, Apple Appstore, Uber

What are the challenges in Mobile Device Testing ?

- device fragmentation. - Screen size and OS fragmentation. - Localization. - Different applications types. Testing on different: device models, OS versions, Screen Resolution, Form factor

Describe how to get Logs from your devices without connecting the Phone to PC/Mac

- iOS - Diagnostic and Usage or in iOS 11 - it's Analytics and Data. - Android - third party apps that collect logs like Logcat Extreme.

Interruption Test

- incoming: calls, SMS, Notifications. - Plugged In or Out with charger (multiple times). - Device shut off. - Alarm. - App Updates reminders. - Network connection loss. - Network connection restoration.

What is ADB used for?

- installing and debugging apps - manipulate with Android device or emulator - assesses to a Unix shell that one can use to run a variety of commands.

What is Mobile Emulator?

- it used for mobile automation testing and debugging - it simulates the HW of the real device - duplicates every aspect of the original device behavior, both HW and SW - Google's Android SDK

What is iTunes?

- media player and library. - online broadcaster. - mobile device management application developed by Apple Inc.

What is Test Flight?

- online service for installation and testing the Apple applications. - developers signed up with this service to distribute the application to internal of external beta testers.

What is TestFairy used for?

- providing video of the exact test that was done - offers features for app developers

What is Mobile Simulator?

- the SW application for the personal computer - sets up the a similar environment for the original devise's OS not the HW - written on the high level language

Native

- the application that installed (or pre-installed) directly on the mobile device - build specially for the needs of various mobile OS - using platform SDK (API) - for iOS - Objective C, for Android - Java - must be installed - available as an App Ex: Google Maps, LinkedIn, Twitter

What is .APK file?

.Android Package Kit - a format used by Android OS for distribution and installation the mobile apps

What is most recent OWASP Top Ten?

1. Improper Platform Usage. 2. Insecure Data Storage. 3. Insecure Communication. 4. Insecure Authentication. 5. Insufficient Cryptography. 6. Insecure Authorization. 7. Client Code Quality. 8. Code Tampering. 9. Reverse Engineering. 10. Extraneous Functionality.

How to collect Logs from XCode on Mac?

1. Install XCode. 2. Connect iPhone to Mac. 3. Select 'Trust this Computer' on the iPhone. 4. Start XCode: Menu > Window > Devices > select your iPhone and press the arrow in the bottom right. 5. Reproduce the problem. 6. Press the arrow button and download the logs.

How to Collect Logs from iPhone without XCode?

1. open Settings App. 2. go to Privacy, then Diagnostic & Usage. 3. select Diagnostic & Usage Data. 4. locate the log for the crashed app. (it will be in format: <AppName>_<DateTime>_<Dev.Name>. 5. select the desired log > then select the entire text of the log > Copy. 6. Paste to Mail and send to the desired address.

How to collect Logs from iTunes?

1. sync your device with iTunes on your desktop. 2. look for Crash Logs in the correct directory.

Unscramble a meaning of < adb logcat *:F >

= collect fatal level logs

What is APP (application) Framework?

A software library that provides a fundamental structure to support the development of applications for a specific environment. An application framework acts as the skeletal support to build an application.

List Open Source OS(s)

Android MeeGo Lunix

What is ADB and where this option is coming from?

Android Debug Bridge - is a command line tool that lets you communicate with a device. This toolkit included in the Android SDK package.

What is Android Studio AVD?

Android Virtual Device - emulator that represents a specific Android device

List distribution and Installation Channels for .IPA package. (iPhone)

App Store, XCode, iTunes, Test Flight

What is Application APIs?

Application Programming Interface. *set of clearly defined methods of communication between various software components. *set of functions, classes, libraries or packages that interact with each other.

List types of Mobile Emulators?

Device Emulator Browser Emulator OS Emulator

List types of Mobile App Tests that are used in Industry.

Functional Testing. Performance Testing. Interruption Testing. Installation Testing. Operational Testing. Memory Leakage Testing. Security Testing.

What are the Major Networks Service Providers uses

GSM - global service for mobile communication. Based on the time division multiple access (TDMA) for transmitting signals. Have SIM cards. CDMA - code division multiple access.

By whom Mobile Simulators supplied from?

It can be provided by manufacture or another company

What is Android Studio AVD used for?

It lets you develop and test Android apps without using a physical device.

By whom Mobile Emulators supplied from?

It's generally provided by the device manufacture

In what programming language Google Android OS is developed in?

Java

What are latest Android OS name, version number and API Level?

Latest version number 9.0 Pie API 28

What Application APIs are used for?

Let developers access application services by using programming languages

List few Non Functional Tests

Load & Performance Test. Ergonomic Test ( efficiency and comfort in the working environment). Stress & Volume Test. Compatibility & Migration Test. Data conversion Test. Operation Readiness Test. Installation Test.

What are key areas of concern in Banking App Testing?

Login. Check account. Transferring money. Business report. Create E-pin.

What types of Mobile Apps do you know?

Native, Web, Hybrid

What are previous Android OS name, version number and API Level?

Naugat 7.0-7.1.2 API 24-25 Marshmallow 6.0, API-23 (all devices)

In what programming language Apple iOS is developed in?

Object-C, Swift

Describe what is "OWASP" stands for?

Open Web Application Security Project - online community which creates articles, documentation, tools and technologies in the Web App Security field

What mine Android OS name, version number and API Level?

Oreo 8.0-8.1 API 26-27

Native PROS and CONS

PROS: - Native APIs, Performance, Same environment. CONS: - Language requirements, Not Cross-platform, High level of effort.

Hybrid PROS and CONS

PROS: - cross-platform, same skills as web-development needed, improved performance. CONS: - web view limitation, native via plugins, no native UI controls, experienced developers needed.

List some of advantages and disadvantages of Mobile Emulators. (What tests can't be performed on Emulators?)

PROS: - easy to download. - possible real-time scenarios. - easy to debug application for a developer. CONS: - it is not possible to test the application on live network connectivity. - cannot guaranty the stability of the application. - memory leaking and performance issues cannot be detected. - dependency on the platform.

Web PROS and CONS

PROS: - no installation required, maintainability, cross-platform. CONS: - no native access, requires a keyboard to load, limited UI

List some of advantages and disadvantages of Mobile Simulators

PROS: - study the behavior of a system without building it. - generally accurate results. - help to find unexpected behavior of the system. - easy to perform "What-if". CONS: No support for: phone calls, USB connections, camera, Bluetooth, GPS, Accelerometer, determining connected state.

What is Remote Device Access and what is it used for?

RDA - provides testing access to a huge variety of mobile devices. - connect to the real devices remotely to test. - can be used for testing mobile websites as well as HTML5, Hybrid, and Native apps. - it used for a huge test system that requires a single operator to collect data from many different environments. - full control over the device operating system.

What is Rooting? What device this term applies to?

Same as the Jailbreaking for the Apple devices. Modification of the OS in Android devices to be able to use unofficial SW. The process of allowing users of smartphones, tablets and other devices running the Android mobile operating system to attain privileged control.

How to install a third party .APK?

Settings > (General) > Security > enable Unknown Sources

How to find Android OS version number?

Settings > About device

How to enable Developer's Options on Android?

Settings > About device > Build Number tap 7 times

How to Clear App Cache And App Data on ANDROID?

Settings > App > select the app > Storage > click on Clear Cache or Clear Data

How to find iOS version number?

Settings > General > About

How to Clear App Cache And App Data on iOS ?

Settings > General > Storage & iCloud Usage > tap Manage Storage > select the app > Documents & Data

What is Tethering?

Sharing Internet service by connecting one device to another over wireless LAN (WiFi), Bluetooth or using USB cable

Difference between FeaturePhone and SmartPhone

SmartPhone has more advanced computing compatibility than FeaturePhone. Like GPS, better camera, full web browser, flash player. The FeaturePhones are much cheaper and simpler.

What is TestFairy ?

The App that helps you to download Android apps for testing and reporting the bugs.

What is Android Studio?

The Integrated Development Environment for Android applications - designed to encompass all programming tasks in the application.

What is XCode?

The Integration Development Environment for Apple Applications

What is Mobile Operating System?

The Operating System for the phones, tablets, smart phones and other mobile devices. Its combines the features of a personal computer OS and other useful mobile features (touchscreen, GPS, Bluetooth, WiFi). OS let device run and control the most basic functions.

What is ADB Logcats?

The command-line tool that dumps a log of system messages including stack traces when the device throws an error message that was written from the app with the Log class.

What is Unlocking? What device this term applies to?

The process of modifying OS to allow the user to use another carrier's SIMcard on iPhone.

What is Jailbreaking? What device this term applies to?

The process of modifying the iOS kernels to allow to run the code which is not approved and signed by Apple. It allows user to use unofficial SW on the iPone.

What are Mobile Security threats and vulnerabilities(уязвимости)?

Threats: - trojans. - worms. - phishing (trick users to share pswd). - spyware (tracking users activities). - malware. Vulnerabilities: - sensitive data leakage. - unsafe data storage. - unsafe data transmission. - hard-coded password / keys.

Give a solution to one Android problem

USB connection problem solution: 1. Restart phone & computer. 2. Update phone. 3. Update computer. 4. Use debug mode. 5. Kill processes using task manager, and try again.

List few Functional Tests

Unit / Smoke / Sanity Integration Test Interface & Usability Test System Test Regression Test Pre-User Acceptance Test User Acceptance Test White & Black Box Test

Performance Test

Verify the performance of the SW - - with low battery. - while networking out of coverage area. - while changing the internet connection mode. - while transferring a heavy file.

List Licensed OS(s)

Windows Mobile JME - Sun Microsystem/ Oracle LiMo BrewMP - goal - is to create the standard platform of API that work similarly across multiple d.

List Proprietary OS(s)

Windows Phone Mac OS X BB QNX Web OS

List distribution and Installation Channels for .APK package.

application store (Google Play). websites. google drive. email. android studio. Test Fairy Tool. FYI - enable to allow "Unknown Sources".

Select one of iOS problems and give a solution

iOS 10 SW Update Failed Error 1. Tap in the "Close" and try again 2. Wait for a few hours or days 3. Try to update via iTunes on computer 4. For advance users: Try to update whith IPSW file

What is iOS?

mobile operating system created by Apple Inc. exclusively for its HW.

What is a reason to enable Developers option on Android?

to access to the tools for - rooting and installing other OSs - speed up device animation - fake your device GPS location - record screen activity - connect to the Integrated Development Environment


Kaugnay na mga set ng pag-aaral

ATI Skill Module 3.0 (Comprehensive Physical Assessment of An Adult)

View Set

Nutrition, Metabolism and Temperature Regulation

View Set

ACCT 302 Exam 2 Conceptual Questions

View Set