@@ -0,0 +1,1483 @@
+package pt.fccn.arquivo.tests.imagesearch;%0A%0Aimport static org.hamcrest.CoreMatchers.containsString;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0A%0Aimport pt.fccn.saw.selenium.WebDriverTestBaseParalell;%0A%0A/**%0A * %0A * @author ivo.branco@fccn.pt%0A *%0A */%0Apublic class ImageSearchDirectUrlTest extends WebDriverTestBaseParalell %7B%0A%0A%09public ImageSearchDirectUrlTest(String os, String version, String browser, String deviceName,%0A%09%09%09String deviceOrientation) %7B%0A%09%09super(os, version, browser, deviceName, deviceOrientation);%0A%09%7D%0A%0A%09@Test%0A%09public void testImageSearchDirectUrl() throws Exception %7B%0A%0A%09%09String url = testURL%0A%09%09%09%09+ %22/images.jsp?l=en&size=all&type=&tools=off&safeSearch=on&query=fccn&btnSubmit=Search&dateStart=26%252F06%252F2007&dateEnd=27%252F06%252F2007%22;%0A%09%09driver.get(url);%0A%0A%09%09WebElement resultsUl = driver.findElement(By.id(%22resultsUl%22));%0A%09%09assertNotNull(%22Should exists an resultsUl after searching for images%22, resultsUl);%0A%0A%09%09appendError(() -%3E %7B%0A%09%09%09List%3CWebElement%3E liList = resultsUl.findElements(By.xpath(%22.//li%22));%0A%09%09%09assertEquals(%22Verify results count%22, 1, liList.size());%0A%09%09%7D);%0A%0A%09%09appendError(() -%3E assertThat(%22Check image original origin/domain%22,%0A%09%09%09%09driver.findElement(By.xpath(%22//*%5B@id=%5C%22imageResults0%5C%22%5D/p%5B1%5D%22)).getText(),%0A%09%09%09%09containsString(%22sag.fccn.pt%22)));%0A%09%7D%0A%7D%0A

Add image search direct url test.