"My repository, where I post anything that I love, I learned and etc."

04 October 2020

Mobile Testing related #01

 Assalamualaikum dan Annyeong Chingu,

For this week task, I decide to read about mobile app testing to add more knowledge in order to understand more and in some way help me in having more ideas in creating test scenarios for certain features for the mobile app. So below are some part that I extract from different articles that I found good for me to know.


Things to consider while testing the mobile app :

1) If internet connection is required, does the app ask you to turn WiFi/data on if it’s not already?

2) Does the app allow user to save / upload files correctly?

3) Test the app on varied OS versions

4) Test the app on various device screen resolutions

5) Test the app whether able to be installed / uninstalled correctly

6) Interrupt testing- Able to receive the calls while running the application.

7) Compatibility testing – able to attach the photo in message from gallery

8) Test by changing the port and IP addresses to make sure the device is getting connected and disconnected properly.

9) Test by making calls and sending messages to other devices. Make calls and send messages while the app is running in the background

10) Test on different mobile browsers like Chrome/Firefox/Opera/Safari

11) Application launching without having network

12) Orientation of app if it supports

13) Testing application performance on a different kind of devices and network scenarios

14) Testing the application response how it is responding


Abbreviations :

1) apk – Android Application Package File
2) exe – Executable Files
3) iPA –iOS App Store Package
4) prc – Palm Resource Compiler
5) jad – Java Application Descriptor
6) adb – Android Debug Bridge
7) aapt – Android Asset Packing Tool


Severity of Bugs : 

Critical: Your phone system crash when testing particular feature in your device
Block: Unable to do anything though phone is on unless you reboot your device
Major: Unable to perform a function of a particular feature
Minor: Under minor bugs usually GUI bugs fall.


How to test CPU Usage on mobile apps?

Use advanced apps like CPU Monitor, CPU-Z, CPU Stats, etc. (able to record all details about the processes running on mobile devices)


What are the pre-requisites to run Appium?

* Install Eclipse
* Android SDK
* JDK (Java Development Kit)
* TestNg for Eclipse
* Selenium Server JAR
* Appium Client Library
* APK App Info - Google Play
* js (included in Current Appium versions)
* Appium for Windows


What is GPRS?

GPRS is General Packet Radio Service which works on a mobile network with the help of IP transmissions. GPRS provides the transmission of IP packets over existing cellular networks. It provides you internet services on mobile.


How can you perform A/B testing on iOS applications?

Configuration: 
Prepare 2 versions of the iOS app, namely A and B.

Define Success Metrics: 
Identify the objective and the metrics against which the success of the app will be measured.

Execution: 
Test both the versions simultaneously.

Analysis:
Evaluate and identify the better version to release.


When do you use Compatibility testing?

Compatibility testing is done to check if the app is compatible with different :

- Operating systems – (Android & iOS).
- Browsers (Chrome, Firefox, Safari, etc.).
- Devices.
- Network environments- 2G,3G,4G, WIFI.
- Internal hardware.


2 Types of Compatibility Test

1) Backward : Test the behavior of a mobile app with older versions of a software.

2) Forward : Test the behavior of a mobile app with new, developing software and beta versions.


What would you do if your app works well on some devices and crashes on others?

1) Conduct compatibility tests to analyze the application’s performance on multiple devices with different network environments. This will help in the identification of the devices on which the app crashes.

2) Try uninstalling and installing the app and if it still does not function properly, highlight the issue to the developer and suggest fixes.


What are the steps to use the Appium inspector for test automation?

1) Open simulator by clicking on the dock option.

2) Select simulator in device window.

3) Open Appium desktop and keep simulator side by side.

4) Once the inspector starts functioning, select any object on the screen to see the hierarchy and properties of the object.

5) You can select any object by clicking the Select Element button, followed by the Tap button to click on an object.

6) To enter text, press Send Key and to undo actions, press Clear.

7) All actions performed on objects are recorded in the form of a script.

8) Once done, you can copy-paste the script in eclipse editor.


No comments:

Post a Comment