Thursday, January 13, 2011

AutoIT Script Generator-AU3Recorder

To write autoit scipt,we need not learn the autoit scripting language.Instead ,we can download SciTE4AutoIt3from http://www.autoitscript.com/autoit3/scite/downloads.shtml and install.Of course you need to have downloaded AutoIt from http://www.autoitscript.com/autoit3/downloads.shtml  and installed, before installing SciTE.
  
What can AU3Record do for you:
  1. It will record Mouseclicks and Keyboardstrokes for you and translate those into AutoIt3 commands.
  2. There is a AU3Record included which will store the recorded information into the currently edit file.

    After installing ,goto start->programs->autoitv3->Scite Script Editor.

    A window opens->go to tools and select AU3Recorder.
        Also you can Start AU3Record by  hitting Alt+F6:

Optionally Select the program you want to run before starting to recording and click on REC.
Now do all pointing, clicking and typing and when finished click on
Something like this will be inserted into you active script:



 Save the file by clicking save as-> new.au3 . and then double click on saved file to execute the recorded action.

Solution to possible problem: When you click new file,it doesn't show au3recorder under tools until you save the file as autoITscript

7 comments:

  1. BlueDuck SDA 1.0.2 (Beta)
    Autoit Driver for Selenium. Combining automation for Win32 and Web in
    a single script. The perfect combination for developing automated
    cases, AutoIt and Selenium together.

    https://sourceforge.net/projects/blueducksda/
    http://sda.blueducktesting.com/
    http://blueducktesting.com/blog/

    Features:

    -> It's a free Open Source tool. There are no costs to use the tool.
    -> It Supports your web app No Matter What It Is Developed in.
    -> It Supports multiple browsers in all Windows version
    -> It Easy to learn BASIC-like syntax
    -> Manipulate windows and Processes
    -> Interact with all standard windows controls
    -> Scripts can be Into standalone executables compiled
    -> Regular expressions
    -> Directly call external DLL and Windows API Functions
    -> is also very small, self-contained and will run on all versions of
    Windows out-of-the-box with no annoying "runtimes" required!
    -> Integration with Testlink 1.9.1
    -> DataProvider
    -> Object Repository
    -> and more!!

    ReplyDelete
    Replies
    1. I cannot view this popupwindow when i hit alt+f6 or by selecting Au3recorder. Nothing happens when i click the Recorder button. Do we have to install this recorder manually. All i can see is the following
      >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /AU3Record
      >Exit code: 0 Time: 0.144

      Delete
    2. Hi Veena,

      Before use Au3recorder you need create and save a .au3 file. When you do that you can start recorder.

      Best regards.

      Delete
  2. Hello, i have the same problem:
    >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /AU3record
    >Exit code: 0 Time: 0.3712

    The .au3 file is saved, but the recorder won't start.

    I reinstalled the application, rebooted the machine, but no luck.

    ReplyDelete
  3. I am having the same issue Batariks. I have downloaded everything from there webpage can looked through every folder. There is no AU3record in there

    ReplyDelete
  4. I am having the same issue Batariks. I have downloaded everything from there webpage can looked through every folder. There is no AU3record in there

    ReplyDelete
  5. try an older release, it work's for me

    ReplyDelete