Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/FAutoTest
/ functions
Functions
285 in github.com/Tencent/FAutoTest
⨍
Functions
285
◇
Types & classes
32
↓ 1 callers
Method
getAllContext
获得所有的Context :return: 所有的ContextId,域以及FrameId
fastAutoTest/core/h5/h5Engine.py:570
↓ 1 callers
Method
getAllIFrameNode
获得body标签中所有的IFrameNode :return:
fastAutoTest/core/h5/h5Engine.py:592
↓ 1 callers
Method
getDocument
获得getHtml中需要的nodeId 在调用getHtml之前必须先调用这个方法
fastAutoTest/core/wx/wxEngine.py:142
↓ 1 callers
Method
getDocument
获得getHtml中需要的nodeId 在调用getHtml之前必须先调用这个方法
fastAutoTest/core/qq/qqEngine.py:133
↓ 1 callers
Method
getDriverType
(self)
fastAutoTest/core/h5/h5Engine.py:121
↓ 1 callers
Method
getElement
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:109
↓ 1 callers
Method
getElementTextByXpath
:param xpath: 目标的xpath :return: 获取到的目标text内容
fastAutoTest/core/h5/h5Engine.py:416
↓ 1 callers
Method
getException
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:61
↓ 1 callers
Method
getExpression
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:121
↓ 1 callers
Method
getHtml
获得指定nodeId的Html代码。在一条websocket连接中,方法只能够执行一次。 :param nodeId: getDocument方法返回的nodeId,当为1时,返回整个body的代码
fastAutoTest/core/wx/wxEngine.py:150
↓ 1 callers
Method
getHtml
获得指定nodeId的Html代码。在一条websocket连接中,方法只能够执行一次。 :param nodeId: getDocument方法返回的nodeId,当为1时,返回整个body的代码
fastAutoTest/core/qq/qqEngine.py:141
↓ 1 callers
Method
getIFrameHtml
:param nodeId: :return: 获得指定nodeId的Html
fastAutoTest/core/h5/h5Engine.py:650
↓ 1 callers
Method
getIFrameNodeId
当body标签中只存在一个IFrame调用 :return:IFrame的NodeId,可以通过它获得html
fastAutoTest/core/h5/h5Engine.py:611
↓ 1 callers
Method
getJSValue
(self, value)
fastAutoTest/core/wx/wxPageOperator.py:21
↓ 1 callers
Method
getJsAction
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:112
↓ 1 callers
Method
getMethod
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:115
↓ 1 callers
Method
getParams
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:118
↓ 1 callers
Method
getPickerRect
(self, xpath)
fastAutoTest/core/h5/h5PageOperator.py:75
↓ 1 callers
Method
getRequestData
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:51
↓ 1 callers
Method
getUrl
(self)
fastAutoTest/core/common/network/websocketdatatransfer.py:36
↓ 1 callers
Method
getWindowWidth
:return:手机屏幕的宽度
fastAutoTest/core/h5/h5Engine.py:284
↓ 1 callers
Method
getWindowWidth
:return:手机屏幕的宽度
fastAutoTest/core/wx/wxEngine.py:436
↓ 1 callers
Method
getWindowWidth
:return:手机屏幕的宽度
fastAutoTest/core/qq/qqEngine.py:399
↓ 1 callers
Method
hasApkInstalled
(packageName='com.tencent.fat.wxinputplug', device=None)
fastAutoTest/utils/adbHelper.py:121
↓ 1 callers
Method
initPageDisplayData
(self)
fastAutoTest/core/h5/h5Engine.py:134
↓ 1 callers
Method
initPageDisplayData
(self)
fastAutoTest/core/wx/wxEngine.py:86
↓ 1 callers
Method
initPageDisplayData
(self)
fastAutoTest/core/qq/qqEngine.py:78
↓ 1 callers
Method
installApk
(apkFile, device=None, installOverride=False, printDetails=False, cwd=None)
fastAutoTest/utils/adbHelper.py:109
↓ 1 callers
Method
isQuit
(self)
fastAutoTest/utils/singlethreadexecutor.py:49
↓ 1 callers
Method
needSwitchNextPage
(self)
fastAutoTest/core/wx/wxEngine.py:98
↓ 1 callers
Method
onMessage
(self, message)
fastAutoTest/core/common/network/websocketdatatransfer.py:78
↓ 1 callers
Method
quit
(self)
fastAutoTest/utils/singlethreadexecutor.py:44
↓ 1 callers
Method
registerCallback
(self, callback)
fastAutoTest/core/common/network/websocketdatatransfer.py:58
↓ 1 callers
Method
requestChildNodes
:param nodeId:指定的nodeId :return:
fastAutoTest/core/h5/h5Engine.py:545
↓ 1 callers
Method
scrollToElementByXpath
滑动屏幕,使指定xpath的控件可见 默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控
fastAutoTest/core/h5/h5Engine.py:182
↓ 1 callers
Method
scrollToElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/wx/wxEngine.py:316
↓ 1 callers
Method
scrollToElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/qq/qqEngine.py:282
↓ 1 callers
Method
shutDownNow
(self)
fastAutoTest/utils/singlethreadexecutor.py:66
↓ 1 callers
Method
toSendJsonString
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:36
Method
__init__
(self)
fastAutoTest/utils/adbHelper.py:16
Method
__init__
(self)
fastAutoTest/utils/vmhook.py:19
Method
__init__
(self, queue)
fastAutoTest/utils/singlethreadexecutor.py:23
Method
__init__
(self)
fastAutoTest/utils/singlethreadexecutor.py:54
Method
__init__
(self, initValue=0)
fastAutoTest/utils/atomicinteger.py:15
Method
__init__
(self, device=None)
fastAutoTest/core/h5/h5Engine.py:46
Method
__init__
(self, device, localForwardPort=None)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:28
Method
__init__
(self, device, localForwardPort=None)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:49
Method
__init__
(self, device=None)
fastAutoTest/core/wx/wxEngine.py:67
Method
__init__
(self, device=None)
fastAutoTest/core/qq/qqEngine.py:60
Method
__init__
(self, device, localForwardPort=None)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:36
Method
__init__
(self, managerType)
fastAutoTest/core/common/command/commandProcessor.py:18
Method
__init__
(self, managerType)
fastAutoTest/core/common/command/jsonConcat.py:18
Method
__init__
(self, webSocketDataTransfer, executor, driver)
fastAutoTest/core/common/network/shortLiveWebSocket.py:69
Method
__init__
(self, url)
fastAutoTest/core/common/network/websocketdatatransfer.py:26
Method
__new__
(cls, *args, **kwargs)
fastAutoTest/utils/logger.py:24
Method
__new__
(cls, *args, **kwargs)
fastAutoTest/core/common/errormsgmanager.py:104
Method
_handleUncaughtException
(exctype, value, tb)
fastAutoTest/utils/vmhook.py:45
Method
_handleVMShutDown
(self)
fastAutoTest/utils/vmhook.py:25
Method
_onUncaughtException
(self, exctype, value, tb)
fastAutoTest/core/h5/h5Engine.py:104
Method
_onUncaughtException
(self, exctype, value, tb)
fastAutoTest/core/wx/wxEngine.py:463
Method
_onUncaughtException
(self, exctype, value, tb)
fastAutoTest/core/qq/qqEngine.py:426
Method
addShutDownHook
(self, func, *args, **kwargs)
fastAutoTest/core/h5/h5Engine.py:118
Method
addShutDownHook
添加当程序正常关闭时的操作,可以进行一些环境清理操作等
fastAutoTest/core/wx/wxEngine.py:457
Method
addShutDownHook
添加当程序正常关闭时的操作,可以进行一些环境清理操作等
fastAutoTest/core/qq/qqEngine.py:420
Method
changeDp2Px
(self, xDp, yDp, scale, appTitleHeight)
fastAutoTest/core/h5/h5PageOperator.py:23
Method
changeDp2Px
(self, xDp, yDp, scale, appTitleHeight)
fastAutoTest/core/wx/wxPageOperator.py:71
Method
clearInputTextByXpath
(self, xpath)
fastAutoTest/core/h5/h5PageOperator.py:171
Method
clearInputTextByXpath
清空输入框的文字 :param xpath:input框的xpath
fastAutoTest/core/h5/h5Engine.py:266
Method
clickElementById
(self, id)
fastAutoTest/core/h5/h5PageOperator.py:36
Method
clickElementByName
(self, name, index)
fastAutoTest/core/h5/h5PageOperator.py:28
Method
clickElementByXpath
(self, x, y, duration=50, tapCount=1)
fastAutoTest/core/h5/h5PageOperator.py:32
Method
clickElementByXpath
(self, x, y)
fastAutoTest/core/wx/wxPageOperator.py:17
Method
clickFirstElementByText
通过text来搜索,点击第一个text相符合的控件。参数同clickElementByXpath()
fastAutoTest/core/wx/wxEngine.py:294
Method
clickFirstElementByText
通过text来搜索,点击第一个text相符合的控件。参数同clickElementByXpath()
fastAutoTest/core/qq/qqEngine.py:252
Method
closeWindow
(self)
fastAutoTest/core/h5/h5PageOperator.py:115
Method
closeWindow
关闭整个h5页面
fastAutoTest/core/h5/h5Engine.py:361
Method
connect
(self)
fastAutoTest/core/common/network/websocketdatatransfer.py:39
Method
decrementAndGet
(self)
fastAutoTest/utils/atomicinteger.py:36
Method
disconnect
(self)
fastAutoTest/core/common/network/websocketdatatransfer.py:44
Method
executeScript
(self, script, contextId=None)
fastAutoTest/core/h5/h5PageOperator.py:132
Method
executeScript
手动发送js命令并执行 :param script:要执行的js指令 :return: 执行结果
fastAutoTest/core/h5/h5Engine.py:497
Method
focusElementByXpath
(self, xpath)
fastAutoTest/core/h5/h5PageOperator.py:92
Method
getAllContext
(self)
fastAutoTest/core/h5/h5PageOperator.py:176
Method
getAndDecrement
(self)
fastAutoTest/utils/atomicinteger.py:30
Method
getBodyNode
(self)
fastAutoTest/core/h5/h5PageOperator.py:179
Method
getCPUInfo
获得H5进程占用CPU信息 :return: H5进程占用CPU信息
fastAutoTest/core/h5/h5Engine.py:701
Method
getCPUInfo
获得小程序进程占用CPU信息 :return: 小程序进程占用CPU信息
fastAutoTest/core/wx/wxEngine.py:418
Method
getCPUInfo
获得小程序进程占用CPU信息 :return: 小程序进程占用CPU信息
fastAutoTest/core/qq/qqEngine.py:381
Method
getCurrentPageUrl
(self)
fastAutoTest/core/h5/h5PageOperator.py:168
Method
getCurrentPageUrl
获得当前页面的url :return:
fastAutoTest/core/h5/h5Engine.py:508
Method
getDevice
(self)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:41
Method
getDevice
(self)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:67
Method
getDevice
(self)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:53
Method
getDocument
(self)
fastAutoTest/core/h5/h5PageOperator.py:119
Method
getDocument
(self)
fastAutoTest/core/wx/wxPageOperator.py:62
Method
getDriverType
(self)
fastAutoTest/core/wx/wxEngine.py:83
Method
getDriverType
(self)
fastAutoTest/core/qq/qqEngine.py:75
Method
getElement
(self, actionType, default=None)
fastAutoTest/core/wx/wxCommandManager.py:78
Method
getElementByXpath
:param:目标的xpath :return:返回lxml包装过的element对象,可以使用lxml语法获得对象的信息 例如:可以使用element.get("attrs")来拿到属性的数据 可以用element.text拿到它的
fastAutoTest/core/h5/h5Engine.py:458
Method
getElementByXpath
:param:目标的xpath :return:返回lxml包装过的element对象,可以使用lxml语法获得对象的信息 例如:可以使用element.get("attrs")来拿到属性的数据 可以用element.text拿到它的
fastAutoTest/core/wx/wxEngine.py:204
← previous
next →
101–200 of 285, ranked by callers