Delphi Code to Fill a Login Page Using TEmbeddedWB
$30-50 USD
Completed
Posted about 15 years ago
$30-50 USD
Paid on delivery
I need to automate the login to a web site. The web page will be provided by private message on RAC if necessary for you to bid properly.
It is an HTTPS:// page, but RoboForm seems to have no trouble filling the fields so I assume it is straightforward enough.
I am use the latest TEmbeddedWB component with Delphi 7. I need just the code to fill the forms and click the pseudo-button presented, not a full program.
In the [login to view URL] Event, here is the code base I will be starting with...
var
WebForm: IHTMLFormElement;
Cookies: widestring;
iDoc: IHTMLDocument2;
forms: IHTMLElementCollection;
begin
iDoc := [login to view URL] as IHTMLDocument2;
if not assigned(iDoc) then
Exit;
if AnsiCompareText(URL,LOGINPAGE_URL)=0 then
begin
// perform login here
end;
Thank you!
## Deliverables
I will consider the project complete when the login is properly automated.
You do not need to create a program, just provide the correct code for completing the login form and I will integrate that into my program and test it.