Internet explorer 如何在Internet Explorer中使用AutoIt在框架集的框架中单击链接?
Internet Explorer将打开,但没有任何其他操作,如何单击链接Internet explorer 如何在Internet Explorer中使用AutoIt在框架集的框架中单击链接?,internet-explorer,automation,autoit,frames,frameset,Internet Explorer,Automation,Autoit,Frames,Frameset,Internet Explorer将打开,但没有任何其他操作,如何单击链接Rubrik 1 自动IT代码: #include <IE.au3> $oIE = _IECreate("C:\Development\internet explorer frames\frames.html") sleep(3000) Local $oFrame = _IEFrameGetCollection($oIE) _IELinkClickByText($oFrame, "Rubrik 1") #包
Rubrik 1
自动IT代码:
#include <IE.au3>
$oIE = _IECreate("C:\Development\internet explorer frames\frames.html")
sleep(3000)
Local $oFrame = _IEFrameGetCollection($oIE)
_IELinkClickByText($oFrame, "Rubrik 1")
#包括
$oIE=\u IECreate(“C:\Development\internetexplorerframes\frames.html”)
睡眠(3000)
本地$oFrame=\u IEFrameGetCollection($oIE)
_IELinkClickByText($of名称,“Rubrik 1”)
html代码:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Frameset</title>
</head>
<frameset cols="200, *">
<frame src="http://wiki.selfhtml.org/mediawiki/extensions/Selfhtml/example.php/Beispiel:FRAMESET_navigation.html" name="navigation">
<frame src="http://wiki.selfhtml.org/mediawiki/extensions/Selfhtml/example.php/Beispiel:FRAMESET_home.html" name="inhalt">
</frameset>
</html>
框架集
scite控制台输出:
“C:\Users-\Downloads\autoit-v3\install\SciTe..\autoit3.exe”/ErrorStdOut“C:\Development\internet explorer frames\internet explorer frames 2.au3”-->IE.au3 T3.0-2函数_IELoadWait,$\u IESTATUS_ClientDisconnected产生错误(-2147023179,操作前已删除浏览器。) “C:\Users-\Downloads\autoit-v3\install\Include\IE.au3”(671):=>请求的此对象操作失败: 返回SetError($\u IESTATUS\u Success,$oObject.document.parentwindow.frames.length,$oObject.document.parentwindow.frames) 返回SetError($\u IESTATUS\u Success,$oObject^ERROR 退出代码:1次:4.202
这解释了_IECreate的问题不幸的是,我无法让您的其余代码正常工作这解释了_IECreate的问题不幸的是,我无法让您的其余代码正常工作