MCPcopy Create free account

hub / github.com/Tencent/FAutoTest / functions

Functions285 in github.com/Tencent/FAutoTest

↓ 73 callersMethodsend
(self, data, timeout=int(1 * 60))
fastAutoTest/core/common/network/shortLiveWebSocket.py:114
↓ 35 callersMethodgetResponse
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:43
↓ 28 callersMethoddoCommandWithoutElement
(self, actionType, **kw)
fastAutoTest/core/common/command/commandProcessor.py:71
↓ 26 callersMethoderrorCodeToString
(self, errorCode)
fastAutoTest/core/common/errormsgmanager.py:110
↓ 20 callersMethod_getRelativeDirectionValue
获取相关的方向数据参数值 :param directionKey: 获取的方向 :return:
fastAutoTest/core/h5/h5Engine.py:305
↓ 15 callersFunctionrunCommand
(cmd, printDetails=False, cwd=None)
fastAutoTest/utils/commandHelper.py:15
↓ 15 callersMethodwait
(self, seconds=1)
fastAutoTest/core/h5/h5Engine.py:101
↓ 14 callersMethoddoCommandWithElement
(self, byType, actionType, text=None, **domType)
fastAutoTest/core/common/command/commandProcessor.py:34
↓ 12 callersMethod_getRelativeDirectionValue
获取相关的方向数据参数值 :param directionKey: key值 :return:
fastAutoTest/core/wx/wxEngine.py:391
↓ 12 callersMethod_getRelativeDirectionValue
获取相关的方向数据参数值 :param directionKey: key值 :return:
fastAutoTest/core/qq/qqEngine.py:354
↓ 12 callersMethodgetLogger
(self)
fastAutoTest/utils/logger.py:43
↓ 10 callersMethodgetElementRect
(self, xpath, contextId=None)
fastAutoTest/core/h5/h5PageOperator.py:154
↓ 9 callersMethod_getPageFeature
(self, url)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:289
↓ 8 callersMethoddisconnect
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:96
↓ 8 callersMethodspecifyDeviceOnCmd
(cmd, device)
fastAutoTest/utils/adbHelper.py:20
↓ 7 callersMethodisElementExist
:param xpath: 目标的xpath :return: 返回一个boolean,该Element是否存在
fastAutoTest/core/h5/h5Engine.py:470
↓ 7 callersMethodwait
(self, seconds)
fastAutoTest/core/wx/wxEngine.py:454
↓ 6 callersMethodclickElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/h5/h5Engine.py:146
↓ 6 callersMethodconnect
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:92
↓ 6 callersMethodreturnLastPage
返回上一页
fastAutoTest/core/h5/h5Engine.py:368
↓ 6 callersMethodswitchToNextPage
把之前缓存的html置为none 再重新连接websocket
fastAutoTest/core/h5/h5Engine.py:124
↓ 6 callersMethodswitchToNextPage
需要重新获取当前页面的websocket的url
fastAutoTest/core/wx/wxEngine.py:120
↓ 6 callersMethodswitchToNextPage
需要重新获取当前页面的websocket的url
fastAutoTest/core/qq/qqEngine.py:112
↓ 5 callersMethodclose
(self)
fastAutoTest/core/h5/h5Engine.py:107
↓ 5 callersMethodisElementExist
(self, xpath)
fastAutoTest/core/wx/wxEngine.py:162
↓ 5 callersMethodscrollWindow
通过坐标来滑动(屏幕的左上角为(0,0),向下和向右坐标逐渐增大) :param x: 滑动的起始X点坐标 :param y: 滑动的起始Y点坐标 :param xDistance: X方向滑动的距离 :param y
fastAutoTest/core/h5/h5Engine.py:293
↓ 5 callersMethodwait
(self, seconds)
fastAutoTest/core/qq/qqEngine.py:417
↓ 4 callersMethodaddContextIdInParams
(self, command, contextId)
fastAutoTest/core/h5/h5PageOperator.py:18
↓ 4 callersMethodclose
(self)
fastAutoTest/core/wx/wxEngine.py:466
↓ 4 callersMethodgetDocument
获得getHtml中需要的nodeId 在调用getHtml之前必须先调用这个方法
fastAutoTest/core/h5/h5Engine.py:353
↓ 4 callersMethodgetElementRect
(self, xpath)
fastAutoTest/core/wx/wxPageOperator.py:25
↓ 4 callersMethodgetPlatform
()
fastAutoTest/utils/common.py:30
↓ 4 callersMethodinit
(self, name='default')
fastAutoTest/utils/logger.py:30
↓ 4 callersMethodput
(self, func, *args, **kwargs)
fastAutoTest/utils/singlethreadexecutor.py:60
↓ 3 callersMethodclickElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/wx/wxEngine.py:269
↓ 3 callersMethodclickFirstElementByText
通过text来搜索,点击第一个text相符合的控件。参数同clickElementByXpath()
fastAutoTest/core/h5/h5Engine.py:170
↓ 3 callersMethodconcat
(self, action_type, **params)
fastAutoTest/core/common/command/jsonConcat.py:24
↓ 3 callersMethodinitDriver
(self)
fastAutoTest/core/h5/h5Engine.py:60
↓ 3 callersMethodlistDevices
(ignoreUnconnectedDevices=True, printDetails=False, cwd=None)
fastAutoTest/utils/adbHelper.py:24
↓ 3 callersMethodquit
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:157
↓ 3 callersMethodregisterToVM
(self)
fastAutoTest/utils/vmhook.py:22
↓ 3 callersMethodregisterUncaughtExceptionCallback
(func)
fastAutoTest/utils/vmhook.py:51
↓ 3 callersMethodregisterVMShutDownCallback
(self, func, *args, **kwargs)
fastAutoTest/utils/vmhook.py:29
↓ 3 callersMethodremoveHook
()
fastAutoTest/utils/vmhook.py:55
↓ 3 callersMethodscrollWindow
(self, x, y, xDistance, yDistance, speed=800)
fastAutoTest/core/wx/wxEngine.py:386
↓ 3 callersMethodshutDown
(self)
fastAutoTest/utils/singlethreadexecutor.py:69
↓ 2 callersMethod_fetchWebSocketDebugUrl
(self, localPort)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:105
↓ 2 callersMethod_waitForConnectOrThrow
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:171
↓ 2 callersMethodchangeDp2Px
(self, xDp, yDp)
fastAutoTest/core/h5/h5Engine.py:142
↓ 2 callersMethodchangeDp2Px
(self, xDp, yDp)
fastAutoTest/core/wx/wxEngine.py:94
↓ 2 callersMethodchangeDp2Px
(self, xDp, yDp)
fastAutoTest/core/qq/qqEngine.py:86
↓ 2 callersMethodfetchWebSocketDebugUrl
(self, refetch=False)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:59
↓ 2 callersMethodfetchWebSocketDebugUrl
(self, refetch=False)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:46
↓ 2 callersMethodgetAndIncrement
(self)
fastAutoTest/utils/atomicinteger.py:19
↓ 2 callersMethodgetBodyNode
:return:获得body中所有node的frameId
fastAutoTest/core/h5/h5Engine.py:534
↓ 2 callersMethodgetHtml
获得指定nodeId的Html代码。在一条websocket连接中,方法只能够执行一次。 :param nodeId: getDocument方法返回的nodeId,当为1时,返回整个body的代码
fastAutoTest/core/h5/h5Engine.py:338
↓ 2 callersMethodgetJSValue
(self, value, contextId=None)
fastAutoTest/core/h5/h5PageOperator.py:105
↓ 2 callersMethodgetWindowHeight
:return:手机屏幕的高度
fastAutoTest/core/h5/h5Engine.py:275
↓ 2 callersMethodgetWindowHeight
:return:手机屏幕的高度
fastAutoTest/core/wx/wxEngine.py:445
↓ 2 callersMethodgetWindowHeight
:return:手机屏幕的高度
fastAutoTest/core/qq/qqEngine.py:408
↓ 2 callersMethodisConnected
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:89
↓ 2 callersMethodisElementExist
(self, xpath)
fastAutoTest/core/qq/qqEngine.py:153
↓ 2 callersMethodisQuit
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:161
↓ 2 callersMethodscrollWindow
(self, x, y, xDistance, yDistance, speed=800)
fastAutoTest/core/qq/qqEngine.py:349
↓ 2 callersMethodsetLevel
(self, level)
fastAutoTest/utils/logger.py:40
↓ 2 callersMethodsetUrl
(self, url)
fastAutoTest/core/common/network/shortLiveWebSocket.py:86
↓ 1 callersMethod__init__
(self, id, requestData)
fastAutoTest/core/common/network/shortLiveWebSocket.py:30
↓ 1 callersMethod_checkReturnOrThrow
(self, netWorkRequest)
fastAutoTest/core/common/network/shortLiveWebSocket.py:164
↓ 1 callersMethod_checkSuccessOrThrow
(self, response)
fastAutoTest/core/common/network/shortLiveWebSocket.py:54
↓ 1 callersMethod_cleanJsonData
(self, responseJson)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:142
↓ 1 callersMethod_fetchInner
(self)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:47
↓ 1 callersMethod_fetchInner
(self)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:73
↓ 1 callersMethod_fetchInner
(self)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:59
↓ 1 callersMethod_fetchQQToolsProcessPid
(device=None)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:70
↓ 1 callersMethod_fetchWebSocketDebugUrl
(self, localPort)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:131
↓ 1 callersMethod_fetchWebSocketDebugUrl
(self, localPort)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:128
↓ 1 callersMethod_fetchWeixinToolsProcessPid
PS命名结果字段格式为8元祖,格式为:USER PID PPID VSIZE RSS WCHAN PC NAME 各字段解释 USER: 进程的当前用户; PID : 毫无疑问, process ID的
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:58
↓ 1 callersMethod_fetchWeixinToolsProcessPid
(device=None)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:84
↓ 1 callersMethod_forwardLocalPort
(localPort, pid, device=None)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:127
↓ 1 callersMethod_forwardLocalPort
(localPort, pid, device=None)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:101
↓ 1 callersMethod_forwardLocalPort
(localPort, pid, device=None)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:124
↓ 1 callersMethod_getAllNodeId
获得body标签中所有的包含IFrame数据的NodeId :return:
fastAutoTest/core/h5/h5Engine.py:522
↓ 1 callersMethod_getProcessInfo
(cmd, device)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:94
↓ 1 callersMethod_getProcessInfo
(cmd, device)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:91
↓ 1 callersMethod_handleAndReturnWebSocketDebugUrl
(self, responseJson)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:150
↓ 1 callersMethod_handleAndReturnWebSocketDebugUrl
(self, responseJson)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:161
↓ 1 callersMethod_handlePhoneCompat
(weixinProcessInfo)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:109
↓ 1 callersMethod_handlePhoneCompat
(processInfo)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:106
↓ 1 callersMethod_initWebSocketUrlWithThreePage
(self, responseJson)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:246
↓ 1 callersMethod_initWebSocketUrlWithTwoPage
(self, responseJson)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:229
↓ 1 callersMethod_onMessage
(self, message)
fastAutoTest/core/common/network/websocketdatatransfer.py:71
↓ 1 callersMethod_selectDevice
(self)
fastAutoTest/core/h5/h5Engine.py:82
↓ 1 callersMethod_selectDevice
(self)
fastAutoTest/core/wx/wxEngine.py:101
↓ 1 callersMethod_selectDevice
(self)
fastAutoTest/core/qq/qqEngine.py:93
↓ 1 callersMethodaddResponse
(self, responseStr)
fastAutoTest/core/common/network/shortLiveWebSocket.py:46
↓ 1 callersMethodclickElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/qq/qqEngine.py:228
↓ 1 callersMethodclose
(self)
fastAutoTest/core/qq/qqEngine.py:429
↓ 1 callersMethodfetchWebSocketDebugUrl
(self, refetch=False)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:34
↓ 1 callersMethodfocusElementByXpath
调用目标的focus()方法。 :param xpath:目标的xpath
fastAutoTest/core/h5/h5Engine.py:330
↓ 1 callersMethodfocusElementByXpath
调用目标的focus()方法。 :param xpath:目标的xpath
fastAutoTest/core/qq/qqEngine.py:258
next →1–100 of 285, ranked by callers