工作备忘
文章平均质量分 74
yimeng_1985
软件测试行业3年
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
XML转义字符
XML转义字符<br />测试的过程中,经常需要用到XML格式的配置文件,若需要用到大于号,小于号,和符合,(单/双)引号,常会导致XML文件解析错误。事实上,以上提到的5种字符在被用到的时候需要被替换为相应的实体。<br /> 因为如果在XML文档中使用类似"<" 的字符, 解析器会认为这是一个新元素的开始,从而导致解析器错误。<br />下面是五个在XML文档中预定义好的实体:<br /> <<大于号>>小于号&&和''单引号""双引号<br /> <br />原创 2010-09-20 15:38:00 · 650 阅读 · 0 评论 -
Microsoft.Office.Interop.Excel API 应用(一)ExcelApplication
1. 项目中添加引用“Microsoft.Office.Interop.Excel” ;2. 添加using “”using Microsoft.Office.Interop.Excel; Code:using System.Threading;using System.Runtime.InteropServices;using System.Diagnostics;u原创 2012-06-01 15:50:34 · 4243 阅读 · 1 评论 -
Office Excel API (四) Range
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using Microsoft.Office.Interop.Excel;namespace OfficeUtility{ /// /原创 2013-04-02 17:58:39 · 813 阅读 · 0 评论 -
Office Excel API (四) Cell
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop.Excel;namespace OfficeUtility{ /// /// Write and read excel ce原创 2013-04-02 17:59:48 · 927 阅读 · 0 评论 -
Office Outlook API (一)Create Outlook Instance
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;using System.Threading;using Microsoft.Office.Interop.Outlook;using原创 2013-04-02 17:43:42 · 2490 阅读 · 0 评论 -
Office Outlook API (三) Search Emails
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop.Outlook;using System.IO;namespace OfficeUtility{ /// /// Abo原创 2013-04-02 17:47:37 · 1931 阅读 · 0 评论 -
EWS Mail Operations (二)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Exchange.WebServices.Data;using System.Net;using System.IO;namespace OfficeUtility{原创 2013-04-02 17:50:03 · 1577 阅读 · 0 评论 -
Office Outlook API (二) Create and Send Mail
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop.Outlook;namespace OfficeUtility{ /// /// Outlook related opera原创 2013-04-02 17:46:15 · 1566 阅读 · 0 评论 -
WebClient Utility
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using HtmlAgilityPack;using System.Text.RegularExpressions;using System.IO;namespac原创 2013-04-02 17:52:07 · 828 阅读 · 0 评论 -
EWS Mail Operations (一)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Exchange.WebServices;using Microsoft.Exchange.WebServices.Data;using System.Net;using Sy原创 2013-04-02 17:49:01 · 1225 阅读 · 0 评论 -
Microsoft.Office.Interop.Excel API应用(二) Workbook
1. 项目中添加引用“Microsoft.Office.Interop.Excel”;2. 添加 Using Microsoft.Office.Interop.Excel;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using原创 2012-06-01 15:33:05 · 3493 阅读 · 0 评论 -
C# 用msiexec安装
忽略TestHarness.Logger.Log, 这是自定义的写日志的方法, 可以替换成Console.WriteLine() public static int InvokeMsi(string msiFilePath, string workDir, bool原创 2011-08-19 17:26:59 · 1869 阅读 · 0 评论 -
C# 从图片网站中查找符合要求的图片并按照特别要求存在本地硬盘
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Text.RegularExpressions原创 2011-08-19 17:16:21 · 546 阅读 · 0 评论 -
C# 读取搜索结果
怕丢了,说不定以后会用到,存在这里。 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using Syst原创 2011-08-19 17:13:17 · 1014 阅读 · 0 评论 -
Html Agility Pack学习(二):与Firefox插件Xpath/Firebug的结合应用
1. 打开Firefox浏览器,选择“Tools-->Add-Ons”;2. 在搜索框中输入“XPath”;3. 安装4. 重启FireFox, 打开http://www.baidu.com, 单击百度首页的“新闻”,,然后用鼠标右键单击“View Xpath” 命令原创 2011-08-29 16:35:52 · 2895 阅读 · 0 评论 -
开始
从今天开始原创 2011-12-12 14:37:27 · 590 阅读 · 0 评论 -
Html Agility Pack学习(一):HtmlAgilityPack类的简单应用
Html Agility Pack (HAP) is a HTML parser library that builds a read/ writes DOM and supports plain XPATH or XSLT. And it is for free. It formats Html as the standard Xml format using XpathDocument rel原创 2011-08-27 01:19:45 · 11546 阅读 · 0 评论 -
Office Excel API (三) Worksheet
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using Microsoft.Office.Interop.Excel;namespace OfficeUtility{ /// /原创 2013-04-02 17:57:16 · 1338 阅读 · 0 评论
分享