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