5 Minute Guide To Selenium IDE and Selenium Remote Control (Java) Test Tools 5分钟指南硒IDE和硒的远程控制(爪哇)测试工具

July 1st, 2008 2008年7月1日
Selenium is a high quality open source test automation tool for web application testing . 是一种高品质的开放源代码测试自动化的工具, Web应用程式的测试 Selenium runs in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh, Safari on the Mac, with plans to support Safari on iPhone soon.硒运行在Internet Explorer , Mozilla和Firefox对Windows , Linux和Macintosh上, Safari浏览器在Mac ,与计划支持的Safari ,拥有很快。 Selenium test scripts are portable, can be run from browsers (using Selenium IDE) or from JUNit or NGUnit (using Selenium RC) etc..硒的测试脚本是便携式,可从本机运行浏览器(使用硒的IDE ) ,或从junit或ngunit (使用硒区局)等。 For example, test scripts written using Selenium IDE in Firefox on Windows can run on Firefox in Mac or Linux, without changing any code.举例来说,测试脚本的书面使用硒的IDE在Firefox在Windows可以运行的Firefox在Mac或Linux ,没有改变任何代码。 Selenium tests run directly in browsers and so matches the end-user experience closely.硒的测试运行,直接在浏览器和使比赛的最终用户体验的紧密合作。

There are three variants of Selenium, which can be used in isolation or in combination to create complete automation test suite for your web applications.有三个变种的硒,可用于在隔离或相结合,以创建完整的自动化测试套件,为您的Web应用程序。

  • Selenium Core - In Selenium Core the tests scripts (written in HTML) and the Selenium Test Runner (written in Javascript) are uploaded to the same web server that hosts the application you are trying to test.硒的核心-在硒为核心的测试脚本(写在H TML)和硒测试亚军(书面J avaScript中)是因为上传到相同的W eb伺服器主机的应用您正试图考验。 It is a simpler form of Selenium, and suitable for non-developers, but it has some inherent limitations.这是一个简单的形式,硒,适合非开发,但也有一些固有的局限性。

  • Selenium IDE - Selenium IDE is a Firefox plugin, which includes the entire Selenium Core, allows you to record, play back, edit, and debug tests in browser.硒的IDE -硒的I DE是一个F irefox的插件,其中包括整个硒的核心,让您的纪录,发挥回,编辑和调试测试,在浏览器中。 It provides the simplest introduction to Selenium and is highly recommended for beginners.它提供了简单的介绍了硒和强烈建议初学者。 You can save the tests / test suite created in xml or html format.您可以储存测试/测试套件中创建的XML或HTML格式。 However to run them in an automated fashion you need Selenium Remote Control which is described next.不过,他们在运行一个自动时装您需要硒的远程控制,其中所描述的未来。

  • Selenium Remote Control - The Selenium Remote Control allows you to develop test cases and test suites in Java (supports JUnit & NGUnit), PHP, Ruby, Python, Perl and even .NET.硒远程控制-硒远程控制让您开发测试案例和测试套件在J ava(支持j unit& n gunit) , P HP的,红宝石,使用P ython, P erl和甚至。净。 It is the most flexible setup but requires some development knowledge to set up and use.这是最灵活的安装,但需要一些发展的知识,设置和使用。

  • Selenium Grid - Selenium Grid allows several Selenium Remote Control servers to be accessed in parallel by Selenium Grid server.硒网格-硒的网格,让几个硒远程控制服务器来访问,在平行硒的网格服务器。 This is extremely useful for automated load and stress testing of web applications.这是非常有用的自动负载和压力测试的Web应用程序。



Today we will discuss on how you can easily create automatic test scripts using Selenium IDE and convert them to JUnit tests (which uses Selenium Remote Control) which can be added to your JUnit based automatic regression test suite.今天,我们将讨论关于如何您可以轻松地创建自动测试脚本使用硒IDE和其转换为junit测试(使用硒远程控制) ,它可以被添加到您的junit基于自动回归测试套件。
Read more (1116 words) » 阅读更多资讯( 1116字) »

Free WordPress Plugin To Remove Generator Meta Tag / Version Information From WordPress Blogs免费wordpress插件,以消除发电机中继标记/版本信息从WordPress Blogs的

June 30th, 2008 2008年6月30日

