Write your tests in English that anyone on the team can read.
Describe your intent and our machine learning models can complete your user journey for you.
Run your tests on our test cloud and receive immediate feedback from our REST API.
Unravel eliminates brittle Selenium tests and false positives in your continuous integration builds.
Our web-based IDE allows immediate test validation and execution in a real browser.
Know exactly what your tests are doing with video of every single test.
Write tests in natural language and clearly identify points of failure.
Unravel tests are human readable and less brittle than Selenium tests.
Go to “www.google.ie”
Fill in the form with “test”
Submit the form
Ensure page title starts with “test”
import static org.junit.Assert.assertEquals;
import org.junit.*;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.openqa.selenium.chrome.ChromeDriverService;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
{@literal @RunWith(JUnit4.class)}
public class ChromeTest extends TestCase {
private static ChromeDriverService service;
private WebDriver driver;
{@literal @BeforeClass}
public static void createAndStartService() {
service = new ChromeDriverService.Builder()
.usingDriverExecutable(new File("path/to/my/chromedriver.exe"))
.usingAnyFreePort()
.build();
service.start();
}
{@literal @AfterClass}
public static void createAndStopService() {
service.stop();
}
{@literal @Before}
public void createDriver() {
driver = new RemoteWebDriver(service.getUrl(),
DesiredCapabilities.chrome());
}
{@literal @After}
public void quitDriver() {
driver.quit();
}
{@literal @Test}
public void testGoogleSearch() {
driver.get("http://www.google.com");
WebElement searchBox = driver.findElement(By.name("q"));
searchBox.sendKeys("you company");
searchBox.quit();
assertEquals("awesome", driver.getTitle());
}
}
We're currently in alpha, sign up to our newsletter and we'll let you know when we launch