How to Test Bottom Navigation on Android (Complete Guide)

Bottom navigation is a crucial component of many Android apps, providing users with easy access to main app features. However, if not properly tested, it can lead to a poor user experience, resulting

March 26, 2026 · 3 min read · How-To Guides

Why Bottom Navigation Testing Matters

Bottom navigation is a crucial component of many Android apps, providing users with easy access to main app features. However, if not properly tested, it can lead to a poor user experience, resulting in frustrated users and negative reviews. Common failures include:

These issues can have a significant impact on user engagement and retention, making thorough testing of bottom navigation essential.

What to Test

The following test cases cover various scenarios to ensure comprehensive testing of bottom navigation:

+ Successful navigation to each main feature

+ Correct display of navigation items

+ Navigation item selection and deselection

+ Handling of network errors during navigation

+ Behavior when a navigation item is not available (e.g., due to permissions or login issues)

+ Error messages and handling for invalid navigation attempts

+ Navigation behavior with multiple fragments or activities

+ Handling of screen rotations and different screen sizes

+ Navigation item behavior with different languages or locales

+ Navigation item accessibility for screen readers (e.g., TalkBack)

+ High contrast mode and color inversion support

+ Navigation item size and touch target size for users with motor disabilities

Manual Testing Approach

To manually test bottom navigation, follow these steps:

  1. Launch the app and navigate to the main screen with bottom navigation.
  2. Verify that all navigation items are displayed correctly and are responsive to touch events.
  3. Test each navigation item by selecting and deselecting it, ensuring that the correct feature is displayed.
  4. Rotate the screen and test navigation item behavior in different orientations.
  5. Test navigation item behavior with different languages or locales.
  6. Use the screen reader (e.g., TalkBack) to verify that navigation items are accessible.
  7. Enable high contrast mode and color inversion to verify that navigation items are still accessible.
  8. Test navigation item behavior with different network conditions (e.g., offline, slow network).

Automated Testing Approach

For automated testing of bottom navigation on Android, you can use tools like Appium or Espresso. Here's an example of how to use Appium to test navigation item selection:


// Import necessary libraries
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.android.AndroidDriver;

// Set up the Appium driver
AppiumDriver<MobileElement> driver = new AndroidDriver<>(new Url("http://localhost:4723/wd/hub"), capabilities);

// Find the navigation item and click it
MobileElement navigationItem = driver.findElement(By.id("navigation_item_id"));
navigationItem.click();

// Verify that the correct feature is displayed
assert driver.findElement(By.id("feature_id")).isDisplayed();

You can also use Espresso to test navigation item behavior:


// Import necessary libraries
import androidx.test.espresso.Espresso;
import androidx.test.espresso.action.ViewActions;
import androidx.test.espresso.assertion.ViewAssertions;
import androidx.test.espresso.matcher.ViewMatchers;

// Find the navigation item and click it
Espresso.onView(ViewMatchers.withId(R.id.navigation_item_id))
        .perform(ViewActions.click());

// Verify that the correct feature is displayed
Espresso.onView(ViewMatchers.withId(R.id.feature_id))
        .check(ViewAssertions.matches(ViewMatchers.isDisplayed()));

To integrate automated tests with CI/CD pipelines, you can use tools like GitHub Actions or JUnit XML.

How SUSA Tests Bottom Navigation Autonomously

SUSA, an autonomous QA platform, tests bottom navigation using various user personas, including:

SUSA also auto-generates Appium and Playwright regression test scripts, ensuring that bottom navigation is thoroughly tested and any issues are caught early in the development process. With SUSA, you can ensure that your app's bottom navigation is robust, accessible, and provides a seamless user experience.

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free