Skip to content
Course outline: Tools and specialisms

Module 03 · Tools and specialisms

QA in practice: mobile, databases and teams

The topics that come up once you are on a real team: mobile apps, databases, products in many languages, and the people around you.

  • 10 min read
  • Free, no sign-up

What you'll be able to do

  • Plan mobile tests: devices, screen sizes, interruptions, networks, emulators and simulators.
  • Check data with SQL: join two tables and find the rows that break a rule.
  • Use Git as a tester: clone, branch, commit and open a pull request.
  • Tell globalisation from localisation, and test a product for another region.

Mobile vs. Web App Testing

FeatureMobile App TestingWeb App Testing
UsageSoftware programs used on mobile devices.Software programs used on computers.
User BaseDeveloped for a broader range of users.Developed for a shorter range of users compared to mobile.
UpdatesNew applications downloaded from app stores.Applications updated on the website.
Responsive DesignMore complex for small screens (mobiles, tablets).Easier to code relative design for large screens (desktops, laptops).
StorageLess storage capacity; testing can be difficult.Larger storage capacity.
ConnectivityMay not require internet, but connection quality/speed matters (LTE, etc.).Generally requires an internet connection.
ComplexityMore complex due to diverse devices and functionalities.Simpler due to standardized desktop functionality.
Battery LifePerformance on full/low charge is critical; battery-draining apps get deleted.Not a concern.
ConsiderationsScreen size, OEMs (Original Equipment Manufacturers (e.g., Samsung, Apple, Google)), storage capacity, etc.Fewer device-specific considerations.
InteractionFocus on interaction with user moves, voice, environment, gestures, etc.Less focus on complex user interactions.
Tools/FrameworksAppium, Espresso, XCUITest, Xamarin, Robotium, etc.Selenium, WebLOAD, Acunetix, Netsparker, etc.
Peripheral TestingTablets, smartwatches, fitness trackers, medical devices.Mouse, webcams, game controllers, keyboards.

Mobile Testing Challenges

  • Multitude of Mobile Devices
  • Device Fragmentation & Various OS Platforms
  • Different Mobile App Types
  • Numerous Test Interfaces
  • Variety Of Testing Tools

Types of Mobile Applications

Native: Built in a specific language (Swift/Objective-C (Primary languages for iOS development) for iOS, Java/Kotlin (Primary languages for Android development) for Android) for a specific platform.

