iOS12之后 接口不再支持了,目前没有合适的替代方案
minitest deactivate ios12.0之后不兼容应该如何处理,有什么替代的方案吗?minitest deactivate ios 12.0之后不兼容应该如何处理,请问有什么替代的方案吗?
2023-06-26https://minitest.weixin.qq.com/#/minium/Python/api/Element?id=move [图片]
非 scroll-view 容器的滚动实现方法?page类中的scroll_to() 函数只有在 scroll-view 容器才生效吗?自定义的组件如何实现滚动滑动
2023-06-16mock 图片上传后,没看到操作小程序触发wx.chooseImage等相关接口,比如点击元素触发等 授权订阅消息弹框和图片上传不一样
mock_choose_image接口,没有触发图片上传?使用场景:点击扫码组件弹出微信订阅的弹窗,点击弹窗上的确认后(如下图),触发照片上传。代码实现如下,但是最终没有上传图片[图片] image_name = "detail_page.png" # 运行这个case时需要在本目录下有名为test.png的图片 with open(image_name, "rb") as fd: c = fd.read() image_b64data = base64.b64encode(c).decode("utf8") self.app.mock_choose_image(image_name, image_b64data) # qr = "th-view >>> bottomnavigator >>> th-view >>> th-view >>> th-image >>> image" qr = "th-view >>> bottomnavigator >>> th-view >>> th-view >>> th-view >>> view" elements = self.page.get_elements(qr) print("elements size is " + str(len(elements))) # 这个element class属性中有scan的标志 elements[11].click() self.native.allow_send_subscribe_message(True)
2023-06-16跳转到tabar页面 https://minitest.weixin.qq.com/#/minium/Python/api/App?id=switch_tab [图片]
微信小程序UI自动化测试tabbar元素怎么获取?使用的是minium框架,示例没有看到相关的 使用微信开发者中的select也看不到当前元素的属性
2023-06-13关闭支付弹窗,IDE支持。支付弹窗不支持
miniumUI自动化如何实现用模拟器进行微信支付?你好,minium做UI自动化的时候,如果进行微信支付。看官方文档可采用native类中相关函数进行微信弹窗处理。如input_pay_password()进行密码输入等。是不是该方法只能使用真机进行测试,不能使用模拟器,我尝试在模拟器中进行微信支付时,弹出了一个二维码,如果想要用模拟器进行微信支付,是否支持,以及如何操作
2023-06-12参考 https://minitest.weixin.qq.com/#/minium/Python/api/Native?id=close_payment_dialog [图片]
【minium】系统弹框如何定位关闭按钮?[图片] 如图,系统的modal弹框只有右上角的关闭按钮,请教下如何来定位这个按钮进行关闭?
2023-06-05page实例[图片]
el.call_method方法为何不生效,返回结果是none?[图片] 在elemet上调用回调函数,没有报错也没有生效,打印出result=none,哪位大神知道原因。 原本刚开始的时候是使用page里面的回调函数调用的,结果返回没有对应定义过的函数。函数是我在研发代码里找的。之后找研发沟通说他们写的代码会经过框架转换成小程序可识别的代码,所以对应的回调函数并不是代码里的函数,哪位大神知道怎么知道微信可识别的回调函数是什么
2023-06-01minium版本是?关闭工具重新执行
【minium】/【云测试】在配置minium是无法连接是什么问题?最近学校课程项目做的小程序,最后要写几个前端测试,但我在minium配置过程中出现这样的问题 请问是什么原因 [图片][图片]
2023-05-30可以 pip 装一个旧版本的 urllib3 urllib3==1.26.2
minitest -v执行后报错?[图片]
2023-05-25执行用例时,页面跳转成功没?或者没跳转完就继续执行了。看一下用例,在跳转页面后建议适当延时下再继续下一步
执行minitest的用例时经常报错WaitTimeoutError如何解决?报错详细日志如下 test_pro_resemblance_product========= INFO 2023-05-06 20:18:35,825 basenative.py wrapper 23 call BaseNative.get_start_up INFO 2023-05-06 20:18:35,825 basenative.py wrapper 27 call BaseNative.get_start_up end ERROR 2023-05-06 20:18:35,827 assertbase.py _teardown_collect 273 <bound method rerun.<locals>.wrapper.<locals>.decorator of <test_cases.test_product_details.ProductDetailsTest testMethod=test_pro_resemblance_product>> Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/minium/utils/utils.py", line 432, in get_result return fut.result(timeout) File "/usr/local/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 460, in result raise TimeoutError() concurrent.futures._base.TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/minium/framework/libs/unittest/case.py", line 39, in testPartExecutor yield File "/usr/local/lib/python3.10/site-packages/minium/framework/libs/unittest/case.py", line 125, in run self._callTestMethod(testMethod) File "/usr/local/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/usr/local/lib/python3.10/site-packages/unittestreport/core/reRun.py", line 41, in decorator run_count(count, interval, func, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/unittestreport/core/reRun.py", line 23, in run_count raise e File "/usr/local/lib/python3.10/site-packages/unittestreport/core/reRun.py", line 18, in run_count func(*args, **kwargs) File "/Users/tester/.jenkins/workspace/UI_mini_pro/test_cases/test_product_details.py", line 50, in test_pro_resemblance_product self.execute_case(path) File "/Users/tester/.jenkins/workspace/UI_mini_pro/base/base_operate.py", line 22, in execute_case self.app.go_home() File "/usr/local/lib/python3.10/site-packages/minium/miniprogram/base_driver/minium_log.py", line 131, in wrapper result = func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/minium/miniprogram/base_driver/app.py", line 482, in go_home page = self.relaunch(main_page_path) File "/usr/local/lib/python3.10/site-packages/minium/miniprogram/base_driver/minium_log.py", line 131, in wrapper result = func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/minium/miniprogram/base_driver/app.py", line 388, in relaunch page = self._change_route_async("reLaunch", url, is_wait_url_change) File "/usr/local/lib/python3.10/site-packages/minium/miniprogram/base_driver/app.py", line 564, in _change_route_async if get_result(wait_route_changed, 15): # 接口调用成功后15s内应有on app route done File "/usr/local/lib/python3.10/site-packages/minium/utils/utils.py", line 436, in get_result raise WaitTimeoutError() from ext minium.utils.utils.WaitTimeoutError
2023-05-09