Solved

interacting with web form

Posted on 2014-09-10
4
140 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 25

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 25

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
map interface methods 3 52
FizzBuzz challenge 9 73
delphi parse string to params 3 82
Problem to start Neon 20 53
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
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 viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

758 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

20 Experts available now in Live!

Get 1:1 Help Now