测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
会员
lancelot (对酒当歌)
第 10807 位会员 / 2016-08-02
2 篇帖子 • 50 条回帖
0 关注者
10 正在关注
177 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 关于 IOS 的 monkey 测试 at 2023年08月02日

    借贴问一下,大家帮忙推荐下比较好用的 android monkey 工具😁

  • Appium1.13.0, iOS12.3.1 ,Xcode11.0 连接不上手机,请帮忙看下问题在哪? at 2019年10月05日

    也遇到楼主一样的问题😨

    [WD Proxy] Got an unexpected response: {"value":{"error":"session not created","message":"'capabilities' is mandatory to create a new session","traceback":""},"sessionId":"226942E2-886E-4293-887C-71C15863468C"}
    [W3C] Matched W3C error code 'session not created' to SessionNotCreatedError
    [XCUITest] Failed to create WDA session (A new session could not be created. Details: 'capabilities' is mandatory to create a new session). Retrying...
    [XCUITest] SessionNotCreatedError: A new session could not be created. Details: 'capabilities' is mandatory to create a new session
    [XCUITest] at errorFromW3CJsonCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:802:25)
    [XCUITest] at ProxyRequestError.errorFromW3CJsonCode as getActualError
    [XCUITest] at JWProxy.getActualError as command
    [XCUITest] Unable to start WebDriverAgent session because of xcodebuild failure: A new session could not be created. Details: 'capabilities' is mandatory to create a new session Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
    [XCUITest] Quitting and uninstalling WebDriverAgent
    [XCUITest] Shutting down sub-processes
    [XCUITest] Shutting down iproxy process (pid 2712)
    [XCUITest] iproxy exited with code 'null'
    [XCUITest] Shutting down xcodebuild process (pid 2713)
    [XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'
    [XCUITest] Removing WDA application from device
    [XCUITest] Error: Unable to start WebDriverAgent session because of xcodebuild failure: A new session could not be created. Details: 'capabilities' is mandatory to create a new session Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
    [XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
    [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
    [iOSLog] Stopping iOS log capture
    [BaseDriver] Event 'newSessionStarted' logged at 1570212696333 (02:11:36 GMT+0800 (CST))
    [MJSONWP] Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: A new session could not be created. Details: 'capabilities' is mandatory to create a new session Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
    [MJSONWP] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
    [HTTP] <-- POST /wd/hub/session 500 29009 ms - 538
    [HTTP]
    [HTTP] --> DELETE /wd/hub/session
    [HTTP] {}
    [HTTP] No route found. Setting content type to 'text/plain'
    [HTTP] <-- DELETE /wd/hub/session 404 3 ms - 57
    [HTTP]

  • pytest 基础讲解 at 2019年09月19日

    排版不太好😹
    最好能提供一份 demo 代码

  • FastMonkey iOS11 踩坑记 at 2019年08月07日


    这个问题有人遇到没😂

  • 有谁知道如何在 testng report 中格式化显示 Json 吗 at 2019年07月09日

    Allure 插入附件

    @Attachment("请求报文")
        public static String requestBody(String URL, String body) {
    
            //格式化json串
            boolean prettyFormat = true; //格式化输出
            JSONObject jsonObject = JSONObject.parseObject(body);
            String str = JSONObject.toJSONString(jsonObject,prettyFormat);
    
            //报告展现请求报文
            return URL+"\n"+str;
        }
    
        @Attachment("响应报文")
        public static String respondBody(String respond) {
            //报告展现响应报文
            return respond;
        }
    

    case 引用

    // 请求
    requestBody(SelfConfig.onlineurl + url,jsonObj.toString());
    
    
    // 响应      
    String json = response.asString();
    System.out.println("json:  "+json);
    JsonPath jp = new JsonPath(json);
    
    //测试报告展现 请求报文
    respondBody(json);
    

    报告展示

  • (无需 Root) 基于 Android Monkey 二次开发,实现高速点击的 Android Monkey 自动化工具 fastmonkey - 代号 Maxim at 2019年04月30日

    你这个问题找到原因了没,老哥

  • 接口自动化测试框架开发 (pytest+allure+aiohttp+ 用例自动生成) at 2018年09月20日

    开源吗

  • maven 运行不了 testng.xml 怎么回事 at 2018年09月14日

    解决了没

  • 接口自动化框架 (Pytest+request+Allure) at 2018年08月26日

    好厉害👍

  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日
    仅楼主可见
  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日
    仅楼主可见
  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日
    仅楼主可见
  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日
    仅楼主可见
  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日

    可以的

  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日

    ios 的我这试了下,只能抓到 UICatalog 这个 app 的页面,其他 app 的页面一抓就报错(能用 appium 的 inspector 抓到),是不是哪里操作错了😂 :

  • 基于 uiautomatorviewer 自动生成代码 (兼容 android 和 iOS) at 2018年07月03日

    刚试了下,华为的手机是可以的,苹果需要启动 appium 的 inspector 后才能抓

  • react+unittest+flask 接口自动化测试平台 at 2018年04月25日

    请问提示 请选择用例 是啥问题,找到原因了吗

  • react+unittest+flask 接口自动化测试平台 at 2018年04月25日

    请问你这个问题解决了吗,连接不上数据库,我本地其他服务都能数据库连上。。。

    额,这个默认端口是 3306,之前配置的不是这个端口。。

  • 1
  • 2
  • 下一页
  • 关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
    TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
    友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
    简体中文 / 正體中文 / English

    ©testerhome.com 测试之家   渝ICP备2022001292号
      渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司