somashekhar
New Member
- Joined
- Jun 6, 2013
- Messages
- 5
hi friends,
this is my first post here .
i am working on a small excel automation to login to a web portal with Baisc Authentication and generate excel report by selecting appropriate values in drop-box .
though i could login with Basic Authentication using MSXML2.XMLHTTP object, i am unable to access the web form controls in the code.
after this login, i am unable to retrieve the information/status of the web page controls [drop down box] and i am unable to assign the required values to it.
can anybody please help me understand how can i access the web page elements after login using above method!?
this is my first post here .
i am working on a small excel automation to login to a web portal with Baisc Authentication and generate excel report by selecting appropriate values in drop-box .
though i could login with Basic Authentication using MSXML2.XMLHTTP object, i am unable to access the web form controls in the code.
Code:
Set objRequest = New MSXML2.XMLHTTP
With objRequest
.Open "POST", "http://XXXXXXXXXX?", False, "username", "pwd"
.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
.send
htfile = .responseText
End With
after this login, i am unable to retrieve the information/status of the web page controls [drop down box] and i am unable to assign the required values to it.
can anybody please help me understand how can i access the web page elements after login using above method!?