Testing Circus – December 2014 Edition

Software Testing Magazine – Testing Circus December 2014 Edition is out. This is the 51st edition of this software testing magazine. Download a free copy of Testing Circus December 2014 Edition, read, share with testers.

Some awesome stories in this edition:

  • Interview with Anna Royzman by Srinivas Kadiyala
  • Four Simple Steps to Becoming the Best Tester – Mike Talks
  • Mobile Testing: How Do I Start to Learn? – Jean Ann Harrison
  • Assumptions in Testing – Jyothi Rangaiah
  • Five Lessons for Effective Communications – Raj Subramanian
  • Unfolding of A/B Testing – Venkat Ramesh Atigadda
  • Taking Care of Critical Bugs in Prior to Production Launch – Ravi Kumar BN
  • Testing Events Around the World
  • Tester’s Astrology 2015
  • Book Worm’s Corner
  • A Fake Tester’s Diary by Fake Software Tester
  • Testers to Follow
  • Learn programming to build a strong report – Santhosh Tuppad
  • Blazemeter Version 3.0 Supports Selenium Testing
  • NeoSense Enables Synthetic Monitoring
  • MobileCloud Customers Can Use Jenkins Plugin

Click here to download your free December 2014 Edition of Testing Circus.

Advertisements

Selenium Hangout #6

Agenda
01:35 – 9:45 W3C Update
11:23 – 16:00 Selenium 3 Status Update
16:05 – 17:10 Marionette (FirefoxdDiver rewrite) testing help
17:20 – 19:27 ChemistryKit rewrite
17:28 – 20:24 Visual Testing Part 1
20:25 – 23:47 Selenium Guidebook in Java!
23:52 – 29:51 Visual Testing Part 2

For More details see the Official Selenium Blog

Basic Java JUnit Test Setup

Here is a sample WebDriver Java test using the JUnit framework:

package WebDriverTest1;

import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class WebDriverTest1
{
  private WebDriver driver;

  @Before
  public void setup() throws Exception 
  {
    driver = new FirefoxDriver();
  }

  @After
  public void teardown() throws Exception 
  {
    driver.quit();
  }

  @Test
  public void WebDriverTips() 
  {
    driver.get("http://www.webdrivertips.com");
    String title = driver.getTitle();
    assertEquals("Title mismatch", "WebDriver Tips", title);
  }
}

As we can see from my earlier C# Example, there isn’t a world of difference between the two. There is no corresponding Test Fixture attribute but there are attributes for Before, After and Test. Similar to NUnit, the Before method gets executed before every test case, and the After method gets executed after every test case. Each test case is indicated with the @Test annotation.