2012年11月30日

HtmlAutoTestFrameWork

摘要: 前段时间做的自动化测试的是Silverlight的,框架都已经搭好。突然测试发现这里还有一个要发送邮件的html页面,并且将另外启动浏览器,于是今天下午把这个html的也写出来。用法 :HtmlAutoTestFrameWork htf = new HtmlAutoTestFrameWork(); htf.BrowserDefaultIE();HtmlTextArea heTo2 = htf.ByPropert<HtmlTextArea>("Id:input-to;TagName:TEXTAREA;Class:text"); heTo2.Text = " 阅读全文

posted @ 2012-11-30 16:06 sajiao 阅读(1165) 评论(0) 推荐(0) 编辑

文件转string,string转换成文件

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace DFISAPITestTool{ public partial class Form1 : Form { private string FileName; ... 阅读全文

posted @ 2012-11-30 10:13 sajiao 阅读(4039) 评论(0) 推荐(0) 编辑

导航

街边网