background preloader

Selenium

Facebook Twitter

Study Selenium: image compare in java. Automate Page Load Performance Testing with Firebug and Selenium. Firebug's Net panel is well known and indispensable tool for debugging and testing page load performance.

Automate Page Load Performance Testing with Firebug and Selenium

Its purpose is to provide detailed timing information about HTTP traffic initiated by a web page. Also, all data collected by the Net panel can be exported into a HAR file and processed by other tools (e.g. you can use online viewer for preview). Any suggestions for testing extjs code in a browser, preferably with selenium. HTML Parsing using jsoup. Came across jsoup of late, while automating web accessibility tests using Selenium.

HTML Parsing using jsoup

Selenium gets me the page html and jsoup does the magic of extracting required information from html to find if web page is accessibility compliant or not. You would largely be dealing with Document (which in turn extends Element) and Elements classes when using jsoup. Consider you want to find all 'class' attributes in "div" of a web page then you could use some thing like - Document document = Jsoup.parse(selenium.getHTMLSource); Elements elements = document.getElementsByTag("div"); for(Iterator } Not only this, if you know the attribute value you could also find out if it appears under correct node. Selenium Tutorial For Beginners - Tutorial 3. Selenium Tutorial Table of Contents, Next Chapter, Previous Chapter In 2011 the Selenium project completed a major reworking of the internal architecture of the Selenium RC system.

Selenium Tutorial For Beginners - Tutorial 3

Creating Firefox profile for your Selenium RC tests « .. Library of WONDERS .. Home > selenium > Creating Firefox profile for your Selenium RC tests Why create a new firefox profile for Selenium?

Creating Firefox profile for your Selenium RC tests « .. Library of WONDERS ..

We create firefox profile for Selenium RC tests, so we can set light configurations to it, which later on we’ll be using to run our Selenium scripts FASTER. How to create Firefox profile for your Selenium? Make sure all your firefox instance are closed Click Start>Run Type “firefox.exe -ProfileManager -no-remote” Select “Create Profile” (i.e. selenium) Click “Next” Enter new profile name Select a directory folder to store your new profile Click “Finish” Select “Don’t ask at startup” Click “Start Firefox” and configure settings based on suggestion below*** Set Profile back to “default” (enable you to use your previous settings on your browser) Add -firefoxProfileTemplate command line option as you start the Selenium Server.

Executing Selenium TestNG tests using ANT. ANT is software build automating tool for Java code.

Executing Selenium TestNG tests using ANT

Uses XML file named ‘build.xml’ as the input for the build tasks. If one wants to run TestNG task using ANT, XML should contain information for testng calls and this can be built in two ways. Testing a web application with Selenium 2 « Thomas Sundberg. Selenium a great tool for testing web applications.

Testing a web application with Selenium 2 « Thomas Sundberg

The current version, Selenium 2, is a merge between Selenium and WebDriver. I will walk you through an example where we test a web site using Selenium in a few different ways. This is the same example as I demonstrated at Scandev on tour in Stockholm 18 October 2011. Selenium 2 (WebDriver), Firefox Profiles, and Invalid Certificates. (Last update on March 25, 2012) When use Selenium 2 (WebDriver) and Firefox to automate web testing, one may need to select a Firefox profile for the test runs.

Selenium 2 (WebDriver), Firefox Profiles, and Invalid Certificates

There are two ways to do it with the Java API for Selenium 2. One way is: System.setProperty(“webdriver.firefox.profile”, profileName);WebDriver webDriver = new FirefoxDriver(); CURL.java - Java.

Xpath

Installing Selenium Grid with MbUnit and Gallio. In this article I will explain you how you can install and run your Selenium C# scripts on Selenium Grid using MbUnit and Gallio 1.

Installing Selenium Grid with MbUnit and Gallio

Download Gallio runner 2. Automated functional testing with WebDriver « Orange11 Blog / Orange11: Enterprise Java, Open Source, software solutions, Amsterdam. There is nothing nicer than having a functional test suite that checks if your application is still working as it should.

