08 2011 档案
Transform XML using XSLT
摘要:Use XslTransform class in System.Xml.Xsl ;Original XML(testCases.xml):<?xmlversion="1.0"encoding="utf-8"?><testcases><testcaseid="001"bvt="yes"><inputs><arg1>red</arg1><arg2>blue</arg2></inputs><expected
阅读全文
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
阅读全文
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
阅读全文
浙公网安备 33010602011771号