MCPcopy Create free account

hub / github.com/Tencent/FAutoTest / functions

Functions285 in github.com/Tencent/FAutoTest

↓ 1 callersMethodgetAllContext
获得所有的Context  :return: 所有的ContextId,域以及FrameId
fastAutoTest/core/h5/h5Engine.py:570
↓ 1 callersMethodgetAllIFrameNode
获得body标签中所有的IFrameNode :return:
fastAutoTest/core/h5/h5Engine.py:592
↓ 1 callersMethodgetDocument
获得getHtml中需要的nodeId 在调用getHtml之前必须先调用这个方法
fastAutoTest/core/wx/wxEngine.py:142
↓ 1 callersMethodgetDocument
获得getHtml中需要的nodeId 在调用getHtml之前必须先调用这个方法
fastAutoTest/core/qq/qqEngine.py:133
↓ 1 callersMethodgetDriverType
(self)
fastAutoTest/core/h5/h5Engine.py:121
↓ 1 callersMethodgetElement
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:109
↓ 1 callersMethodgetElementTextByXpath
:param xpath: 目标的xpath :return: 获取到的目标text内容
fastAutoTest/core/h5/h5Engine.py:416
↓ 1 callersMethodgetException
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:61
↓ 1 callersMethodgetExpression
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:121
↓ 1 callersMethodgetHtml
获得指定nodeId的Html代码。在一条websocket连接中,方法只能够执行一次。 :param nodeId: getDocument方法返回的nodeId,当为1时,返回整个body的代码
fastAutoTest/core/wx/wxEngine.py:150
↓ 1 callersMethodgetHtml
获得指定nodeId的Html代码。在一条websocket连接中,方法只能够执行一次。 :param nodeId: getDocument方法返回的nodeId,当为1时,返回整个body的代码
fastAutoTest/core/qq/qqEngine.py:141
↓ 1 callersMethodgetIFrameHtml
:param nodeId: :return: 获得指定nodeId的Html
fastAutoTest/core/h5/h5Engine.py:650
↓ 1 callersMethodgetIFrameNodeId
当body标签中只存在一个IFrame调用 :return:IFrame的NodeId,可以通过它获得html
fastAutoTest/core/h5/h5Engine.py:611
↓ 1 callersMethodgetJSValue
(self, value)
fastAutoTest/core/wx/wxPageOperator.py:21
↓ 1 callersMethodgetJsAction
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:112
↓ 1 callersMethodgetMethod
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:115
↓ 1 callersMethodgetParams
(self, actionType, default=None)
fastAutoTest/core/h5/h5CommandManager.py:118
↓ 1 callersMethodgetPickerRect
(self, xpath)
fastAutoTest/core/h5/h5PageOperator.py:75
↓ 1 callersMethodgetRequestData
(self)
fastAutoTest/core/common/network/shortLiveWebSocket.py:51
↓ 1 callersMethodgetUrl
(self)
fastAutoTest/core/common/network/websocketdatatransfer.py:36
↓ 1 callersMethodgetWindowWidth
:return:手机屏幕的宽度
fastAutoTest/core/h5/h5Engine.py:284
↓ 1 callersMethodgetWindowWidth
:return:手机屏幕的宽度
fastAutoTest/core/wx/wxEngine.py:436
↓ 1 callersMethodgetWindowWidth
:return:手机屏幕的宽度
fastAutoTest/core/qq/qqEngine.py:399
↓ 1 callersMethodhasApkInstalled
(packageName='com.tencent.fat.wxinputplug', device=None)
fastAutoTest/utils/adbHelper.py:121
↓ 1 callersMethodinitPageDisplayData
(self)
fastAutoTest/core/h5/h5Engine.py:134
↓ 1 callersMethodinitPageDisplayData
(self)
fastAutoTest/core/wx/wxEngine.py:86
↓ 1 callersMethodinitPageDisplayData
(self)
fastAutoTest/core/qq/qqEngine.py:78
↓ 1 callersMethodinstallApk
(apkFile, device=None, installOverride=False, printDetails=False, cwd=None)
fastAutoTest/utils/adbHelper.py:109
↓ 1 callersMethodisQuit
(self)
fastAutoTest/utils/singlethreadexecutor.py:49
↓ 1 callersMethodneedSwitchNextPage
(self)
fastAutoTest/core/wx/wxEngine.py:98
↓ 1 callersMethodonMessage
(self, message)
fastAutoTest/core/common/network/websocketdatatransfer.py:78
↓ 1 callersMethodquit
(self)
fastAutoTest/utils/singlethreadexecutor.py:44
↓ 1 callersMethodregisterCallback
(self, callback)
fastAutoTest/core/common/network/websocketdatatransfer.py:58
↓ 1 callersMethodrequestChildNodes
:param nodeId:指定的nodeId :return:
fastAutoTest/core/h5/h5Engine.py:545
↓ 1 callersMethodscrollToElementByXpath
滑动屏幕,使指定xpath的控件可见 默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控
fastAutoTest/core/h5/h5Engine.py:182
↓ 1 callersMethodscrollToElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/wx/wxEngine.py:316
↓ 1 callersMethodscrollToElementByXpath
默认滑动点为屏幕的中心,且边距为整个屏幕。当有container时,传入container中任意一个当前可见item的xpath,之后会将目标滑到该可见item的位置 :param xpath: 要滑动到屏幕中控件的xpath :param visi
fastAutoTest/core/qq/qqEngine.py:282
↓ 1 callersMethodshutDownNow
(self)
fastAutoTest/utils/singlethreadexecutor.py:66
↓ 1 callersMethodtoSendJsonString
(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
MethodaddShutDownHook
(self, func, *args, **kwargs)
fastAutoTest/core/h5/h5Engine.py:118
MethodaddShutDownHook
添加当程序正常关闭时的操作,可以进行一些环境清理操作等
fastAutoTest/core/wx/wxEngine.py:457
MethodaddShutDownHook
添加当程序正常关闭时的操作,可以进行一些环境清理操作等
fastAutoTest/core/qq/qqEngine.py:420
MethodchangeDp2Px
(self, xDp, yDp, scale, appTitleHeight)
fastAutoTest/core/h5/h5PageOperator.py:23
MethodchangeDp2Px
(self, xDp, yDp, scale, appTitleHeight)
fastAutoTest/core/wx/wxPageOperator.py:71
MethodclearInputTextByXpath
(self, xpath)
fastAutoTest/core/h5/h5PageOperator.py:171
MethodclearInputTextByXpath
清空输入框的文字 :param xpath:input框的xpath
fastAutoTest/core/h5/h5Engine.py:266
MethodclickElementById
(self, id)
fastAutoTest/core/h5/h5PageOperator.py:36
MethodclickElementByName
(self, name, index)
fastAutoTest/core/h5/h5PageOperator.py:28
MethodclickElementByXpath
(self, x, y, duration=50, tapCount=1)
fastAutoTest/core/h5/h5PageOperator.py:32
MethodclickElementByXpath
(self, x, y)
fastAutoTest/core/wx/wxPageOperator.py:17
MethodclickFirstElementByText
通过text来搜索,点击第一个text相符合的控件。参数同clickElementByXpath()
fastAutoTest/core/wx/wxEngine.py:294
MethodclickFirstElementByText
通过text来搜索,点击第一个text相符合的控件。参数同clickElementByXpath()
fastAutoTest/core/qq/qqEngine.py:252
MethodcloseWindow
(self)
fastAutoTest/core/h5/h5PageOperator.py:115
MethodcloseWindow
关闭整个h5页面
fastAutoTest/core/h5/h5Engine.py:361
Methodconnect
(self)
fastAutoTest/core/common/network/websocketdatatransfer.py:39
MethoddecrementAndGet
(self)
fastAutoTest/utils/atomicinteger.py:36
Methoddisconnect
(self)
fastAutoTest/core/common/network/websocketdatatransfer.py:44
MethodexecuteScript
(self, script, contextId=None)
fastAutoTest/core/h5/h5PageOperator.py:132
MethodexecuteScript
手动发送js命令并执行 :param script:要执行的js指令 :return: 执行结果
fastAutoTest/core/h5/h5Engine.py:497
MethodfocusElementByXpath
(self, xpath)
fastAutoTest/core/h5/h5PageOperator.py:92
MethodgetAllContext
(self)
fastAutoTest/core/h5/h5PageOperator.py:176
MethodgetAndDecrement
(self)
fastAutoTest/utils/atomicinteger.py:30
MethodgetBodyNode
(self)
fastAutoTest/core/h5/h5PageOperator.py:179
MethodgetCPUInfo
获得H5进程占用CPU信息 :return: H5进程占用CPU信息
fastAutoTest/core/h5/h5Engine.py:701
MethodgetCPUInfo
获得小程序进程占用CPU信息 :return: 小程序进程占用CPU信息
fastAutoTest/core/wx/wxEngine.py:418
MethodgetCPUInfo
获得小程序进程占用CPU信息 :return: 小程序进程占用CPU信息
fastAutoTest/core/qq/qqEngine.py:381
MethodgetCurrentPageUrl
(self)
fastAutoTest/core/h5/h5PageOperator.py:168
MethodgetCurrentPageUrl
获得当前页面的url :return:
fastAutoTest/core/h5/h5Engine.py:508
MethodgetDevice
(self)
fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py:41
MethodgetDevice
(self)
fastAutoTest/core/wx/wxWebSocketDebugUrlFetcher.py:67
MethodgetDevice
(self)
fastAutoTest/core/qq/qqWebSocketDebugUrlFetcher.py:53
MethodgetDocument
(self)
fastAutoTest/core/h5/h5PageOperator.py:119
MethodgetDocument
(self)
fastAutoTest/core/wx/wxPageOperator.py:62
MethodgetDriverType
(self)
fastAutoTest/core/wx/wxEngine.py:83
MethodgetDriverType
(self)
fastAutoTest/core/qq/qqEngine.py:75
MethodgetElement
(self, actionType, default=None)
fastAutoTest/core/wx/wxCommandManager.py:78
MethodgetElementByXpath
:param:目标的xpath :return:返回lxml包装过的element对象,可以使用lxml语法获得对象的信息 例如:可以使用element.get("attrs")来拿到属性的数据 可以用element.text拿到它的
fastAutoTest/core/h5/h5Engine.py:458
MethodgetElementByXpath
:param:目标的xpath :return:返回lxml包装过的element对象,可以使用lxml语法获得对象的信息 例如:可以使用element.get("attrs")来拿到属性的数据 可以用element.text拿到它的
fastAutoTest/core/wx/wxEngine.py:204
← previousnext →101–200 of 285, ranked by callers