Jump to content
CMTaylor

AutoIt Extension Library for Robot Framework

Recommended Posts

CMTaylor

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

Share this post


Link to post
Share on other sites
MaverickSweden

Great work! Taylor!

I hope my employer allows me to open source some of my testing libraries too.

Cheers,

Zhe

Share this post


Link to post
Share on other sites
rnagulapalle

Hi Martin,

I have installed AutoitLibrary on win 7 32bit and i am able to run tests using batch file.

But i could not find sample tests. Can you please provide me calculator tests location or some sample code would help me learn this tool.

Share this post


Link to post
Share on other sites
water

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 (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
rnagulapalle

Thank you and i have been searching on Google and also posted in Google forum but no samples found. i saw API documentation but just wondering, how to start a text case

Share this post


Link to post
Share on other sites
joelee

the examples will be in C:RobotFrameworkExtensionsAutoItLibrarytests after installation. 

anyone knows other libraries like AutoItLibrary ? 

This library is too old and its help documents is too simple :(

Share this post


Link to post
Share on other sites
behzad

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

Share this post


Link to post
Share on other sites
water

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 (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
behzad

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.

 

Share this post


Link to post
Share on other sites
junkew

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/

 

  • Like 1

Share this post


Link to post
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

×