资源简介
自动化测试工具中文件上传需要的一个数据资源

代码片段和文件信息
“““
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算法的电加热炉温度控制仿真
相关资源
- 联想y470无线网卡驱动 for 32位64位
- JDK8 绿色版 免安装版 64位
- Win7 64位下不能运行dos 命令的原因
- win10 64位下编译的opencv4.5.5库,opencv
- H310.B360.H370.Z390.USB WIN7 64位第三方驱动
- librdkafka win7 64位 vs2015编译Release版本
- Notepad++最新版tidy2插件仅64位可用
- notepad++文本比较插件32位和64位
- ILASM32位 + 64位
- MTP USB驱动win7 32+64位可用版
- elite4 2.x驱动(解决加密狗驱动丢失问
- 富士通dpk8300E+驱动for win7 64位驱动
- windows 64位系统下安装Code Warrior6.3方法
- 钰硕ar8151网卡驱动 win7 64位 win7/10/xp
- Microsoft Visio 2013 Professional 64位简体中
- 佳能canon lbp3000激光打印机驱动 for w
- epson 2020黑白激光打印机驱动 win7/win
- BusHound_v6.0.1正式版破解版 x86( 32位
- Bushound 64位破解版
- 一个很好用的屏幕录像工具,支持x
- Ghost官方64位原版
- IBM x3650/x3550 M4芯
- ibm x3650 M5015 64位阵列卡
- 惠普HP LaserJet 1000 驱动 win7 64位
- 编译好的json_lib.lib 包含64位,32位,头
- windows 32位64位 x264库,包含libdll和头文
- samsung三星ml1610打印机驱动 for 32/64位
- windows64位ramdisk64
- USB3.0 WIN7 64位驱动
- H310阵列卡驱动x64位_win2003 64位raid驱动
评论
共有 条评论