Solved

interacting with web form

Posted on 2014-09-10
4
142 Views
Last Modified: 2015-02-09
Hi, I'm using delphi and I would like to open a web page, fill a field and press submit automatically without the user intervention.

For example, I could call google, fille the search field and press search button and then I would read the results with my program, all this without the user seeing his web application open.    I'm usually using GetInetFile to perform this kind of thing but I don't know how to interact with the web form.
0
Comment
Question by:Buropro-Citation
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 40315218
Most popular way is to use TWebBrowser which is IE behind. Here, on EE there are few questions/answers already:
Q_24019589, Q_23201411, Q_23128532
http://www.swissdelphicenter.ch/torry/showcode.php?id=262

if you stuck somewhere... we are here.
0
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 40315279
...addition - you must wait until page is loaded - then you need to fill form. Waiting is described here:
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_28040513.html
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40598232
I've requested that this question be closed as follows:

Accepted answer: 500 points for Sinisa Vuk's comment #a40315218

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with my python script 6 154
split53 challenge 7 77
mapBully challenge 6 113
recursion example 16 111
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This article will show, step by step, how to integrate R code into a R Sweave document
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now