Jump to content

Recommended Posts

Posted

Hi,

I am trying to automate some actions on my web site.

Lets take Google for example, I want to load www.google.com site, write a text in the text box used for search and press the search button. I am trying to automate this actions but I couldn't find a way to refer to the text box in the web page.

I tried to use 'AutoIT window info" to get information about the control but it only shows 'Internet Explorer_Server1' as the ClassnameNN for it. I tried to use that but it didn't work.

Does AutoIt can be used with web page? How this can be done easly?

Thanks very much,

YaronP

Posted

I don't really know how you would write something to the input box, but take a look at this, i think its more reliable:

If you search something with google (lets say autoit), you get an URL like this:

http://www.google.com/search?hl=en&q=autoit&btnG=Google+Search

Now just replace the ...q=autoit... part with the string you wanna search for, lets say you wanna search for "hummer h2", do this:

http://www.google.com/search?hl=en&q=hummer+H2&btnG=Google+Search

Ok?

Felix

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
  • Recently Browsing   0 members

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