0
任何人都可以“翻译”如何用AutoIt代替Simpletest来做到这一点吗?AutoIt - 导航到ASP页面,不允许直接链接
Simpletest browser (php) on an asp site that doesn't allow direct linking
谢谢!
任何人都可以“翻译”如何用AutoIt代替Simpletest来做到这一点吗?AutoIt - 导航到ASP页面,不允许直接链接
Simpletest browser (php) on an asp site that doesn't allow direct linking
谢谢!
这里是你会怎么做:
#include <IE.au3>
$URL="http://www.acgme.org/adspublic/"
$MyIExplorer=_IECreate($URL,1,1,1,1)
Local $theFrame = _IEFrameGetObjByName($MyIExplorer,"control")
_IELinkClickByText($theFrame, "Sponsoring Institutions")
_IELoadWait($theFrame)
ConsoleWrite(_IEBodyReadHTML($theFrame))
再次感谢@Manadar,这AutoIt的新手在学习。 '_IELinkClickByText'是一个简单的解决方案。 – Airn5475