WordPress, in recent versions, have forces the display of WordPress as the generator in meta tags along with the version information in the header of your WordPress blogs -在WordPress ,在最近的版本,有力量,展示的WordPress作为发电机在META标记随的版本信息的标题,如此即可WordPress Blogs的- . Unlike previous versions there is not easy way to remove it.不像以前的版本有是不容易的方法,将它移除。 Unless WordPress is using that to provide support (which it doesn’t), I don’t see any good reason for providing that extra bit of help to hackers, do you?在WordPress ,除非是使用提供支持(这并不) ,我看不出有任何好的理由,提供额外的一点帮助黑客的攻击,你呢? Here is a simple plugin which will remove the WordPress generator meta tag along with its version information.这里是一个简单的插件,其中将删除的WordPress发电机中继标记,随着其版本信息。

Read more (171 words) » 阅读更多( 171字) »

Free WordPress Plugin To Disable wlw_manifest & EditURI Link From WordPress Blog Header免费wordpress插件禁用wlw_manifest & edituri链接WordPress所博客标题

June 29th, 2008 2008年6月29日
Newer versions of WordPress (2.3.1 and above) adds two extra lines to your blog header.较新版本的WordPress所( 2.3.1及以上)增加了两个额外的线路到您的博客标题。 They are:他们是:

