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字) »

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 Fix - Couldn’t find per display information Error in Java Applications如何解決此問題-無法找到,每個顯示信息的錯誤在J ava應用程序

June 23rd, 2008 2008年6月23日

While running some Java applications (like Thinreader) you may see this strange looking error - Couldn’t find per display information .而運行一些Java的應用程式(如thinreader ) ,您可能會看到這樣一種奇特的尋找錯誤-無法找到,每個顯示信息。 You may find this error when running such applications in JDK 6 or later.您可能會發現這個錯誤時運行,例如在申請的JDK 6或更高版本。 Let’s find out more about it and how you can easily fix it.讓我們找出更多有關資訊科技及如何您可以很容易地解決它。

Read more (260 words) » 閱讀更多( 260字) »

5 Free Java Exams From Sun 5免費的Java考試從Sun

June 12th, 2008 2008年6月12日

Sun offers 5 free proficiency assessment examinations.孫提供5個免費的能力評核考試。 Read below for details and how you can take them.閱讀下面的細節,以及如何可以採取他們。
Read more (263 words) » 閱讀更多( 263字) »

Free Java Certification Exam Retake Promotion免費的Java認證考試奪回推廣

June 12th, 2008 2008年6月12日

To commemorate Sun’s awarding over half million certifications, Sun will allow you to re-take the exam one additional time, should you need it, for free if you place your order by June 20 2008.為了紀念孫的批出超過50萬的認證, Sun將讓您重新參加考試的一額外的時間,如果您需要它,免費的,如果你的地方,您的訂單由2008年6月20日。 If you are not sure about your chances in the very first time, this is a golden opportunity for you.如果您不知道您的機會,在第一時間,這是一個千載難逢的機會給你。 Here’s how you can avail this opportunity.這裡的如何,你可以利用這個機會。

Read more (207 words) » 閱讀更多( 207字) »

Sun Releases Java Composite Application Platform Suite (Java Caps) 6孫發布的Java綜合應用平台套件( Java的上限) 6

June 12th, 2008 2008年6月12日

The Java Composite Application Platform Suite is a collection of middleware software suites using service-oriented architecture for business integration (SOA/BI). Java的複合應用平台套件是一家集中間件軟件套件使用面向服務的架構,為業務整合(國家海洋局/雙向) 。 Java CAPS is a standard based open source platform for developing software infrastructures using SOA. Java的上限,是一個標準的基於開源平台的軟件開發基礎設施,使用國家海洋局。 It is one of the first open-source SOA platforms which have been created using Open ESB (The Enterprise Service Bus) community.這是第一個開放原始碼的SOA平台,這已創造了使用開放的ESB (企業服務總線)的社區。

Read more (376 words) » 閱讀更多( 376字) »

How To Install, Compile, Run Java On iPhone如何安裝,編譯,運行Java就擁有

June 10th, 2008 2008年6月10日

iPhone doesn’t natively support Java / J2ME.擁有不natively支持Java / J2ME的。 However as a J2ME developer there are two good ways to develop iPhone applications using Java / J2ME.但是作為一個J2ME的開發有兩個好辦法,以發展擁有申請使用Java / J2ME的。 Read below for details and also to know how you can upload, compile and run Java applications on iPhone.閱讀下面的細節,也知道如何您可以上傳,編譯和運行Java應用擁有。

Read more (688 words) » 閱讀更多( 688字) »

Programming Language Survey: Please Provide Your Input & See Results編程語言調查:請提供您的輸入&看到結果

May 15th, 2008 2008年5月15日

A short survey on your programming language preferences, shouldn’t take more than 1 minute of your time.一份簡短的問卷調查對您的編程語言偏好,不應該採取更超過1分鐘,您的時間。 Please participate and let others know too.請參與並讓其他人知道太多。
Read more (41 words) » 閱讀更多( 41字) »

(Why) Mac Laptops Are Most Popular With Software Developers & Press at JavaOne 2008 (為什麼)的Mac筆記本電腦是最熱門的與軟件開發商與新聞在JavaOne 2008

May 14th, 2008 2008年5月14日

Macbook Air In JavaOne 2008 I noticed something I least expected - an abundance of Mac laptops (Macbook, Macbook Pro & Macbook Air) in not just developers hands but also press / analysts and presenters.在2008年的JavaOne我發現我至少預期-豐富的M ac筆記本電腦(的M acBook, M acBookP ro的&的M acBook空氣)在不只是開發商手中,而且新聞/分析師和主持人。 I didn’t conduct a formal survey but anyone there can attest to the fact that around 60-70% of the laptops were Mac with Dell being a distant second.我並沒有進行正式的調查,但任何人有可以證明這一事實,即約60-70 %的筆記型電腦的Mac分別與戴爾正在一個遙遠的第二次。 Obviously there must be good reasons for it.顯然必須有很好的理由。 So I started asking the software developers.因此,我開始要求軟件開發商。 I found 5 good reasons for software developers to use a Mac laptop :我發現5良好的原因,軟件開發商使用Mac筆記型電腦

Read more (448 words) » 閱讀更多( 448字) »

Microsoft Teaching Java Using Eclipse at JavaOne 2008微軟教學使用的Eclipse的Java在JavaOne 2008

May 8th, 2008 2008年5月8日

微軟任教的Java I was amazed to find Microsoft design engineer Mugunthan Mugundan teaching Java (how to create REST output using Java) using Eclipse IDE.我當時感到驚訝,找到微軟設計工程師mugunthan mugundan教學的Java (如何創建,其餘的輸出使用Java )使用的Eclipse的IDE 。 I found it rich in irony at many levels.我發現它豐富的諷刺,在許多層面。 What do you think?您怎麼看?

Read more (56 words) » 閱讀更多( 56字) »