Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Automate Web Form Submission Using Bot

Posted on 2009-05-15
2
Medium Priority
?
736 Views
Last Modified: 2013-12-26
We have been using an older ASP script for some time to automate the process of extracting data from a paid subscription site that we need to check frequently for updates.  The owner of the site has recently updated it to use ASP.NET (previously they were using asp 2.0) and now it appears that postbacks are not working anymore as some element of ASP.NET is preventing us from properly submitting data to the website's forms using http post.  Where in the past we were able to script the login to the site and the action of setting up a search by posting data to the web site forms, we can no longer do so.  The question is, what are our options for automating this process?  I'm thinking there must be some way to develop a bot application that will impersonate a browser session rather than simply posting the data to their forms in a script but I'm not even sure where to start.  Does VBScript or Wscript include a browser object that can be accessed programmatically?   I already have the code that parses the data returned from the search so it would be simple enough to modify that to read from a file output that could be saved from some new "bot" application that logs into the site and extracts the search results automatically.  
0
Comment
Question by:emilysam
[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 Comments
 

Accepted Solution

by:
CyberSimon earned 1500 total points
ID: 24509883
You can use the InternetExplorer.Application object to script the form and get the results.

Here's an example:
http://www.eggheadcafe.com/articles/20011215.asp
0
 

Author Closing Comment

by:emilysam
ID: 31582088
Thanks for link.  I was hoping to get some feedback as to the best way to accomplish this task.  I will explore the suggested solution.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

609 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