简体   繁体   中英

Android Studio Espresso Test Recorder Slow

I am trying to create some Espresso UI tests using Android Studio's inbuilt Espresso Test Recorder. The issue is: when I type it is very slow to appear on the screen.

Anything text entry/keyboard-based takes a while for a single letter to appear. I have tested this on a super simple one view app vs a larger app, with the larger app having an increased delay. I have also tested it on Genymotion vs Android Studio emulators, with the same delay.

Here is a gif of the delay on the single-page app:

在此处输入图片说明

Any idea how to fix this issue?

切换到较低的 API 可能会有所帮助,因为它对我有用,并且它提高了 Espresso 测试记录的速度性能。

You should check visualization settings in Developer settings on your device.

I'm using TestProject recorder tool for android automation. Free tool, works fast

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM