关于adb测试江湖风云录心得

本文介绍了使用MonkeyRunner进行adb测试的经验,探讨了在江湖风云录游戏中自动化测试的挑战,包括反模拟问题和脚本编写。通过示例脚本展示了MonkeyRunner如何执行触摸、拖动等操作,并分享了在循环执行时遇到的问题和软件测试的心得。
摘要由CSDN通过智能技术生成

当初一心想用monkrunner录制一个循环打怪,可是发现似乎并不通,江湖风云录有是反模拟,项虚拟机或用电脑qtp录制似乎也不太可能,好吧,一个半成品from com.android.monkeyrunner import MonkeyRunner as mr from com.android.monkeyrunner.recorder import MonkeyRecorder as recorder device=mr.waitForConnection() recorder.start(device)
先是启动浏览器然后直接用monnkrunner运行前有个调试脚本`#!/usr/bin/env monkeyrunner

Copyright 2010, The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the “License”);

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值