You need them to use Windows Live Writer to write to your WordPress blog.您需要他们使用Windows Live作家写信给您的WordPress博客。 However many, like me, do not use Windows Live Writer.然而,许多和我一样,不使用Windows Live作家。 For them such headers are simply junk and add to the size of their pages (and download time) without adding any value to them or to their users.为他们这样的标题纯粹是垃圾,并加入到大小其网页(下载时间)在不增加任何价值,他们或向他们的用户。 For such bloggers (majority I presume) here is a simple WordPress plugin ( Angsuman's Windows Live Manifest Remover WordPress plugin ) which removes these two header links from your WordPress blog.这种博客(多数我假设)在这里是一个简单的wordpress插件( Angsuman的的Windows Live舱单器wordpress插件 ) ,其中删除了这两个标题的链接从您的WordPress博客。

Download Angsuman's Windows Live Header Remover Plugin下载Angsuman的的Windows Live头器插件 , rename the file to angsumans-windows-live-header-remover.php, upload it to wp-content/plugins folder of your blog and activate it from Plugin Management screen. ,将该文件重命名为angsuman的窗口-生活-标题- remover.php ,将其上传到wp-content/plugins文件夹,您的博客并激活它从插件管理画面。 It requires zero configuration.它要求零配置。 It does one thing and does it well - remove these two useless headers from your WordPress blog.但这一件事,是否以及-删除这两个无用的标题从您的W ordPress博客。

Technical Note: There is a similar WordPress plugin which does the same thing.技术说明:有一个类似的wordpress插件,这是否同一件事。 This plugin works differently in that it doesn't add the code directly to the plugin body but to the 'init' hook.此插件工程不同,因为它不添加代码,直接向插件机构,但以' init的'钩。 This ensures that this plugin will remain compatible with future versions of WordPress as it doesn't depend on the relative order of execution of the plugins versus the default WordPress filters.这将确保此插件将继续与未来版本的WordPress的,因为它不依赖于相对的顺序执行该插件银两默认的WordPress过滤器。 Sounds complicated?听起来复杂吗? To put it simply - Install the plugin and then forget about it forever.把它简单-在电脑上安装插件,然后忘记它永远。 It will continue to serve you (your blog) in the background for a very long time.它将继续为您服务(您的博客)在背景中一段很长的时间。

You can get more你可以获得更多 free WordPress plugins here免费wordpress插件在这里 .

Java Application Security Through Static Analysis Java应用程式安全通过静力分析

June 28th, 2008 2008年6月28日

Extendable (by延展( plugins插件 , ) Static Analysis tools like )静态分析工具,如 FindBugs findbugs can enhance the security of your Java applications (web as well as standalone or client-servers applications) in several significant ways.可以提高安全性您的Java应用程式(网络,以及作为独立或客户端-服务器应用程序)在几个重要的途径。

Read more (326 words) » 阅读更多( 326字) »

How To Safely Redirect /index.php To / Using .htaccess / Apache如何安全重定向/的index.php /使用。 htaccess的/阿帕奇

June 28th, 2008 2008年6月28日

Any PHP based software like WordPress, Mambo, Joomla, Drupal, MODx etc. will serve pages both from http://your-site.com as well as http://your-site.com/index.php .任何基于PHP的软件一样,在WordPress ,曼波, joomla , drupal , modx等,将服务的页面都从http://your-site.com以及http://your-site.com/index.php This creates duplicate content for search engines, which may then decide to penalize your site for duplicate content.这将创建重复的内容为搜索引擎,其中可能,然后才决定要惩罚您的网站,重复的内容。 You can safely prevent duplicate content with the following apache code / directive added to your .htaccess file (or in httpd.conf):您可以放心地防止重复的内容与下列的Apache代码/指令添加到您的。 htaccess的文件(或在httpd.conf ) :

Read more (215 words) » 阅读更多( 215字) »

Warning: XML SiteMap Generator Plugin for WordPress May Report Fewer URL’s警告: XML的Sitemaps生成器插件的WordPress可能会报告较少网址的

June 27th, 2008 2008年6月27日

Arne Brachold’s popular XML Sitemap generator plugin for WordPress may report fewer URL than that exists on your website.阿尔内brachold流行的XML的Sitemaps生成插件的WordPress可能会报告较少的网址,比存在于您的网站。 This in turn means less URL’s which you are submitting to search engines for indexing.这反过来又意味着少URL的您提交给搜索引擎索引。

Read more (249 words) » 阅读更多( 249字) »

Twitter Overloaded… Again and Again twitter超载…一而再,再而

June 26th, 2008 2008年6月26日

Twitter seems to be having serious scalability issues, a malaise which plagued the otherwise popular service since its early days. twitter似乎是有严重问题的可扩展性,其中的弊病困扰,否则流行的服务,自成立初期天。

Read more (94 words) » 阅读更多( 94字) »

Translator Plugin Gold Affiliate Program Introduced (30$ per Sale)翻译插件黄金联盟计划推出( 30元,每出售)

June 26th, 2008 2008年6月26日

I am happy to announce an affiliate marketing program for我很高兴地宣布联属营销计划 Translator Plugin Gold翻译插件黄金 . Now you can sell your favorite WordPress plugin and earn 30% of the proceeds, a cool 30$ per sale.现在,您可以出售您最喜爱的wordpress插件和赚取30 %的收益,冷静, 30元,每出售。 You can find more details and enroll here:您可以找到更多的详情及报名参加在这里:
Translator Plugin Gold Affiliate Program翻译插件黄金伙伴计划 .

Affiliate program for Translator plugins has been a much requested feature from our customers.伙伴计划为翻译插件一直是很多功能要求,从我们的顾客。 I am happy that we finally got it out of the door (blame me for the delay).我很高兴我们终于走出大门(责怪我,为拖延) 。 We will include more of our products in near future.我们将包括更多我们的产品在不久的将来。

You can send your feedback using the comment form below or the contact form.您可以发送您的反馈意见使用评论下面的表格,或联络表格。 Discuss it in our讨论在我们的 forum论坛 .

How To Use GMail for Corporate Email Filtering (Free)如何使用Gmail企业邮件过滤(免费)

June 24th, 2008 2008年6月24日

GMail overall has a nice spam filter. Gmail的整体有一个很好的垃圾邮件过滤器。 You can leverage the GMail spam filtering capability even for your corporate emails without paying a dime.您还可以利用Gmail的垃圾邮件过滤能力,甚至为您的企业电子邮件,无需缴付一毛钱。

Read more (156 words) » 阅读更多( 156字) »

What is Your Most Favorite Firefox 3 Feature?什么是您最喜爱的Firefox 3功能?

June 24th, 2008 2008年6月24日

My most favorite Firefox 3 feature is the automatically generated Most Visited folder on Bookmarks tab.我最喜爱的Firefox 3的特点是自动生成的访问次数最多的文件夹中的书签标签。 It allows me to quickly browse my important work related websites.它可以让我迅速浏览我的重要工作,相关的网站。 The FastDial add-on also provides a similar feature but it does it the Opera way.该fastdial添加对也提供了类似的功能,但是它的确能做到歌剧的方式。 Whenever you open a new tab / window, it displays your 12 favorite website, which you can just click on to open.当您打开一个新的标签/窗口,它会显示您最喜爱的12个网站,您可以只需按一下打开。

People are reporting that Firefox is significantly faster on slower machines.人民是报道说, Firefox是明显快在速度较慢的机器。 I don’t feel it as I am on a high-end Core 2 Duo.我不觉得这是我对一个高端Core 2 Duo的。

What is your most favorite feature in Firefox 3? 什么是您最喜爱的功能在Firefox 3呢?