- minimu自动化,报错uiautomator screen failed是什么意思?
ERROR 2019-11-11 16:40:26,605 uidevice.py screen_shot 214 uiautomator screen failed Traceback (most recent call last): File "c:\python37\lib\site-packages\minium\native\lib\at\core\uidevice.py", line 211, in screen_shot res = self.jd.request_at_device("screen", [float(scale), quality, max_idle]) File "c:\python37\lib\site-packages\minium\native\lib\at\core\javadriver.py", line 338, in request_at_device return self.request_action(self.ACTION_AT_DEVICE, method, params) File "c:\python37\lib\site-packages\minium\native\lib\at\core\javadriver.py", line 326, in request_action return self.request_java(action, params) File "c:\python37\lib\site-packages\minium\native\lib\at\core\javadriver.py", line 397, in request_java return self.do_request(action, http_params, **kwargs) File "c:\python37\lib\site-packages\minium\native\lib\at\core\basedriver.py", line 174, in do_request ret = self.request(method.lower(), url, http_params, timeout=timeout, **kwargs) File "c:\python37\lib\site-packages\minium\native\lib\at\core\basedriver.py", line 182, in request self._check_env() File "c:\python37\lib\site-packages\minium\native\lib\at\core\basedriver.py", line 167, in _check_env raise RuntimeError(u"远程服务开启失败,或者提前被中断, %d", id(self))RuntimeError: ('远程服务开启失败,或者提前被中断, %d', 195398512)
2019-11-11 - mininum编辑,self.native.input_text()运行页面不是native的可用?
用的真机运行,self.native.input_text("456")不是native的页面可以用这个方法吗?
2019-11-11 - minium自动化,先给输入框写入数据,下面几个方法都不能实现,不知道怎么做了?
self.native.input_text("456") name.trigger("bindKeyInput", {"value": "测试"}) name.trigger("bindinput", {"detail": {"value": "测试"}}) self.page.call_method("bindKeyInput", {"detail": {"value": "测试"}}) minium.BaseElement.call_method("bindKeyInput", {"detail": {"value": "测试"}}) name.value="测试"
2019-11-08 - minium自动化,文档不完整,我想参照方法都没有,特别坑,进行不下去了?
如下图,例子都没有,我写这行就是错 [图片] [图片]
2019-11-07 - mininum编辑,输入框不外显值,后期提交验证问题?
下单操作,输入了name,phone,icard 提交的的时候提示了“请输入姓名”,我们会检验是否输入的,这种情况怎么办 [图片] [图片]
2019-11-06 - minium框架小程序,.e.trigger()赋值无效?
2号和3号都注销掉,1号能正常执行, e.trigger("bindinput", {"inner_text": "123"})语句无效,不能赋值。。。。555 调试发现,值还是以前的“请输入真实姓名” [图片]
2019-11-06 - minium编辑,为啥模拟器运行会报错,真机运行就不报这个错呢,.click()方法?
[图片]
2019-11-06 - mininum编辑,真机运行报错?
真机运行的时候为什么老友这个报错呢 [图片]
2019-11-05 - mininum编辑,真机运行,self.native.input_text("456")方法报错?
[代码]我的页面是h5的[代码] [代码] [代码] [代码]self.app.get_current_page().get_elements("input.content")[1].click()[代码] self.native.input_text("456")[图片] 错误堆栈Traceback (most recent call last): File "c:\python37\lib\unittest\case.py", line 59, in testPartExecutor yield File "c:\python37\lib\unittest\case.py", line 615, in run testMethod() File "E:\minium\dujiaprogram-test\TestCase\dj_group_singleresourcetest.py", line 28, in test_dj_group_singleresource self.native.input_text("456") File "c:\python37\lib\site-packages\minium\native\minative\androidnative.py", line 65, in input_text self.at.e.edit_text().enter(text,is_click=False) File "c:\python37\lib\site-packages\minium\native\lib\at\core\element.py", line 635, in enter return self.action("setText", [text, is_clear_text, is_click]) File "c:\python37\lib\site-packages\minium\native\lib\at\core\element.py", line 476, in action return self.jd.request_ui_selector(self._selectors, method, params) File "c:\python37\lib\site-packages\minium\native\lib\at\core\javadriver.py", line 391, in request_ui_selector return self.do_request(action, http_params) File "c:\python37\lib\site-packages\minium\native\lib\at\core\basedriver.py", line 174, in do_request ret = self.request(method.lower(), url, http_params, timeout=timeout, **kwargs) File "c:\python37\lib\site-packages\minium\native\lib\at\core\basedriver.py", line 182, in request self._check_env() File "c:\python37\lib\site-packages\minium\native\lib\at\core\basedriver.py", line 167, in _check_env raise RuntimeError(u"远程服务开启失败,或者提前被中断, %d", id(self)) RuntimeError: ('远程服务开启失败,或者提前被中断, %d', 198740736)
2019-11-05 - mininum连接真机运行报错?
连接真机运行报错 [图片]
2019-11-04