如何更改使用Robotium Android设置字体? [英] How to change the font in android settings using Robotium?

查看:141
本文介绍了如何更改使用Robotium Android设置字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从媒体字体大小在Android设置通过Robotium改为大或过小?如果是这样,怎么样?谢谢!

Can I change font size from medium to large or tiny in Android Settings via Robotium? If so, how? Thanks!

推荐答案

我当然相信 Robotium 不提供此功能。 Robotium 是仪表测试框架,这是接近你的应用程序的用户界面,因此,如果您的应用没有在自己的接口提供此功能, Robotium 不会这么做。

I'm certainly sure that Robotium doesn't provide this feature. Robotium is an instrumentation test framework, which is close to your app's UI , so if your app doesn't provide this feature in its own interface, Robotium won't do it.

虽然,最近我读到有关谷歌的UI测试框架 uiautomator ,它似乎有此功能。为了证明这一假设阅读

Although, lately I'd read about Google's UI test framework uiautomator and it seems to have this feature. To prove that assumption read this

<一个href=\"http://stackoverflow.com/questions/33351750/android-es$p$psso-test-for-lock-screen-main-screen\">Android: ES preSSO测试锁屏/主屏幕

http://qathread.blogspot.com/2015/05/es$p$psso-uiautomator-perfect-tandem.html

所以,请尽量找出更多关于这个 uiautomator 框架,这可能是很好的补充,现有的 Robotium 测试

So please try to find out more about this uiautomator framework which might be great addition to your existing Robotium tests.

这篇关于如何更改使用Robotium Android设置字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