Home
Wade Tester
Cancel

如何把seleniumscript转换成javaruby代码howtoconvertseleniumscripttojavarubycode

In short :  open selenium IDE => File => Export TestCase as ... =>  Junit4 code / Ruby code 1. 写好test case in selenium IDE2. export them as java/junit4 scripts.3. create a maven...

Titaniumandroidmodule中,viewproxy不能与module同名

refer to:  http://stackoverflow.com/questions/13042996/how-to-create-titanium-view-proxy-method-and-access-it-from-titanium-project 花了我一天时间解决这个问题。 It cost my 1 day to solve this problem. to ...

奇怪的linux上网问题eth0?eth1?strangedhcpclientproblemeth0vseth1

今天解决了一个心头大患: 局域网的一个机器总是连不上服务器。最初的时候使用随时分配的地址是没问题的,可是后来弄了固定IP地址之后,就出现了连不上网的问题。 这个问题在我的AMD SERVER的时候就出现过。现在在我的5200 4GB server上又出现了一次。郁闷! 经过查看,问题出在  /etc/network/interfaces 文件中。它的内容是:auto lo eth1...

建立seleniumwebdriver的环境setupaseleniumwebdriverproject

1. 安装好Maven后, 建立一个pom.xml 文件: (create a file named: pom.xml, assuming you have MAVEN installed. ) <?xml version="1.0" encoding="UTF-8"?> <project xmlns= "http://maven.apache.org/POM/4.0....

Titanium进阶:moduleproxyviewproxy与view

refer to:  http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_Module_Concepts titanium中的module有下面几种: 1. built-in module: 内置的module ,包括: Ti.UI,  Ti.Geolocation , 这种module在任何时候...

入门知识把代码部署到服务器,ssh

如何登陆远程服务器呢? $ ssh root@your.server.com -p 3344 表示, 远程服务器( your.server.com ) 的端口: 3344,  用户名: root.   就可以登陆了。 如果需要密码的话,按照提示输入进去就可以了。 之后就可以操作了。 nginx 一般都用于前端服务器。(处理纯html 内容) thin/passenger/...

Python读写yaml

http://mikkel.elmholdt.dk/?p=4 1. install pyyaml:  (http://pyyaml.org/wiki/PyYAMLDocumentation) 1.1 wget http://pyyaml.org/download/pyyaml/PyYAML-3.01.tar.gz 1.2 tar zxvf PyYAML-3.01.tar.gz 1...

Selenium家族大集合seleniumfamilynames

Selenium 有很多的组件和琳琅满目的名字。看了让新手发蒙(confused which is which ),所以咱们来看看:(Selenium seems to have a lot of different components and the website does not explain them very well and I'm still a bit confuse...

Ubuntu停止sshcannotstopsshinubuntu?

refer to:  http://askubuntu.com/questions/252153/cant-start-stop-or-interface-with-ssh-service 当你发现 /etc/init.d/ssh stop 无法停止 ssh 服务时, 试试: $ service ssh stop

Linuxlinkln的用法:ln S<目标文件>

linux link (ln) 的用法 :  ln -s &lt;目标文件&gt; &lt;link_name&gt; 总之,目标文件(被link的文件或文件夹)永远在前面, 我总是把两者弄混淆。。。 

Grails进阶:单元测试unittestingingrails

假如,我们有一个controller: controllers/dashboard/StatusController.groovy&#160; (Assuming we have a controller )&#160; 1 package dashboard 2 3 class StatusController { 4 5 def index() { ...

Titaniumapiproxy

refer to:&#160; http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Proxy 是所有的 Titanium Object的基础。(父类) 所有使用 android/ios/black berry 原生代码的地方,都需要用到它。 都是 js代码调用这个Proxy, 然后Proxy再调用 native cod...

Linux中的photoshoppaintshopgimp

www.gimp.org G - GNU I - Image M - Manipulation P - Program 非常棒,正是我想要的!  直追 paint.net

一点selenium心得(seleniumexperience

1. 尽量使用glob 来匹配。 verifyAlert &#160; &#160; glob: *some text* &#160; &#160; &#160; ( better than: &#160; regExp=/... &#160; &#160; or plain text ) &#160; &#160; 2. &#160;总是使用CSS。 Always use CSS: &#1...

学习python看哪本书。。。

http://stackoverflow.com/q/111857/445908   The best way to learn python (or any programming language) is to pick something you want to do and start doing it in the language you want to learn. ...

Barcamp演讲:ruby中的单元测试somethingaboutunittestsinruby

8月5号,我参加了 barcamp 活动, 进行了 ruby中的单元测试这个演讲。讲述一些单元测试的基本方法,rpsec 中的 mock , stub , 某些大型系统中的测试框架和技巧。最后的提问环节很有意思,很多朋友都提出了关于创业啊,或者寻找程序员好手的想法,ruby-china 的石川(shichuan)、文洋、林生以及好几位朋友也到了场。&#160; PPT在这里 单元测试中的几...

混淆ssh握手的方法obfuscatedsshhandshaking

refer to:&#160;http://blog.linjunhalida.com/blog/obfuscated-openssh/&#160; and&#160; https://github.com/brl/obfuscated-openssh (世界很小,圈子很大。搜索到这位朋友的BLOG, 又继续翻看了下,发现居然跟我也有交集 ^_^ &#160;) 安装过程: 直接根据 Ha...

Ruby中的单元测试

单元测试中的几个术语: double:  the generic term for any kind of pretend object used in place of areal object for testing purpose. 是一种通用的称呼,来指: 所有用于替换真实对象的组建。 Dummy: 空对象,啥都不做。仅仅用于某些parameter的占位( fill pa...

Linux性能优化笔记。。。(1g内存服务器)

近期服务器性能极不稳定,打开首页速度时快时慢(目前只有一个用户,属于企业内部应用,重点是数据量非常大, 1K~ 100K 之间) 下面是从我的邮件摘录出一部分内容: 1. 访问速度不稳定。时快时慢。 引用 下面是 今天的 (2012-05-25) 的日志:  可以看到,  前两个操作,耗费的时间非常久。。。     00:50:33 INFO: Completed 200 ...

Npmsetproxy

refer to http://wil.boayue.com/blog/2013/06/14/using-npm-behind-a-proxy/ 有时候npm 需要设置代理才能正常安装。光设置 $ export http_proxy=... &#160;不行。所以: npm config set proxy http://proxy.company.com:8080 npm config ...