Hi All,
I read thread "expand autoitlibrary"
(https://groups.google.com/forum/#!searchin/robotframework-users/autoitlibrary/robotframework-users/GeEJSUMnlmA/jF0g35sHK3EJ)
but that was from 2012 and did not exactly answer my question, other than doing it myself, which maybe is still the answer.
====
I realize that the AutoitLibrary does only a subset of what is available from Autoit itself.
However, the doc shows all these as being available
http://robotframework-autoitlibrary.googlecode.com/svn-history/r15/trunk/doc/AutoItLibrary.html
113 methods available overall.
When I am in RIDE and I key in "auto" and hit Cntrl-Space it shows only 9 (NINE) available,
and those are the only ones that indeed work.
AutoItLibrary.Get Active Window Image
AutoItLibrary.Get Auto It Version
AutoItLibrary.Get Screen Image
AutoItLibrary.Run
AutoItLibrary.Get Version
AutoItLibrary.Wait For Active Window
AutoItLibrary.Win Wait
AutoItLibrary.Win Wait Active
AutoItLibrary.Win Wait Close
Ideas?
Is this a dead library, no work on it being done and left abandoned and unfinished even at the time of last version?
Thanks in Advance
I am running:
ENV
Parallels VM (on mac)
with ModernIE's IE9/Win7 Build 20131127 for VirtualBox install as an Appliance
PYTHON
ActivePython-2.7.6.9-win32-x86
pywin32-219.win32-py2.7
wxPython2.8-win32-unicode-2.8.11.0-py27 (this version needed for RIDE to work)
PIL-1.1.7.win32-py2.7 (for screen cap to work)
ROBOT
robotframework-2.8.4.win32
robotframework-seleniumlibrary-2.9.1.win32
robotframework-ride-1.2.3.win32
AUTOIT
AutoItLibrary-1.1
Two possibilities here:
1. You’re doing something wrong.
2. I’ve got a more up-to-date version and need to do a release.
AutoItLibrary is “not dead yet”, but languishes because I have no work-related reason to use it. My very small Test Automation team is overloaded with developing and maintaining proprietary Robot Framework libraries that we use to test our products, so finding time to maintain and release a library that we don’t use is rather difficult.
That said, when I invoke the AutoItLibrary self-test suite in RIDE I and type auto<ctrl-space> I get the full list of all supported keywords, not the short list that you claim. AutoItLibrary has two kinds of KWs that it supports, as stated in the class documentation: “The
*AutoItLibrary* class provides a proxy for the AutoIt keywords callable on the AutoIt COM object and
provides additional high-level keywords implemented as methods in this class.”
I suspect that somehow in RIDE you’re seeing only the native KWs implemented in the __init__.py module and not the KWs in the underlying COM object that AutoItLibrary provides proxy access to. One possibility of why this might be happening is that you have either a different Python setup that I’m familiar with, and thus AutoItLibrary didn’t find the right place to put its .xml documentation file, or that you didn’t install AutoItLibrary using the standard “python setup.py install” procedure. To verify both of these possibilities, check your system for the existence of:
C:\Python27\Lib\site-packages\robotide\spec\AutoItLibrary.xml
If that file path doesn’t exist, then that’s why you’re not seeing all the AutoItLibrary KW names in RIDE.
Please look for that file and let me know what you find. I’d also be interested in details about your system configuration and Python version.
Thanks,
Martin
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
robotframework-u...@googlegroups.com.
To post to this group, send email to
robotframe...@googlegroups.com.
Visit this group at
http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
>Two possibilities here:
>AutoItLibrary is “not dead yet”, but languishes because I have no work-related reason to use it. My very small Test
that is good news over all.
> *AutoItLibrary* class provides a proxy for the AutoIt keywords callable on the AutoIt COM object and
> provides additional high-level keywords implemented as methods in this class.”
>I suspect that somehow in RIDE you’re seeing only the native KWs implemented in the __init__.py module
>check your system for the existence of:
> C:\Python27\Lib\site-packages\robotide\spec\AutoItLibrary.xml
>If that file path doesn’t exist, then that’s why you’re not seeing all the AutoItLibrary KW names in RIDE.
>Please look for that file and let me know what you find. I’d also be interested in details about your system configuration and Python version.
so when I check C:\Python27\Lib\site-packages\robotide\spec
I do not see AutoItLibrary.xml
the python is (I tried with with the standard python release and had the same results so I switch over to Active after reading it was the preferred solution)
I’m not sure what’s going wrong here but could you check and try the following.
Look inside the .zip file for doc/AutoItLibrary.xml. If it is NOT in the zip file then the public AutoItLibrary must be very old and I need to do an update ASAP.
If AutoItLibrary.xml is present, then try copying it manually to C:\Python27\Lib\site-packages\robotide\spec, then run RIDE and see what KWs you see for AutoItLibrary. This is a workaround for an install issue that I’m not sure what’s causing it. If you have to do this, and it works, could you please post the setup.py file from AutoItLibrary here so I can suggest a better fix.
Thanks,
Martin
--
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.
OK, I guess I really need to get a new release of AutoItLibrary done. I’ll see what I can do, but no promises on timing…
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at
http://groups.google.com/group/robotframework-users.
For more options, visit
https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
robotframework-u...@googlegroups.com.
To post to this group, send email to
robotframe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
Sure, try this (if it attaches OK). It may not TOTALLY match the code you have. I’m at version 1.2.4. I could probably just send out a new installer ZIP this way, too. The problem with a proper “re-release” is that I don’t remember how I did it all on googlecode before, and I know installer files can’t be put there anymore. And I’m extremely lame with GitHub. So I’ve got a big learning curve to go through to do a proper open source release again of AutoItLibrary.
Cheers,
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to
robotfram...@googlegroups.com.
Visit this group at
http://groups.google.com/group/robotframework-users.
For more options, visit
https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at
http://groups.google.com/group/robotframework-users.
For more options, visit
https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
robotframework-u...@googlegroups.com.
To post to this group, send email to
robotframe...@googlegroups.com.
...
Yes, the way AutoItLibrary works is by using some “Python magic” to scan and expose the APIs in a .dll. You MUST have the same version of AutoItX.dll as AutoItLibrary expects, and the AutoItLibrary setup.py installer should set this up for you correctly. When I mentioned version I meant the AutoItLibrary version, corresponding to the RIDE .xml file that I sent. The .xml file shouldn’t matter, except that it may tell you that some KWs exist in AutoItLibrary that do not exist in your earlier version.
--
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.