welcome to Qijie's Blog 薛其杰

随笔分类 -  Testing

Nunit 使用介绍
摘要:Nunit是.NET平台单元测试框架,其是从Junit发展而来,它强大之处是支持所有的.NET语言。Nunit的下载地址:http://www.nunit.org介绍1:布局:左面:我们写的每一个单元测试右边:测试进度条测试执行状态:进度条的颜色来反映绿色:所有测试案例运行成功黄色:某些测试被忽略,... 阅读全文
posted @ 2014-09-18 11:00 零点零一 阅读(531) 评论(0) 推荐(0)
UI Automation 简介
摘要:转载,源地址: http://blog.csdn.net/ffeiffei/article/details/6637418MS UI Automation(Microsoft User Interface Automation:UIA)是随.net framework3.0一起发布的,虽然在如今这个... 阅读全文
posted @ 2014-09-11 14:30 零点零一 阅读(2605) 评论(0) 推荐(2)
Visual Studio Usage
摘要:NavigationDouble click on UI element goes to its _click event.F12 – for method or variable, go to its definition by right-click on element and select ... 阅读全文
posted @ 2014-07-08 11:16 零点零一 阅读(329) 评论(0) 推荐(0)
UI Automation By Microsoft
摘要:Getting start with UI test automation using the new Microsoft UI Automation library, UIWalker.dll is written by Qijie Xue (qijiexue@outlook.com). Feel free to use below codes in your UI automation testing, please mark where you get this codes if you'd like to re-post. 1 using System; 2 using Sys 阅读全文
posted @ 2013-04-10 17:25 零点零一 阅读(1924) 评论(0) 推荐(0)
UIA: Choose item in Combobox
摘要:Use UI Automation, to choose an item in Combobox, code like this:using System.Windows.Automation; public static void SetSelectedComboBoxItem(AutomationElement comboBox, string item) { AutomationPattern automationPatternFromElement = GetSpecifiedPattern(comboBox, "ExpandColla... 阅读全文
posted @ 2013-04-02 15:05 零点零一 阅读(734) 评论(0) 推荐(0)
Keyboard supports in Software Testing
摘要:Keyboards supportKeyboard accessibility supports aim to enable customer to manipulatethe software through keyboard. It includes assign hot keys to active controls;enable Tabbing to navigate focus in difference controls; enable Space bar toactivate an active control.· Focus is clearly marked all 阅读全文
posted @ 2012-03-28 15:28 零点零一 阅读(183) 评论(0) 推荐(0)
Auto Test: Test Case Structure
摘要:最近在使用的一些Test Case 的逻辑结构:接口:interfaceITestCase{stringCaseID{get;set;}stringCaseTitle{get;set;}boolPassed{get;set;}voidExcuteTC(stringxmlFilePath,stringinfFilePath);boolVerifyPass(stringxmlFilePath,stringinfFilePath);}Sample of Test Case:classTestCase_1:ITestCase{publicstringCaseID{get{return"1&a 阅读全文
posted @ 2011-11-01 17:29 零点零一 阅读(572) 评论(0) 推荐(1)
UI Testing via windows API
摘要:Using C# language to call windows API, in following codes we mainly used methods located in user32.dll , so we firstly should create a method in C# that will mapping the corresponding method in user32.dll. in these codes, you will see:1. to geta window handler2. to get a control in the window3. to g 阅读全文
posted @ 2011-08-18 07:59 零点零一 阅读(553) 评论(0) 推荐(1)
UI testing via Reflection in .NET
摘要:When doing UI testing of Win Formwith .NET, there is an easy way to automate it. It is reflection in .NET.There is a tool integrated in VSTS, named Spy++, using it you can get any win form caption in your desk.Following are the code for UI testing by reflection, key code refered <<.NET Test Au 阅读全文
posted @ 2011-08-13 20:16 零点零一 阅读(1155) 评论(0) 推荐(0)
Check {Default Path}, {EULA}, {CodeSign} of SFX file using C#
摘要:Key words: Verify default path , EULA, CodeSign of SFX fileKey words: Extract SFX files and Submit themto VCSKey words: Asynchronouscallback of delegationI meet an issuewhen taking my job, everyday i ... 阅读全文
posted @ 2010-11-11 15:52 零点零一 阅读(486) 评论(0) 推荐(1)
检查DIsk中的空文件夹
摘要:公司里边有一条test case是检查提供给客户的文件里边没有空的文件夹, 我自己就做了个小工具来跑这条 case. 基础就是利用.NET 3.5中的SystemFileInfo类来调区disk上的信息:界面如下:代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlig... 阅读全文
posted @ 2010-07-30 17:05 零点零一 阅读(466) 评论(0) 推荐(0)
中英文对照术语表
摘要:EnglishChineseShortWindows Error ReportingWindows 错误报告WERCustomer Experience Improvement Plan用户体验改进计划CEIPsoftware as a service软件即服务SaaSusability testing可用性测试triage三方会审training as SDETSDET培训tracking te... 阅读全文
posted @ 2010-01-06 12:21 零点零一 阅读(761) 评论(0) 推荐(0)