Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

interacting with web form

Posted on 2014-09-10
4
Medium Priority
?
182 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 28

Accepted Solution

by:
Sinisa Vuk earned 2000 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 28

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 101

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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
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 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…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

916 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