在成功登錄到網頁「https://v-tri.tri.co.id:8434/insms/dealer/en/loginin.do」,我得到由三幀新的頁面「https://v-tri.tri.co.id:8434/insms/dealer/en/Recharge.do?case.menuid=050116」如何在twebbrowser中填充框架中的任何字段?
如何填寫位於從我的節目(Delphi7中)第三幀領域?
[這是討論「Login to web using TWebBrowser」的延續]
我已經試過這一點,但沒有奏效:
WebBrowser1.OleObject.Document.GetElementByID('fieldname').setAttribute('value', edit1.Text);
WebBrowser1.OleObject.Document.GetElementByID('fieldname').setAttribute('value', edit2.Text);
這個問題看起來像重複:http://stackoverflow.com/questions/21298196/login-to-web-using-twebbrowser但與較少的細節 - 我錯過了什麼? – Flexo
@Flexo,這似乎是更進一步。登錄後。但原則是一樣的。 – TLama
是的,我需要一個解決方案來繼續我的程序尚未完成,但我真的不知道下一個代碼,誰願意幫助sy會非常感謝他的幫助,如果需要用戶名和密碼,他會 ,我會給 非常感謝你 – user3226004