Making Your Appium Tests Fast and Reliable - Part 7(Disabling Animations)

February 26, 2026 · 8 min read · Tool Comparison

HeadSpin Platform
Automated & amp; manual testing made easy through datum science brainstorm.
Differentiating potentiality:
  • Extensive end-to-end mechanization of QA process
  • Comparative analysis of app performance against equal
  • Continuous monitoring of app performance using man-made data for higher availability of apps
  • Easy-to-use developer friendly program
cloudtest go
Low-priced Existent Device Testing for Emerging Teams
cloudtest go
Low-priced Existent Device Testing for Digital Enterprises
cloudtest go
The Ultimate Solution for a Powerful Blend of Functional & amp; Performance Testing!
cyol
TEM
New
Centralized mobile test executing in cloud
cyol
Enhance Your Accessibility Testing With HeadSpin
cyol
Automate camera-based testing

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

retail

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

Making Your Appium Tests Fast and Reliable - Disabling AnimationsMaking Your Appium Tests Fast and Reliable - Disabling Animations

Making Your Appium Tests Fast and Reliable - Part 7 (Disabling Animations)

Published on
July 11, 2018
Updated on
Published on
May 31, 2022
Updated on
 by 
 Jonathan LippsJonathan Lipps
Jonathan Lipps
This article is the seventh in a multi-part serial on trial speed and reliability, inspired by a webinar I gave on the like subject (you canwatch the webinar here). You might also want to ascertain out the previous episodes on,,,,, and.

The best nomadic apps are contrive not only to function well, but also to look good. Beyond the importance of a truly & quot; usable & quot; UI, eye candy sprinkled judiciously throughout your app has the potential to make it stand out and give that extra bit of delight to your human users. This eye candy, tasty though it might be for us world, is completely wasted on Appium. Appium is a completely non-aesthetically-inclined robot, and doesn & # x27; t care whether your app is skeuomorphic, materialed-out, or chock full of whatever weird animations the kids are into these days.

The last point is especially salient: animations guide clip. And unless you & # x27; re straightaway trying to test those vitality, the time spent waiting for them to finish is completely useless. Actually, it & # x27; s worse than that! Animations can add instability to your try by creating race conditions (the kind you hold to work around utilizeexplicit postponementor similar). Finally, animations conduct up precious CPU, which can also end up reducing the reliableness of your device under test. What would be great is if we could simply do away with them entirely when Appium is running its tests, since they function no utilitarian purpose. And we can!

Disabling Default or System Animations

Pro tip: Tools like SUSA can handle this autonomously — upload your app and get results without writing a single test script.

If you do some spelunking on the internet, you & # x27; ll find lots of clause on disabling invigoration for Android devices. They usually imply a series of manual steps involving turning on developer manner, and tap through a caboodle of menu. This is fine if you don & # x27; t mind manually interacting with your earphone or copycat, but frequently it & # x27; s better to do things programmatically, if possible. Luckily, we can make the magic happen with a set ofadb commands:

adb shell settings put global window_animation_scale 0 adb carapace settings put globular transition_animation_scale 0 adb shell settings put ball-shaped animator_duration_scale 0

These commands act on ape and existent device, without requiring root. Basically, they walk through each of the scheme animation holding and set their value to0, entail we want to turn them off entirely. (To reset the settings to the default, we can run the same commands with a value of1in each case).

If you run these commands, then interact with your twist, you & # x27; ll notice that there are no more visible transitions between apps, etc ... Congratulations, you hurry up your Android experience!

On iOS, we & # x27; re not in quite as fortunate a situation. Wecanreduce system life somewhat, but we can & # x27; t turn them off completely, and we can & # x27; t even cut them programmatically -- -at least not very quickly. The way to & quot; disable & quot; animations on iOS is as follows:

  1. Open Settings
  2. Tap & quot; General & quot;
  3. Tap & quot; Accessibility & quot;
  4. Tap & quot; Reduce Motion & quot;
  5. Flip the permutation to & quot; On & quot;

As you can narrate by the name of the setting we & # x27; re cover with, we & # x27; re entirely & quot; trim & quot; the motion involve in certain transitions on the twist. Since this all takes place in the Settings app, we can actually use Appium to take these steps by publish an Appium script to notice and tap the appropriate elements. However, doing so would obviate any welfare of clip salve due to minimized animations, unless you have a lot of test and can do this entirely one time in the device apparatus procedure before testing begins.

Disabling App-Specific or Custom Animations

