Skip to content

Instantly share code, notes, and snippets.

@xhawk
Created May 15, 2012 19:25
Show Gist options
  • Save xhawk/2704390 to your computer and use it in GitHub Desktop.
Save xhawk/2704390 to your computer and use it in GitHub Desktop.
Ite testi
import com.opera.core.systems.OperaDesktopDriver;
import org.junit.Rule;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
public class MyTest {
private WebDriver driver;
@Rule public ScreenshotRule screenshotRule = new ScreenshotRule();
@Test
public void myTestCase() {
System.out.println("MyTest.myTestCase");
driver = new OperaDesktopDriver();
driver.get("http://www.google.com");
throw new RuntimeException("Aijaijai");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment