资源简介
自动化测试工具中文件上传需要的一个数据资源
代码片段和文件信息
“““
Package: robotframework-AutoItLibrary
Module: AutoItLibrary Installation Module
Purpose: This is a Python “Distutils“ setup program used to build installers for and to install the
robotframework-AutoItLibrary.
Copyright (c) 2008-2010 Texas Instruments Inc.
Licensed under the Apache License Version 2.0 (the “License“);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing software
distributed under the License is distributed on an “AS IS“ BASIS
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
“““
__author__ = “Martin Taylor “
from distutils.core import setup
from distutils.sysconfig import get_python_lib
import sys
import os
import shutil
import subprocess
CLASSIFIERS = “““
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: Microsoft :: Windows
Programming Language :: Python
Topic :: Software Development :: Testing
“““[1:-1]
DEscriptION = “““
AutoItLibrary is a Robot framework keyword library wrapper for for the
freeware AutoIt tool (http://www.autoitscript.com/autoit3/index.shtml)
using AutoIt‘s AutoItX.dll COM object. 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.
“““[1:-1]
if __name__ == “__main__“:
#
# Install the 3rd party packages
#
if sys.argv[1].lower() == “install“ :
if os.name == “nt“ :
#
# Install and register AutoItX
#
if os.path.isfile(os.path.join(get_python_lib() “AutoItLibrary/lib/AutoItX3.dll“)) :
print “Don‘t think we need to unregister the old one...“
instDir = os.path.normpath(os.path.join(get_python_lib() “AutoItLibrary/lib“))
if not os.path.isdir(instDir) :
os.makedirs(instDir)
instFile = os.path.normpath(os.path.join(instDir “AutoItX3.dll“))
shutil.copyfile(“3rdPartyTools/AutoIt/AutoItX3.dll“ instFile)
#
# Register the AutoItX COM object
# and make its methods known to Python
#
cmd = r“%SYSTEMROOT%\system32\regsvr32.exe /S “ + instFile
print cmd
subprocess.check_call(cmd shell=True)
makepy = os.path.normpath(os.path.join(get_python_lib() “win32com/client/makepy.py“))
#
# Make sure we have win32com installed
#
if not os.path.isfile(makepy) :
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 185728 2010-04-16 02:49 AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\Au3Info.exe
文件 183056 2010-04-16 02:49 AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\AutoItX.chm
文件 378760 2013-08-02 16:36 AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\AutoItX3.dll
文件 4954 2009-11-12 08:45 AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\AutoIt_License.html
文件 1225 2009-11-12 08:45 AutoItLibrary-1.1_x64\build\lib\AutoItLibrary\Counter.py
文件 5813 2009-11-12 08:45 AutoItLibrary-1.1_x64\build\lib\AutoItLibrary\Logger.py
文件 17023 2013-08-09 15:06 AutoItLibrary-1.1_x64\build\lib\AutoItLibrary\__init__.py
文件 586 2009-11-12 08:45 AutoItLibrary-1.1_x64\COPYRIGHT.txt
文件 38359 2010-04-23 15:38 AutoItLibrary-1.1_x64\doc\AutoItLibrary.html
文件 1148 2013-08-02 15:38 AutoItLibrary-1.1_x64\files.txt
文件 9522 2009-11-12 08:45 AutoItLibrary-1.1_x64\LICENSE.txt
文件 975 2010-04-23 15:38 AutoItLibrary-1.1_x64\PKG-INFO
文件 1534 2009-11-12 08:45 AutoItLibrary-1.1_x64\README.txt
文件 5568 2013-08-17 15:29 AutoItLibrary-1.1_x64\setup.py
文件 1225 2009-11-12 08:45 AutoItLibrary-1.1_x64\src\AutoItLibrary\Counter.py
文件 5813 2009-11-12 08:45 AutoItLibrary-1.1_x64\src\AutoItLibrary\Logger.py
文件 17023 2013-08-09 15:06 AutoItLibrary-1.1_x64\src\AutoItLibrary\__init__.py
文件 5857 2010-04-23 14:03 AutoItLibrary-1.1_x64\tests_cn\CalculatorGUIMap.py
文件 3323 2013-08-02 16:45 AutoItLibrary-1.1_x64\tests_cn\CalculatorGUIMap.pyc
文件 20512 2013-08-17 15:24 AutoItLibrary-1.1_x64\tests_cn\Calculator_Test_Cases.html
文件 198898 2013-08-02 17:11 AutoItLibrary-1.1_x64\tests_cn\results\log.html
文件 8864 2013-08-02 17:11 AutoItLibrary-1.1_x64\tests_cn\results\output.xm
文件 201156 2013-08-02 17:11 AutoItLibrary-1.1_x64\tests_cn\results\report.html
文件 73 2009-11-12 08:45 AutoItLibrary-1.1_x64\tests_cn\RobotIDE.bat
文件 952 2009-11-12 08:45 AutoItLibrary-1.1_x64\tests_cn\RunTests.bat
文件 1495 2010-04-23 09:44 AutoItLibrary-1.1_x64\tests_cn\__init__.html
文件 5857 2010-04-23 14:03 AutoItLibrary-1.1_x64\tests_en\CalculatorGUIMap.py
文件 3363 2013-08-02 14:55 AutoItLibrary-1.1_x64\tests_en\CalculatorGUIMap.pyc
文件 18670 2010-04-23 14:07 AutoItLibrary-1.1_x64\tests_en\Calculator_Test_Cases.html
文件 199363 2013-08-02 14:56 AutoItLibrary-1.1_x64\tests_en\results\log.html
............此处省略21个文件信息
- 上一篇:ONENET笔记
- 下一篇:基于PID算法的电加热炉温度控制仿真
相关资源
- HexEditor.dll 64位下载55645
- CH340 、USB转串口驱动、Win10 64位,亲测
- sed.exe 64位
- 天正建筑2014过期补丁+64位系统解决天
- 64位vst插件
- xinput1-3.dll官方 WIN7 64位
- ENVI5.3破解版64位
- Ubuntu-14.04.1系统32位和64位种子
- sokit-1.3-linux64
- nmake.exe for windows 64位
- TSCLIB.dll TSCLIB.lib 32位和64位都有。
- eclipse中文版支持win1064位.txt
- 进程外com组件实现win764位软件调用3
- winmips64模拟器
- msvcr100d.dll(包括32位和64位两个版本)
- 破解64位windows密码-GetPassword_x64
- libcurl 64位编译 lib 库
- 64位以内Rabin-Miller 强伪素数测试和P
- Win7 64位 旗舰版 安装CodeWarrior5.1的方法
- windows 64位 msvcrtd.dll
- Eagle 8.0.1 win 64位版本 破解补丁
- gdal-2.4.3-mingw64地址.txt
- Visio 2010*64位简体中文专业版地址
- IEDriverServer_x64
- api-ms-win-*.dll 64位
- XR21x141x-XP2KVista7-DriversOnly-Vers1.9.0.0XR
- api-ms-win-core-heap-l2-1-0.dll 64位
- jdk免安装windows版64位,解压直接能用
- IEDriverServer3.0 (64位)
- 联想启天M7150 最新BIOS 90KT23CUS含升级操
评论
共有 条评论