Created
May 15, 2012 19:25
-
-
Save xhawk/2704390 to your computer and use it in GitHub Desktop.
Ite testi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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