Hybrid: Designed for multiple platforms using standard web languages (HTML5, JavaScript, C#) and compiled. Uses plugins for device-specific interactions.

Browser-based (Web App): Runs inside a mobile web browser, essentially a website optimized for mobile.

Emulator vs. Simulator

Simulator: Models an environment to mimic behavior without replicating hardware. Used for analysis and study, showing how the device *would* work. Doesn't exactly follow real environment activity.

Emulator: Software allowing one system (host) to imitate another (guest), including hardware, by translating the Instruction Set Architecture (ISA) (The part of the computer architecture related to programming, including the native data types, instructions, registers, addressing modes, memory architecture, interrupt and exception handling, and external I/O.).

Analogies & Examples

Simulator Analogy (Flight Simulator): Replicates flying experience (software behavior) but not the actual hardware mechanics.

Simulator Example (iOS Simulator): Mimics iPhone/iPad appearance/functionality. Faster but limited for hardware features (Bluetooth, push notifications).

Emulator Analogy (Arcade Emulator): Replicates old game software *and* hardware (CPU, memory) on a modern computer.

Emulator Example (Android Emulator): Replicates Android hardware/software, allowing testing of camera, GPS, network conditions.

Comparison

AspectEmulatorSimulator
DefinitionReplicates hardware and software.Models software behavior only.
PurposeTesting hardware-specific features, close replication.Testing app functionality without precise hardware replication.
AccuracyHigh-fidelity reproduction including hardware.Generalized environment focused on software.
PerformanceCan be slower due to hardware emulation.Often faster, focuses on software behavior.
Hardware InteractionSupports testing GPS, camera, network, etc.Limited or no support for hardware features.
Use CasesFirmware, OS features, hardware-dependent apps.UI/UX, basic functionality testing in development.
ExampleAndroid EmulatoriOS Simulator

Mobile Application Test Types

Hardware Compatibility

Testing across various device hardware configurations (CPU, RAM, etc.).

Device Features

Verifying functionality of integrated features like Camera, GPS, Bluetooth, NFC.

Display Variations

Ensuring proper rendering on different screen sizes and resolutions.

Device Temperature

Monitoring app performance under varying thermal conditions.

Input Sensors

Testing interaction with accelerometer, gyroscope, proximity sensors, etc.

Input Methods

Validating touch gestures, voice commands, and external keyboard inputs.

Screen Orientation

Checking layout and functionality during portrait and landscape mode changes.

Interrupt Handling

Testing app behavior during incoming calls, SMS, notifications, low battery warnings.

Permissions

Verifying correct handling of access permissions to device features.

Power Consumption

Analyzing battery usage and app behavior in different power states (charging, low battery).

OS Interactions

Testing interactions with device software like settings, contacts, calendar.

Notifications

Validating push notifications and in-app notification behavior.
Testing deep links and shortcuts.

User Preferences

Ensuring the app respects OS-level user preferences (font size, accessibility settings).

App Type Specifics

Addressing unique testing needs for Native, Hybrid, and Web mobile apps.

Interoperability

Testing compatibility across different platforms and OS versions.

Co-existence

Ensuring the app functions correctly alongside other installed applications.

Connectivity

Testing performance on WiFi, various cellular networks (3G, 4G, 5G), and offline scenarios.

Installation & Updates

Verifying smooth installation, uninstallation, and update processes.

Stress Testing

Pushing the app beyond normal operational capacity to identify breaking points.

Security Testing

Identifying vulnerabilities related to data storage, transmission, and authentication.

Performance Testing

Measuring responsiveness, stability, and resource utilization under various loads.

Usability Testing

Evaluating the ease of use and overall user experience.

Database Testing

A type of software testing that checks the schema, tables, triggers, etc., of the database. It also checks data integrity and consistency and may involve creating complex queries to load/stress test the database and check its responsiveness.

Coverage Includes:

  • Testing data integrity
  • Checking data validity
  • Performance checks
  • Triggers and Functions
  • Testing various procedures

Types of Database Testing:

  • Structural Testing: Verifies elements inside the data repository (schema, tables, etc.) not directly operated by users. Requires SQL knowledge.
  • Functional Testing: Authorizes functional requirements from the end-user's perspective (transactions, operations).
  • Non-functional Testing: Includes Load, Stress, Security, Usability, and Compatibility testing.

SQL for testers

The screen shows what the application chose to show; the database shows what it really stored. With a few lines of SQL a tester can check the stored data against the rules, for every record at once. Imagine the orders of Cedar Books, the Academy's practice shop, kept in two tables: orders (one row per order: id, account, subtotal, discount, delivery, to_pay) and order_lines (one row per book in an order: order_id, title, price, qty).

Does each order's subtotal equal the sum of its lines? This query lists the orders where it does not:

SELECT o.id, o.subtotal, SUM(l.price * l.qty) AS lines_total
FROM orders o
JOIN order_lines l ON l.order_id = o.id
GROUP BY o.id, o.subtotal
HAVING o.subtotal <> SUM(l.price * l.qty);

JOIN pairs each order with its lines, GROUP BY gathers the lines of each order, SUM adds them up, and HAVING keeps only the orders that disagree. A query that returns no rows is a passing check. Two more of the same kind:

-- The amount paid follows from the parts.
SELECT id, subtotal, discount, delivery, to_pay
FROM orders
WHERE to_pay <> subtotal - discount + delivery;

-- An order with no lines at all should not exist.
SELECT o.id
FROM orders o
LEFT JOIN order_lines l ON l.order_id = o.id
WHERE l.order_id IS NULL;

The second query uses LEFT JOIN, which keeps every order even when it has no lines; the lines' columns are then empty (NULL), so WHERE l.order_id IS NULL finds the orphans. One rule above all: a tester reads with SELECT. In a shared or live database, never run UPDATE or DELETE to make a test pass.

Globalization vs. Localization

Globalization Testing (G11N): Ensures an application can function correctly in *any* cultural or local environment without requiring code changes. This involves testing support for multiple languages, date/time formats, currencies, and character sets. Example: Facebook supporting numerous languages globally.

Localization Testing (L10N): Verifies that an application has been adapted for a *specific* target geographical region and culture. This includes checking language translation accuracy, cultural appropriateness of UI elements, local conventions (like address formats), and regulatory compliance. Example: A website tailored specifically for the Chinese market (like QQ.com).

Why test G11N/L10N? To ensure a positive user experience, avoid cultural misunderstandings, meet market expectations, and comply with local regulations, ultimately expanding the application's reach and usability.

Worked example · Cedar Books

Mobile and localisation checks on Cedar Books

Cedar Books is a web shop, so on a phone it is a browser-based mobile app: no install, but every check of a small, touch-driven, often interrupted device still applies. Here is what to try on it:

Mobile checks on Cedar Books
CheckOn Cedar BooksWhy
Narrow screensEvery page from 320 px wide, with no sideways scrolling (NFR-05)Phones are where many shoppers browse
TouchApply, Add to basket and the pager are big enough to tap; nothing needs a mouse hoverA finger is wider than a pointer
OrientationThe basket and the checkout in portrait and in landscapeLayouts break when the width changes
InterruptionsA call or another app during payment: the basket and the form survivePhones interrupt; desktops rarely do
Slow networksCheckout on a throttled connection; the slow-bank card shows its message after 10 seconds (REQ-07)Mobile networks are slow and patchy
KeyboardsThe quantity field opens the number keypadThe right keypad saves taps and mistakes

Try them on a real phone and in an emulator: the emulator is quick and repeatable, the phone shows what fingers, real networks and interruptions do.

Cedar Books sells in English only, with plain prices and no currency sign. Before it sells in another country, it needs localisation checks:

Localisation checks Cedar Books would need
CheckExampleWhy
Dates31 Dec 2024 in the UK, 12/31/2024 in the US, 31.12.2024 in GermanyThe same digits can mean different days
Numbers and money19.00 in English, 19,00 in French or German, with the currency sign before or afterA wrong separator changes an amount
Text length"Add to basket" becomes "In den Warenkorb legen" in GermanLonger words must still fit their buttons
DirectionArabic and Hebrew read from right to left, so the whole layout mirrorsIcons and arrows must turn too
Accents and alphabetsTyping "Zahle" finds a title with "Zahlé" (REQ-02)Search and sorting must handle every alphabet

Globalisation testing makes sure the shop can take any of these without a code change; localisation testing checks each country's version once it exists: its translations, formats and local rules.

Try it: The exploratory session lab · The keyboard lab

Typical Software Team Roles

  • Business Analyst: Understands business processes, translates needs into requirements.
  • Product Owner: Holds product vision, ensures product meets customer requirements.
  • Project Manager: Ensures delivery on time/budget, manages and motivates the team.
  • UX/UI Designer: Creates user-friendly designs and user journeys.
  • Software Architect: Designs high-level architecture, selects tools/platforms, sets code standards.
  • Software Developer: Engineers and stabilizes the product, solves technical problems.
  • Software Testing Engineer: Ensures application performs to requirements, finds defects.
  • Test Automation Engineer: Designs automation ecosystem, writes/maintains test scripts.
  • DevOps Engineer: Facilitates Dev/Ops cooperation, builds CI/CD pipelines.

Improving Dev & QA Communication

  • Ensure Clear Requirements & Goals
  • Build Empathy Across Teams
  • Pair Testers with Developers
  • Consistent & Constructive Feedback
  • Emphasize “Test First” Approach
  • Cross-Train Teams
  • Leave Work-Related Ego
  • Be Realistic
  • Be Specific
  • Be Organized
  • Prioritize the Project
  • Be Patient
  • Share Ideas (Not Dictate)
  • Accept Human Error
  • Value Teamwork
  • Utilize Agile & Pair Testing
  • Listen Carefully
  • Slow Down Speaking
  • Be Diplomatic
  • Understand Body Language
  • Write Graciously
  • Converse Efficiently
  • Attend to Clients Promptly
  • Rotate Information

JIRA for Project Management

JIRA is a software application from Atlassian used for issue tracking and project management, widely adopted by agile development teams to track bugs, stories, epics, and other tasks.

Key Aspects:

  • Projects: Manage defects effectively within project contexts.
  • Issues: Track and manage defects, tasks, stories, etc.
  • Workflow: Process the issue/defect life cycle (e.g., Open → In Progress → Resolved → Closed).
  • Search: Find issues easily using basic search, filters, or JQL (JIRA Query Language - a powerful way to search for issues in JIRA.).
  • Dashboards: Customizable display of project metrics, assignments, and issue status using gadgets.

Benefits:

  • Plan, Track and Work Faster
  • Central source of information
  • Organize documentation tasks
  • Track progress and meet deadlines
  • Measure time spent
  • Provide feedback faster

Usage as QA:

  • Creating issues (bugs, tasks)
  • Searching and filtering issues
  • Tracking workflow status
  • Understanding main fields and templates
  • Viewing dashboards for progress

Git for testers

Automated tests are code, and teams keep code in Git: a record of every change, who made it and why. A tester who adds tests works the way developers do. Say you want to add the coupon tests and the basket page object for Cedar Books to your team's test repository:

git clone https://github.com/your-team/cedar-books-tests.git
cd cedar-books-tests
git switch -c add-coupon-tests

# write tests/basket-page.ts and tests/coupons.spec.ts, then:
git status
git add tests/basket-page.ts tests/coupons.spec.ts
git commit -m "Add coupon tests with a basket page object"
git push -u origin add-coupon-tests
  • clone copies the repository, with its whole history, to your computer.
  • switch -c (or the older checkout -b) starts a branch: your own line of work, apart from main.
  • status shows what you changed; add picks the files for the next commit.
  • commit records the change with a message that says what it does.
  • push sends the branch to the shared repository.

Then open a pull request on GitHub (a merge request on GitLab): a request to merge your branch into main. A teammate reviews the tests, the pipeline runs them, and when both are happy the branch is merged. Before you start the next piece of work, run git switch main and git pull, so you begin from the latest version. If two people changed the same lines, Git reports a conflict: you choose what the lines should say, then commit again.

Helpful Resources

Sign in to keep your progress: a tick here lives in this browser only.

Test yourself

Quiz: Mobile, databases and teams

10 questions, about 8 minutes. Sign in to take the quiz.

Sign inRequest accessStart freeGet started

10 questions, about 8 minutes, no time limit. 7 right answers pass, and passing marks the lesson as read. Every new quiz draws new questions.

Put the lessons to work on a real site

Describe a user journey in plain English. QAIA walks it in a real browser and hands back the test cases, the automation code and the evidence of every step.