C#自动化测试工具编写(借助API)UI自动化demo,已验证可用【非常好的例子,便于理解】

上传者: 31776665 | 上传时间: 2024-05-30 00:00:32 | 文件大小: 190KB | 文件类型: RAR
在日常编码过程中,我们常常会进行自动化测试。这里的自动化测试不是指单元测试,而是模拟人工输入来进行快速的、高并发的测试。可以使用的自动化工具有LOADRUNNER,以及目前在VS2010中的功能很强大的测试工作平台(录制操作步骤,自动生成代码)。但是,这些工具的熟练掌握也有一定的时间成本,并且,最主要的,对于一个程序员来说,那不够灵活。所以,比较高效的一个做法是,调用WINDOWS API,自己动手写编码来实现。

文件下载

资源详情

[{"title":"( 56 个子文件 190KB ) C#自动化测试工具编写(借助API)UI自动化demo,已验证可用【非常好的例子,便于理解】","children":[{"title":"WindowsFormsToBeTest","children":[{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WindowsFormsToBeTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.write.1.tlog <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.csprojAssemblyReference.cache <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.09KB </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WindowsFormsToBeTest.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.exe <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.read.1.tlog <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.FormLogin.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"FormLogin.Designer.cs <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"FormLogin.cs <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"WindowsFormsToBeTest.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.exe <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"WindowsFormsToBeTest.csproj <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"FormLogin.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":true},{"title":".vs","children":[{"title":"WindowsFormsTestExample","children":[{"title":"v15","children":[{"title":".suo <span style='color:#111;'> 71.00KB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"sqlite3","children":[{"title":"storage.ide-shm <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"storage.ide <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"storage.ide-wal <span style='color:#111;'> 583.43KB </span>","children":null,"spread":false},{"title":"db.lock <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"WindowsFormsTestExample.sln <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WindowsFormsTest.exe <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.write.1.tlog <span style='color:#111;'> 694B </span>","children":null,"spread":false},{"title":"WindowsFormsTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsTest.csproj.GenerateResource.cache <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"WindowsFormsTest.csprojAssemblyReference.cache <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WindowsFormsTest.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.read.1.tlog <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 753B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WindowsFormsTest.exe <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"WindowsFormsTest.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsFormsTest.csproj <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsFormsTestExample.suo <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明