Java

Selenium IDE 1.5.0 to be released on 15th December 2011 

Selenium IDE 1.5.0
New – Added support for Firefox 9
Bug – Changes to user extensions weren’t being updated in Firefox 8 – issue 2801
Bug – Security error was thrown when trying to type into file (upload) input fields in Firefox 8 – issue 2826
Bug – Improved French locale – issue 1912
Bug – break command was failing – issue 725
Bug – source view is now fixed width (monospace) – issue 522
New – Implemented ‘select’ formatting for WebDriver bindings (Java, C#, Python, Ruby)
Bug – Fixed compile-time and run-time errors in the code formatted for WebDriverBackedSelenium
Bug – Fixed ‘baseUrl’ and ‘get’ formatting errors in various formatters to handle relative and absolute URLs

By Pavandeep Puddupakkam on December 14, 2011 | Selenium IDE | A comment?
Tags: , , , , , , , ,

Selenium the Agile automation testing tool 

Test automation is usually lagging behind development of new functionality. The tools that are used to automate are dependent on the UI and this causes automation of the functionality to start only after the environment and the UI are stable.

More…

Selenium RC with Java and JUnit 

Here is an example of selenium script in Java and executed with NUnit. The results are saved in a text file.

package com.testscripts;
import java.io.*;
import com.thoughtworks.selenium.*;
public class NewTest extends SeleneseTestCase  {
// We create our Selenium test case
public void result(String results){
try {
FileWriter fstream = new FileWriter("C:\\Results.txt",true);
BufferedWriter out = new BufferedWriter(fstream);
out.write(results+"\n");
//Close the output stream
out.close();
} catch (IOException e) {
e.printStackTrace();
}
}
public void setUp() throws Exception {
setUp("http://www.google.com/", "*firefox");
// We instantiate and start the browser
}
public void testNew() throws Exception {
selenium.open("/");
selenium.type("q", "selenium rc");
selenium.click("btnG");
selenium.waitForPageToLoad("30000");
if (selenium.isElementPresent("link=Selenium Remote-Control"))
{
verifyEquals("Selenium Remote-Control", selenium.getText("link=Selenium Remote-Control"));
// These are the real test steps
result("Selenium Remote-Control is Present");
}
else
{ result("Selenium Remote-Control is not Present");}
}
}

Submitted by Pavandeep Puddupakkam

Create a Java Selenium RC test script and executing the script 

Hello All,

In this article I will explain you step-by-step process of how to run Selenium RC application in Java. Before we start writing the script you need to make you have the following installed on you computer.

More…

By Pavandeep Puddupakkam on September 12, 2009 | Selenium RC, Software Testing | 16 comments
Tags: , ,