Jump to content

AutoIt3 and Webpages


Monty
 Share

Recommended Posts

Hey guys, I am working with AutoIt3 and some webpages, and I need some help.

Question 1:

What is the best/easiest/quickest way to find out information about fields on a form. Is there any utility that will display this information or is it only by trial and error? (maybe something similar to AutoIt3 WinInfo).

Question 2:

Lets say that I loaded a page successfully using below script (example/template only)...how do I then continue to collect data on the new page after the last line on script? (_IEFormSubmit($oForm))

#include <IE.au3>

$oIE = _IECreate("http://*******************")

$oForm = _IEFormGetCollection($oIE, 0)

$oQuery1 = _IEFormElementGetCollection($oForm, 0)

_IEFormElementSetValue($oQuery1, "data1")

$oQuery2 = _IEFormElementGetCollection($oForm, 1)

_IEFormElementSetValue($oQuery2, "data2")

_IEFormSubmit($oForm)

Any help will be greatly appreciated. Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...