Solved

interacting with web form

Posted on 2014-09-10
4
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 27

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 27

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to error 4 81
Math Equation 23 149
With Delphi XE10, how to use .Manifest file on WIndows 10 Machines 3 62
Problem to macro 5 21
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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