is there a specific reason you want to use ics for that ?
imho its much simpler to do stuff like this with selenium.
you can remote control your browser via a perl script, ie.:

my $sel = Test::WWW::Selenium->new( host => "localhost",
                                    port => 4444, 
                                    browser => "*firefox", 
                                    browser_url =>
                                    "https://www.yahoo.com"; );

$sel->open_ok("https://www.yahoo.com/login.aspx";);
$sel->wait_for_page_to_load_ok("30000");
$sel->type_ok("username", "hanswurst");
$sel->type_ok("password", "f00");
$sel->click_ok("link=log in");
$sel->wait_for_page_to_load_ok("30000");

#writetofile tempfile
my $src = $sel->get_html_source();
my $tempfile = "temp.html";
open (TEST, ">$tempfile");
print TEST "$src";
close (TEST);

inside that script you can do anything that you could do with perl.



TG> I have been looking through peoples usage of ICS Components today and
TG> have  found it very interesting.

TG> I came across a posting where an individual was asking if you could
TG> use these components inside of Delphi to auto fill a form and click Ok.

TG> Is that what the sample that was posted does?
TG> HttpCli1.URL := 'http://www.borland.com'; HttpCli1.RcvdStream := 
TG> TFileStream.Create('borland.html', fmCreate); HttpCli1.Get; if 
TG> HttpCli1.StatusCode <> 200 then
TG>    ShowMessage(HttpCli1.ReasonPhrase);
TG> HttpCli1.RcvdStream.Pos := 0;
TG> Memo1.Lines.LoadFromStream(HttpCli1.RcvdStream);
TG> HttpCli1.RcvdStream.Free;

TG> There is no mention of Post or Put anywhere?

TG> Would you be able to provied a better example of how you are able to
TG> auto-fill aspx input fields automatically and post the information,
TG> causing the page to update which would allow us to read the received
TG> strem
TG> containing the answer?

TG> Thanks very much for your help,
TG> Terry



-- 
Mit freundlichen Grüßen
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to