CMTaylor / robotframework-autoitlibrary

This library is now abandoned. For Windows GUI testing with RF please consider: https://github.com/Omenia/robotframework-whitelibrary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding support for AutoItSetOption function.

GoogleCodeExporter opened this issue · comments

Sometimes it is necessary to tweak AutoIt options such as window title match 
mode, therefore we need support for AutoItSetOption.

My version is here:

    def AutoItSetOption(self, Option, Value):
        """
        Set up AutoIt settings.
        Reference: 
        AutoItX.chm::/html/com_interface/methods/AutoItSetOption.htm
        """
        #print a message to log
        self._infoKW(self.AutoItSetOption, Option, Value)
        self._AutoIt.AutoItSetOption(str(Option), int(Value))


Thanks!

Original issue reported on code.google.com by linuxcit...@gmail.com on 8 Jul 2011 at 2:29