- username = "admin"
- password = "12345"
- Dim IE
- Set IE = CreateObject("InternetExplorer.Application")
- IE.Navigate "http://www.5151c.com/Login.aspx"
- IE.Visible = True
- Do Until IE.ReadyState = 4
- WScript.Sleep 1000
- Loop
- IE.Document.getElementById("LoginId").innerText = username
- IE.Document.getElementById("LoginPass").innerText = password
- IE.Document.getElementById("Login").submit
复制代码
|