Phone Application Test

Servistesin – Android Phone Testing (Step-by-Step Guide)

This document provides a step-by-step guide to set up and test the “Servistesin” application on an Android emulator (with Google Play AVD) and on a physical device. (Includes short notes for iOS at the end.)

0) Prerequisites Checklist

Windows/macOS computer (8 GB+ RAM recommended)
Latest Android Studio installed
Tester Google account (if app is in closed testing)
App package name & closed test invite link (if applicable)
Test credentials (username/password)

1) Install Android Studio

Download and install Android Studio.
Go to Android Studio > More Actions > SDK Manager.
SDK Platforms: Install Android 14 (U) or Android 15 (V).
SDK Tools: Enable Android SDK Build-Tools, Google Play services, Google USB Driver (Windows).
Go to Android Studio > More Actions > AVD Manager to set up the emulator.
Note: Android Studio may ask to install extra components during setup. Accept all.

2) Create a Google Play-Enabled Virtual Device (AVD)

Open AVD Manager > Create Virtual Device.
Select a Pixel model (e.g., Pixel 7/8/Pro).
In System Image, pick one with the Google Play badge (e.g., "Android 15 – Google Play").
Make sure it says Google Play, not just Google APIs.
Finish setup and save.
Edit (pencil icon) the AVD > Advanced Settings:
RAM: 4096 MB+
Graphics: Automatic

3) Start the Emulator & Configure Play Store

Launch the AVD.
Complete setup wizard (language, timezone).
Open Play Store and sign in with your Google account.
For closed testing, log in with the account added to the tester list.
Update Google Play services if prompted.
Adjust Settings > System > Language & Region if needed.
If Play Store is missing, you picked the wrong image. Use a Google Play-enabled system image.

4) Install Servistesin from Play Store

A) Public Release

Open Play Store.
Search for “Servistesin”.
Tap Install.

B) Closed Test (if applicable)

Make sure your account is added as a tester. If not ask it from
Open the invite link and click Join/Join the program.
If the app doesn’t appear:
Update Play Store from Settings > About.
Clear Play Store cache/data.
Wait 10–15 minutes for rollout.

5) Alternative: Install APK (Sideload)

Method 1 – Drag & Drop

Drag the app-release.apk file onto the emulator.
Confirm installation.

Method 2 – ADB Command

Run: adb install app-release.apk
Update existing: adb install -r app-release.apk
If installation fails, check CPU ABI compatibility. Emulator uses x86_64; ensure the APK supports it.

6) Launch App & Grant Permissions

Open Servistesin.
Log in with test credentials.
Allow permissions:
Location (while using / always)
Notifications

7) Simulate GPS Location

Go to Extended Controls (⋮) > Location in emulator.
Enter coordinates manually or upload a GPX route.
Start simulation and confirm app updates location.

8) Test Push Notifications

Ensure Google Play services is up-to-date.
Note: Push on emulators may be unreliable. Always confirm on a real device.
iOS simulators do not support push notifications.

9) Debugging & Logs

Open Logcat in Android Studio.
Filter logs by package name (e.g., com.servistesin).
Save logs when reporting issues.
Use Screen Record/Screenshot from emulator’s extended controls.

10) Common Issues

No Play Store: Wrong image chosen.
Device not certified: Update Google Play services.
App not visible (closed test): Accept tester invite, clear Play Store cache, wait.
No GPS update: Check app permissions & send new GPS route.
No push notifications: Try real device.

11) Smoke Test Checklist

App launches & login works.
Permissions requested properly.
Map and location display correctly.
Routes update correctly.
Push notifications received.
App works in background.
Works after network loss/reconnect.
Correct time/date shown in different regions.

12) Physical Android Device Testing

Enable Developer Options (tap build number 7 times).
Enable USB Debugging.
Run adb devices to confirm connection.
Install APK: adb install app-release.apk.
Disable battery optimization for Servistesin.
Test location & push notifications with screen off.

13) iOS Notes

Cannot install via App Store on simulator.
Use Xcode to run app on iOS Simulator.
Push notifications require real iPhone + TestFlight.
GPS simulation in Xcode: Debug > Location.

14) Best Practices

Clear app data before each test.
Use disposable accounts for role testing.
Attach logs + screenshots/videos when reporting bugs.

Version

Updated for Android Studio & Google Play Console latest workflows.



Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.