Disabling system-wide life is a full idea, but this doesn & # x27; t always catch every type of animation. Apps can define their own animations, too. To deal with your app specifically, we can make use of a tip (once again cater by long-time Appium Pro readerWim) that involves custom app logic based on whether your app is being built for try. Thisdoesmean you & # x27; ll necessitate the power to commit codification to the app itself, or ask the app developer to do this.

Here & # x27; s how it works: most animation libraries and methods take a timing argument, which specifies how long the animation is meant to direct. What we want to end up with is a habitus of the app where each of those timings is set to be zero. I won & # x27; t show codification examples for how to do this, because it depends on your app platform and framework (iOS, Android, React Native, etc ...), but for example have a face at Apple & # x27; s documentation for theUIViewPropertyAnimator. The initmethod takes aTimeInterval.

Basically, the outcry to a method like this should be enclose in another function which checks to see if the app is in testing fashion (via some internal iris or environment variable; it & # x27; s up to you). If it is, the role will return zero for any clip separation. Otherwise, it will revert the developer-specified value for that animation. The net result will be that all your animations will take no time at all, effectively disabling them completely. Depending on your app framework, you might be able to come up with an even simpler and more elegant solvent than this sketch.

By disabling all possible animations using these two case of technique, you & # x27; ll relieve a lot of time and add a bit of reliability back into your build. How much time you relieve depends on your app and how it uses animations, but every 2d you shave off your tests is a 2nd trim off your developer cycle as a whole, which brings benefits to everyone that relies on your build.

Author & # x27; s Profile

Jonathan Lipps

LinkedIn
Author & # x27; s Profile

Piali Mazumdar

Lead, Content Marketing, HeadSpin Inc.

Piali is a dynamical and results-driven Content Marketing Specialist with 8+ geezerhood of experience in crafting engaging narratives and marketing collateral across diverse manufacture. She surpass in cooperate with cross-functional squad to develop innovative content strategies and render compelling, authentic, and impactful content that resonates with prey audiences and enhances brand authenticity.

LinkedIn

Making Your Appium Tests Fast and Reliable - Part 7 (Disabling Animations)

4 Parts

regression intelligence blog
-

Regression Intelligence practical guide for advanced users (Part 3)

Coming Soon
Regression Intelligence practical guide for advanced users
-

Regression Intelligence pragmatic guide for advanced exploiter (Part 4)

Coming Soon

Discover how HeadSpin can empower your job with superior testing capableness

Our Platform enables you to:
accelerate time-to-market
Accelerate time-to-market, gaining a private-enterprise edge
faster development cycles
Boost developer/QA productivity with faster development cycles
automated buil-over-build regression testing
Automate build-over-build fixation testing for consistent results
gain better visibility into functional & performance issues
Gain better visibility into functional and performance issues
reduce mean time
Reduce mean time to identify/resolve during test, QA, and product
evaluate audio, video & qoe
Evaluate audio, picture, and content quality of experience (QoE) effortlessly
The trusted choice for global enterprises
Adobe
Hargreaves Lansdown
Truecaller
Crazylabs
Nedbank
Numeracle
Veryon
Close

Discover how HeadSpin can authorize your business with superior testing capabilities

Our Platform enable you to:
accelerate time-to-market
Accelerate time-to-market, gaining a competitive edge
faster development cycles
Boost developer/QA productivity with faster development cycles
automated buil-over-build regression testing
Automate build-over-build regression testing for consistent solvent
gain better visibility into functional & performance issues
Gain better visibleness into functional and execution issues
reduce mean time
Reduce mean clip to identify/resolve during test, QA, and product
evaluate audio, video & qoe
Evaluate audio, picture, and contented lineament of experience (QoE) effortlessly
The sure choice for ball-shaped enterprises
Close

Discover how HeadSpin can empower your business with superior prove capabilities

Our Platform enables you to:
accelerate time-to-market
Accelerate time-to-market, gaining a competitive edge
faster development cycles
Boost developer/QA productivity with faster growing cycles
automated buil-over-build regression testing
Automate build-over-build regression testing for consistent results
gain better visibility into functional & performance issues
Gain best visibility into functional and execution issues
reduce mean time
Reduce mean clip to identify/resolve during test, QA, and production
evaluate audio, video & qoe
Evaluate sound, picture, and content caliber of experience (QoE) effortlessly
The trusted choice for global enterprises
Close

Connet Now

Wipro LogoVMLYR Logo
Close
Book a Meeting
Products
footer down arrow
Solutions
footer down arrow
Industries
footer down arrow
Features
footer down arrow
Support
footer down arrow
Resource Center
footer down arrow
Why Choose HeadSpin?
footer down arrow
Copyright © 2026 HeadSpin, Inc. All Rights Reserved.

Automate This With SUSA

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

Try SUSA Free

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