Open in app

Sign In

Write

Sign In

Shraddha Gupta
Shraddha Gupta

3 Followers

Home

About

Jan 1

Scrolling Methods In UiAutomator

UiAutomator provides UiScrollable to support scrolling and find elements in scrollable layout.It can be used for horizontal and vertical scrolling both. It provides multiple methods ,I am listing down some of the useful and frequently used methods: scrollToEnd: Scrolls till the End of the page(It can be either horizontal or…

Android

1 min read

Android

1 min read


Dec 31, 2022

Conditionally Skip Test in Android Test Suite

There might be several reasons when QA needs to skip some automation tests in the test suite.It could be skipping temporarily because of any defect ,or not supported functionality on specific api level or any other known issues. Junit provide multiple ways to achieve this goal. 1. Use JUnit’s Assume feature: We can use the…

Android

1 min read

Android

1 min read


Dec 31, 2022

Disabling Animation in Android Emulator

As Quality Engineer we need to turn off the animations sometimes in android emulator for improving performance.It might be needed in manual testing as well as in automation testing to reduce flakiness. There are multiple ways to disable animations in android emulator. Disabling animation manually via developer options: Check if developer option is enabled on your…

Android

2 min read

Android

2 min read


Dec 27, 2021

Automated Accessibility Testing Using Accessibility Test Framework In Android

Android provides an in-built framework to test accessibility in our app, called Accessibility-Test-Framework-for-Android(ATF).We can turn on accessibility checks in Espresso and Roboelectric using this framework. You can follow below steps to enable ATF in your project: In Espresso , you can add following dependency in your app’s build.gradle : dependencies…

Android

2 min read

Automated Accessibility Testing Using Accessibility Test Framework In Android
Automated Accessibility Testing Using Accessibility Test Framework In Android
Android

2 min read


Dec 25, 2021

Setting Android Emulator Pre-conditions Before Running Test Suite

When it comes to running android UI Test suite ,it’s very important to set the android emulators in correct state so that test won’t fail because emulator is stuck in some undesired state. Preconditions might vary based on your test suite , I am listing down some of the precondition…

Android

2 min read

Setting Pre-conditions in android UI tests
Setting Pre-conditions in android UI tests
Android

2 min read


Dec 20, 2020

Color ,Font ,Layout And Position Assertions In Android Espresso

As Quality engineer ,we always need to make sure that the application’s user interface is displayed as per design.In Espresso, we can verify the text color ,background color ,text font , element position ,element is truncated or wrapped properly etc. Color and font verification can be done by following these…

Espresso Testing

3 min read

Color ,Font ,Layout And Position Assertions In Android Espresso
Color ,Font ,Layout And Position Assertions In Android Espresso
Espresso Testing

3 min read


Nov 27, 2020

Clear Shared Preferences In Android Espresso Tests — Kotlin

While writing automation tests for android applications ,sometimes we need to clear all the shared preferences added during our tests. We might run into a situation where your app under test will go to screen A if it is first launch and to screen B if user has already logged…

Testing

2 min read

Clear Shared Preferences In Android Espresso Tests — Kotlin
Clear Shared Preferences In Android Espresso Tests — Kotlin
Testing

2 min read

Shraddha Gupta

Shraddha Gupta

3 Followers

Software Test Engineer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech