Jump to content

AutoIt Extension Library for Robot Framework


CMTaylor
 Share

Recommended Posts

AutoItLibrary is a Python keyword library that extends Robot Framework by providing keywords based on the COM interface to AutoIt. Information on Robot Framework is available here: http://code.google.com/p/robotframework/. AutoItLibrary is released in a similar manner to other Robot Framework extension libraries, as a Google Code Open Source project hosted here: http://code.google.com/p/robotframework-autoitlibrary/. The work on this library was supported by my employer, Texas Instruments, Inc., which also holds the copyright on this work.

I welcome your comments, suggestions and other feedback on this new integration of AutoIt and Robot Framework.

Best Regards,

C. Martin Taylor

Sr. Test Automation Specialist

Texas Instruments, Education Technology

7800 Banner Drive, MS 3908, Dallas, TX 75251

Link to comment
Share on other sites

  • 1 year later...
  • 3 years later...

Welcome to AutoIt and the forum!

I'm not too confident that you will get a reply. The OP has been offline for about 4 1/2 years.

I suggest to search the web for "AutoitLibrary robot framework example" or something similar.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • 2 months later...
  • 8 months later...

Hi,

I have installed the Autoit for win7 as following

1- we should install "ActivePython-2.7.8.10-win32.exe" because Autoit library don't work with 64bit version
2- install Python for Windows Extensions by "pywin32-218.win32-py2.7.exe"
3- install "wxPython2.8-win32-unicode-2.8.12.1-py27.exe" for RIDE GUI
3.1_ download or use get-pip.py from the installation directory
3.2_ connect to internet
3.3_ install (pip) by: "python get-pip.py" and restart
3.4_ install (setuptools) by: "pip install -U setuptools"
4- install Robot Framework by PIP command by: "pip install robotframework"
5- install Robot Framework IDE(RIDE) by: "pip install robotframework-ride"
6- for install pyUSB library extract "pyusb-1.0.0b2.zip" in C:\Python27\Scripts path and run: "python setup.py install"
7- install python image library by "PIL-1.1.7.win32-py2.7.exe"
8- install "autoit-v3-setup.exe"
9- for install Autoit library extract "AutoItLibrary-1.1.zip" in C:\Python27\Scripts path and run: "python setup.py install"

10- pip install -u robotframework-requests

11-pip install certifi

12-pip install pyopenssl ndg-httpsclient pyasn1

13-pip install urllib3

14-pip install pywinauto

When I am executing the C:\RobotFramework\Extensions\AutoItLibrary\tests\RobotIDE.bat

I have an already made example that has been used the AutoItLibrary.

The problem is, when I am running the example, I have the following Errors:

[ ERROR ] Error in test library 'AutoItLibrary': Creating keyword 'Run' failed: Keyword with same name defined multiple times.
[ ERROR ] Error in test library 'AutoItLibrary': Creating keyword 'Win Wait' failed: Keyword with same name defined multiple times.
[ ERROR ] Error in test library 'AutoItLibrary': Creating keyword 'Win Wait Active' failed: Keyword with same name defined multiple times.
[ ERROR ] Error in test library 'AutoItLibrary': Creating keyword 'Win Wait Close' failed: Keyword with same name defined multiple times.

What is wrong with me?

Kind regards,

BD

Link to comment
Share on other sites

Welcome to AutoIt and the forum!

I'm not too confident that you will get a reply. The OP has been offline for about 5 1/2 years.

I suggest to search the web for "AutoitLibrary robot framework example" or something similar.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

C:\RobotFramework\Extensions\AutoItLibrary\tests\RobotIDE.bat that is executed by me is exactly the example of AutoIt.

I did not change or modify it. I am wondered that Why the AutoItLibrary that has been installed correctly (without any error) has such big problem in its own example.

 

Link to comment
Share on other sites

its archived since 2010 so do not expect support on it.

Alternatives are completely depending on what you want to achieve. many datadriven and keyword automation frameworks are flowing around

ie.udf, ff.udf, chrome.udf in the examples forum

native autoit commands can do a lot on windows controls

TN3270 / mainframe https://www.autoitscript.com/forum/topic/177156-trying-to-read-the-data-in-mainframe-screen-but-not-able-to/

 

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...