Automated functional testing with WebDriver « Orange11 Blog / Orange11: Enterprise Java, Open Source, software solutions, Amsterdam

It is even nicer to run these tests and see what is happening, while the tests are being executed. Two of the tools that give you this opportunity are Selenium RC and WebDriver. In the project that I’m working on I use WebDriver to create functional tests. Automated Smoke Tests With Selenium, Cargo, TestNG and Maven « Madaspeak. In the project I am working on right now, we have decent amount of unit tests.

Automated Smoke Tests With Selenium, Cargo, TestNG and Maven « Madaspeak

Some of the unit tests launch an in-memory HSQL DB and run the tests against them – this helps us catch bugs in schema, Hibernate mapping etc. We use a Continuous Integration server which checks out code from the repository every hour and runs the tests. This setup helps us catch some kind of bugs early, but some other errors still can happen – for example, errors in web.xml, javascript errors etc. Also, we frequently deploy newer releases to QA.

Testng

Selenium Wiki. Hudson and SeleniumTest Suite. Find our content relevant? Subscribe to our Newsletter Web Content Management, Social Media, Content: Three Kings for Your Website (846 KB)Companies pursuing online marketing success, including Social Media, can increase the power of their online presence with right strategy and technology to maximize online visibility and engagement. Download this FREE white paper on the WCM, Social Media, and Content triad. Drupal Performance Tuning (1213 KB)In this Free White Paper Oshyn evaluates Drupal Performance Tuning, sharing the results of testing response time and Requests Per Second (RPS) that a server can hold before the response rate becomes unacceptable.

In this paper you will learn about optimizing performance of a website through changes to settings and the server. Drupal Multilingual (636 KB)There are several multilingual installation methods for Drupal. Drupal Social Media (1297 KB)Looking for an Open Source CMS to for “Social Media Optimization” of your website? Selenium IDE, Selenium RC and Webdriver. DataProvider - Data Driven Testing with Selenium and TestNG. Data-Driven testing generally means executing a set of steps with multiple sets of data. Selenium does not provide any out-of-the box solution for data driven testing but leaves it up to the user to implement this on his own. People who are familiar with QuickTest Professional or QTP would know Datatables (Global & Action) that allows the scripter to link a action or a function with multiple rows of data.

Gaurang Shah about Automation. Generating Junit HTML Reports using Maven. To Generate HTML reports using maven follow the below steps 1.Firstly we have to create a Maven Project using eclipse 2.Inorder to create a Maven Project in eclipse your eclipse should have maven plugin 3.To Download maven pulgin see below steps 4 . Open Eclipse and go to Help. 5.Click on add button. 6.Provide the Name and Location and then click on ok button as shown in below snapshot.

Coffeeshop - Revision 13: /WebTestEmb. How to Accept Self-Signed SSL Certificates in Selenium. Posted April 13, 2010By Kevin This article was originally written for Selenium 1 (also known as Selenium RC in Selenium 2). If you're looking for information on how to accept self-signed SSL certificates in Selenium WebDriver, please check out our updated article. Integration test a web application with Selenium « Thomas Sundberg. We want to build a web application and we want to test it automatically. One solution is to make sure that whenever we perform an integration test, the application is deployed on a servlet container, a Selenium server is started and the application is verified through a web browser. That is automating the deployment process and the testing process. No person should start a browser, fill out a form and verify that the result is the expected. Quick Tutorial: Netbeans + Selenium + Hudson.

Selenium is one of the most powerful web application test tool I know. It supports a wide range of Browsers, Operating Systems, Languages and Test Frameworks (find all infos here). Tutorial: Most simple Test Application for Embedded Glassfish + Netbeans + Hudson. With Glassfish V3 (or better with Java EE6 and EJB 3.1) it becomes way easier to test EJB’s, which is now possible to do with the embedded Glassfish. Lets have a quick and very basic walk-through and highlights some of the current issues and pitfalls.

Pre-Requirements: