资源简介
一个简单的猴子测试工具,随机点击界面,输入随机字符和键盘按键,对于某些类型的控件做出特定的动作,监视被测试程序的进程信息,能识别出程序是否出现异常,持续记录内存和CPU使用情况,方便发现是否存在内存泄漏问题,持续截屏,方便追溯和问题定位。
代码片段和文件信息
using System.Reflection;
using System.Runtime.CompilerServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: Assemblytitle(““)]
[assembly: AssemblyDescription(““)]
[assembly: AssemblyConfiguration(““)]
[assembly: AssemblyCompany(““)]
[assembly: AssemblyProduct(““)]
[assembly: AssemblyCopyright(““)]
[assembly: AssemblyTrademark(““)]
[assembly: AssemblyCulture(““)]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the ‘*‘ as shown below:
[assembly: AssemblyVersion(“1.0.*“)]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified the
// following processing occurs:
// (1) If the KeyName can be found in the CSP that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\. For example if your KeyFile is
// located in the project directory you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile(“..\\..\\mykey.snk“)]
// (*) Delay Signing is an advanced option - see the Microsoft .NET framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile(““)]
[assembly: AssemblyKeyName(““)]
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1078 2004-03-07 18:15 SmartMonkey\App.ico
文件 2426 2004-03-07 18:15 SmartMonkey\AssemblyInfo.cs
文件 12842 2007-12-05 12:13 SmartMonkey\Form1.cs
文件 8965 2007-12-05 12:13 SmartMonkey\Form1.resx
文件 3326 2007-12-05 09:26 SmartMonkey\GDIAPI.cs
文件 3410 2007-11-28 11:24 SmartMonkey\MouseAPI.cs
文件 4207 2007-11-29 09:13 SmartMonkey\TestMonkey.csproj
文件 2081 2007-11-28 11:17 SmartMonkey\TestMonkey.csproj.user
文件 1513 2007-11-28 12:28 SmartMonkey\TestMonkey.sln
..A..H. 25088 2007-12-05 12:20 SmartMonkey\TestMonkey.suo
文件 2667 2007-11-28 11:18 SmartMonkey\UpgradeLog.xm
文件 1078 2004-03-07 18:15 SmartMonkey\Backup\App.ico
文件 2426 2004-03-07 18:15 SmartMonkey\Backup\AssemblyInfo.cs
文件 5415 2004-04-30 17:49 SmartMonkey\Backup\Form1.cs
文件 11467 2004-04-30 17:49 SmartMonkey\Backup\Form1.resx
文件 3118 2004-03-10 02:39 SmartMonkey\Backup\MouseAPI.cs
文件 4897 2004-03-09 22:19 SmartMonkey\Backup\TestMonkey.csproj
文件 1803 2004-07-31 12:32 SmartMonkey\Backup\TestMonkey.csproj.user
文件 905 2004-03-07 18:15 SmartMonkey\Backup\TestMonkey.sln
..A..H. 8192 2004-07-31 12:32 SmartMonkey\Backup\TestMonkey.suo
文件 28672 2007-12-05 12:13 SmartMonkey\bin\Debug\TestMonkey.exe
文件 24064 2007-12-05 12:13 SmartMonkey\bin\Debug\TestMonkey.pdb
文件 5632 2005-11-11 22:25 SmartMonkey\bin\Debug\TestMonkey.vshost.exe
文件 1833 2007-12-05 12:06 SmartMonkey\bin\Debug\KeyBoardString.txt
文件 3213 2007-11-28 12:28 SmartMonkey\AUT\AUT.csproj
文件 1099 2007-11-28 14:22 SmartMonkey\AUT\Form1.cs
文件 2642 2007-11-28 14:22 SmartMonkey\AUT\Form1.Designer.cs
文件 5814 2007-11-28 14:22 SmartMonkey\AUT\Form1.resx
文件 462 2007-11-28 12:28 SmartMonkey\AUT\Program.cs
文件 20480 2007-11-28 14:22 SmartMonkey\AUT\bin\Debug\AUT.exe
............此处省略41个文件信息
评论
共有 条评论