- 博客(19)
- 收藏
- 关注
转载 【转】HelloWorld-eclipse小的j2me开发
一、简介:本文环境主要是jdk1.6 下载地址:http://java.sun.com/javase/downloads/index.jsp, eclipse3.4 下载地址:http://www.eclipse.org/downloads/, WTK是2.5.2版本的 下载地址:http://java.sun.com/javame/downloads/index.jsp, eclipseme 1.79版本 下载地址:http://sourceforge.net/project/showfiles.php?
2010-06-03 23:05:00
636
转载 【转】wsdl完全解析
WSDL is an XML-based language for describing Web services and how to access them.WSDL是一种基于XML的语言。它的作用是描述和访问网页服务。What You Should Already Know你应该已经知道的Before you continue you should have a basic un
2010-05-16 00:16:00
1445
转载 【转】putty 及其相关工具 使用(pscp、psftp、plink)
随着Linux在服务器端应用的普及,Linux系统管理越来越依赖于远程。在各种远程登录工具中,Putty是出色的工具之一。Putty是一个免费的、Windows 32平台下的telnet、rlogin和ssh客户端,但是功能丝毫不逊色于商业的telnet类工具。用它来远程管理Linux十分好用,其主要优点如下: ◆ 完全免费◆ 在Windows 9x/NT/2000下运行的都非常好◆ 全面支
2010-05-13 22:54:00
3483
1
原创 Winscp的命令行调用
将下面语句存入1.txt:option batch onoption confirm off# Connect using a password# open 用户名:密码@主机# Connectopen 用户名:密码@主机cd /home/useroption transfer binaryget /root/test.c d:/put d:/test.txtcloseexit执行脚本
2010-05-13 22:49:00
6583
1
转载 [AutoIt]发送SMTP邮件,支持附件
;;##################################; Include;###################################Includeau3>;##################################; Variables;##################################$SmtpServer = "MailServer"
2009-06-11 00:43:00
3464
3
转载 Python 通过命令行发送邮件程序
#!/usr/bin/python#-*- encoding:utf-8 -*-import sysimport smtplib,mimetypesfrom email import Encodersfrom email.MIMEBase import MIMEBasefrom email.MIMEText import MIMETextfrom email.MIM
2009-06-02 00:40:00
1668
转载 ruby写的使用smtp协议发送邮件
require net/smtprequire ftoolsrequire getoptlong$tomail=""$subject=""$content=""$filename=""$i=0def help() puts "Usage:/nsendemail [option] [file]" puts "/t--to -t destina
2009-06-02 00:36:00
1657
转载 [Ruby]调用外部程序
1、system方法。system后跟要执行的系统shell的命令字符串作为参数,此方法可以让系统中的程序在一个子shell中运行。是我们通过ruby脚本引导启动系统中外部程序的常规手法。system "cmd /c del ./hello.txt"system "calc" system("d: && cd D:/opt/rails-app && ruby script/server")
2009-05-16 00:55:00
4138
转载 [Ruby]几个技巧
不显示浏览器$HIDE_IE = true怎样获得当前文件的路径 File.dirname(__FILE__).to_s 读文件:第一种方法:$result=d://rs.txtFile.open($result, "r") do |file| file.each_line do |line| if line.length>20 puts li
2009-05-16 00:25:00
670
转载 [Ruby]字符串处理
1.返回字符串的长度str.length => integer2.判断字符串中是否包含另一个串str.include? other_str => true or false "hello".include? "lo" #=> true "hello".include? "ol" #=> false "hello".include? ?h #=> true3.
2009-05-16 00:22:00
1058
转载 [Ruby]读写excel文件
使用ruby来操作excel文件首先需要在脚本里包含以下语句require win32ole把win32ole包含进来后,就可以通过和windows下的excel api进行交互来对excel文件进行读写了.打开excel文件,对其中的sheet进行访问:excel = WIN32OLE::new(excel.Application)workbook = excel.Workboo
2009-05-16 00:15:00
1698
转载 [Watir]Control the popup windows created using javascript
These are pop ups created using javascript. The ones below come from the watir unit tests.They would be created using javascript, and an example is shown under each of them.do this);">
2009-05-11 23:56:00
1325
转载 [Watir]Web对象属性识别
我们知道,QTP提供object spy工具,对象库录制功能,或描述性编程提供给我们快捷识别对象,一定程度上可以做到脚本批处理生成。相应的,我在想如此好的工具和技术,为啥watir没有支持?也许将来,在自动化同学与watir开发团队努力下,可满足这一需求。另一个问题抛出,是否为了准备watir脚本,我们一定要在那么冗长的代码,查找并挑选我们想要操作的对象?给出我的简单总结,1, 类似obj
2009-05-11 23:30:00
1373
转载 [Watir]异常对象识别
5. 异常对象识别(Watir应用解决方案)Watir基于处理,继承于web document的对象提供较好的支持方法,但相对于处理windows对象较弱. 就目前从各网站收集的对象来看, 基本上,对于在IE实例对象打开的web标准对象能够成功识别与操作,其它的脱离当前IE窗口,打开的所有弹出框都不能正常识别。其中,弹出框对象占有异常对象识别中很大一部分。目前碰到的弹出框, 我把他们分为三大类
2009-05-11 23:20:00
1662
转载 Watir简易教程
# 使用Watir工具,需要在脚本中加上 require watir # 创建一个IE的实例 ie = Watir::IE.new 或者在创建的同时直接转到页面 ie = Watir::IE.start(http://www.text.com/) Watir使用start方法同时创建一个浏览器实例并转到一个页面。 IE浏览速度 ie.speed = :fast ie.speed = :sl
2009-05-06 23:42:00
3982
原创 [Watir]本地安装
网络安装需要太长时间,而且第一次安装似乎还不成功;另外个人也还是比较习惯于本地安装, 所以尊重下自己吧。 1、下载Ruby并安装:下载地址:http://rubyforge.org/frs/?group_id=167安装过程很简单,只要注意选择组件时选中“Enable RubyGems“即可。 2、下载Ruby最新版Gem并安装:下载地址:http://rubyforg
2009-05-06 23:39:00
756
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人