VBS scripting : How to access a HtmlDocument object ?
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
In my script I try to open an URL programmatically. This is no problem :
Set IEApp = CreateObject("InternetExplorer.Application") IEApp.Navigate "http://www.mydomain.com" Do While (IEApp.Busy = true) WScript.Sleep 200 Loop
Aftwards I would like to access to a login form and set username and password to specific values. This is where things get complicated:Set IEDoc = IEApp.Document
The object I get is from type HtmlDocument, which is read only and contains pure html tags. I cannot use it to access to forms and elements. Does anybody know how I can access these elements ? Regards Daniel