51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1109|回复: 2
打印 上一主题 下一主题

请问一下 appium 为什么定位弹窗要 2 分钟

[复制链接]
  • TA的每日心情
    无聊
    4 天前
  • 签到天数: 530 天

    连续签到: 2 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2022-1-6 10:08:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    1测试积点
    1. [HTTP] {"using":"-android uiautomator","value":"className(\"android.widget.TextView\").text(\"确定\")"}
    2. [debug] [W3C (f723f65b)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","className(\"android.widget.TextView\").text(\"确定\")","f723f65b-5118-4648-ac12-c6db20730ba4"]
    3. [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
    4. [debug] [BaseDriver] Waiting up to 0 ms for condition
    5. [debug] [WD Proxy] Matched '/element' to command name 'findElement'
    6. [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9/element] with body: {"strategy":"-android uiautomator","selector":"className(\"android.widget.TextView\").text(\"确定\")","context":"","multiple":false}
    7. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    8. [HTTP] {}
    9. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    10. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    11. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    12. [HTTP]
    13. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    14. [HTTP] {}
    15. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    16. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    17. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    18. [HTTP]
    19. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    20. [HTTP] {}
    21. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    22. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    23. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 3 ms - -
    24. [HTTP]
    25. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    26. [HTTP] {}
    27. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    28. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    29. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 3 ms - -
    30. [HTTP]
    31. [debug] [WD Proxy] Got response with status 200: {"sessionId":"9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9","value":{"ELEMENT":"00000000-0000-08f2-ffff-ffff000002c2","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-08f2-ffff-ffff000002c2"}}
    32. [debug] [W3C (f723f65b)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-08f2-ffff-ffff000002c2","ELEMENT":"00000000-0000-08f2-ffff-ffff000002c2"}
    33. [HTTP] <-- POST /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element 200 20425 ms - 137
    34. [HTTP]
    35. [HTTP] --> GET /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element/00000000-0000-08f2-ffff-ffff000002c2/displayed
    36. [HTTP] {}
    37. [debug] [W3C (f723f65b)] Calling AppiumDriver.elementDisplayed() with args: ["00000000-0000-08f2-ffff-ffff000002c2","f723f65b-5118-4648-ac12-c6db20730ba4"]
    38. [debug] [WD Proxy] Matched '/element/00000000-0000-08f2-ffff-ffff000002c2/attribute/displayed' to command name 'getAttribute'
    39. [debug] [WD Proxy] Proxying [GET /element/00000000-0000-08f2-ffff-ffff000002c2/attribute/displayed] to [GET http://127.0.0.1:8201/wd/hub/session/9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9/element/00000000-0000-08f2-ffff-ffff000002c2/attribute/displayed] with no body
    40. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    41. [HTTP] {}
    42. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    43. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    44. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    45. [HTTP]
    46. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    47. [HTTP] {}
    48. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    49. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    50. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    51. [HTTP]
    52. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    53. [HTTP] {}
    54. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    55. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    56. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 3 ms - -
    57. [HTTP]
    58. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    59. [HTTP] {}
    60. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    61. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    62. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    63. [HTTP]
    64. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    65. [HTTP] {}
    66. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    67. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    68. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    69. [HTTP]
    70. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    71. [HTTP] {}
    72. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    73. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    74. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 5 ms - -
    75. [HTTP]
    76. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    77. [HTTP] {}
    78. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    79. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    80. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    81. [HTTP]
    82. [debug] [WD Proxy] Got response with status 200: {"sessionId":"9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9","value":"true"}
    83. [debug] [W3C (f723f65b)] Responding to client with driver.elementDisplayed() result: true
    84. [HTTP] <-- GET /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element/00000000-0000-08f2-ffff-ffff000002c2/displayed 200 31908 ms - 14
    85. [HTTP]
    86. [HTTP] --> GET /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element/00000000-0000-08f2-ffff-ffff000002c2/enabled
    87. [HTTP] {}
    88. [debug] [W3C (f723f65b)] Calling AppiumDriver.elementEnabled() with args: ["00000000-0000-08f2-ffff-ffff000002c2","f723f65b-5118-4648-ac12-c6db20730ba4"]
    89. [debug] [WD Proxy] Matched '/element/00000000-0000-08f2-ffff-ffff000002c2/attribute/enabled' to command name 'getAttribute'
    90. [debug] [WD Proxy] Proxying [GET /element/00000000-0000-08f2-ffff-ffff000002c2/attribute/enabled] to [GET http://127.0.0.1:8201/wd/hub/session/9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9/element/00000000-0000-08f2-ffff-ffff000002c2/attribute/enabled] with no body
    91. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    92. [HTTP] {}
    93. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    94. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    95. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    96. [HTTP]
    97. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    98. [HTTP] {}
    99. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    100. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    101. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    102. [HTTP]
    103. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    104. [HTTP] {}
    105. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    106. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    107. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 1 ms - -
    108. [HTTP]
    109. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    110. [HTTP] {}
    111. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    112. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    113. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    114. [HTTP]
    115. [debug] [WD Proxy] Got response with status 200: {"sessionId":"9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9","value":"true"}
    116. [debug] [W3C (f723f65b)] Responding to client with driver.elementEnabled() result: true
    117. [HTTP] <-- GET /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element/00000000-0000-08f2-ffff-ffff000002c2/enabled 200 21235 ms - 14
    118. [HTTP]
    119. [HTTP] --> POST /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element/00000000-0000-08f2-ffff-ffff000002c2/click
    120. [HTTP] {"id":"00000000-0000-08f2-ffff-ffff000002c2"}
    121. [debug] [W3C (f723f65b)] Calling AppiumDriver.click() with args: ["00000000-0000-08f2-ffff-ffff000002c2","f723f65b-5118-4648-ac12-c6db20730ba4"]
    122. [debug] [WD Proxy] Matched '/element/00000000-0000-08f2-ffff-ffff000002c2/click' to command name 'click'
    123. [debug] [WD Proxy] Proxying [POST /element/00000000-0000-08f2-ffff-ffff000002c2/click] to [POST http://127.0.0.1:8201/wd/hub/session/9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9/element/00000000-0000-08f2-ffff-ffff000002c2/click] with body: {"element":"00000000-0000-08f2-ffff-ffff000002c2"}
    124. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    125. [HTTP] {}
    126. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    127. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    128. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    129. [HTTP]
    130. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    131. [HTTP] {}
    132. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    133. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    134. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    135. [HTTP]
    136. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    137. [HTTP] {}
    138. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    139. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    140. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 5 ms - -
    141. [HTTP]
    142. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    143. [HTTP] {}
    144. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    145. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    146. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 3 ms - -
    147. [HTTP]
    148. [HTTP] --> GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts
    149. [HTTP] {}
    150. [debug] [W3C (7e301b84)] Calling AppiumDriver.getTimeouts() with args: ["7e301b84-b03c-43ec-9b91-604de3b84c13"]
    151. [debug] [W3C (7e301b84)] Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0}
    152. [HTTP] <-- GET /wd/hub/session/7e301b84-b03c-43ec-9b91-604de3b84c13/timeouts 304 2 ms - -
    153. [HTTP]
    154. [debug] [WD Proxy] Got response with status 200: {"sessionId":"9e1ebfb5-12cf-4b60-ba65-a0cd86e779e9","value":null}
    155. [debug] [W3C (f723f65b)] Responding to client with driver.click() result: null
    156. [HTTP] <-- POST /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element/00000000-0000-08f2-ffff-ffff000002c2/click 200 22739 ms - 14
    157. [HTTP]
    158. [HTTP] --> POST /wd/hub/session/f723f65b-5118-4648-ac12-c6db20730ba4/element
    复制代码


    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    4 小时前
  • 签到天数: 1807 天

    连续签到: 1 天

    [LV.Master]测试大本营

    2#
    发表于 2022-1-7 09:14:44 | 只看该作者
    日志显示超时了
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    3 小时前
  • 签到天数: 1522 天

    连续签到: 1 天

    [LV.Master]测试大本营

    3#
    发表于 2022-1-7 13:11:01 | 只看该作者
    超时了,所以时间长
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-25 13:43 , Processed in 0.071076 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表