Project

General

Profile

« Previous | Next » 

Revision 535407a1

Added by Andreas Kohlbecker almost 13 years ago

upgrade to selenium 2.0rc3

View differences:

modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/CyprusSearchTest.java
13 13
import org.junit.Ignore;
14 14
import org.junit.Test;
15 15
import org.openqa.selenium.By;
16
import org.openqa.selenium.RenderedWebElement;
17 16
import org.openqa.selenium.WebElement;
18 17

  
19 18
import eu.etaxonomy.dataportal.DataPortalContext;
......
41 40
		//		RenderedWebElement element = (RenderedWebElement)container.findElement(By.xpath("div/div/ul/li/span[contains(@class, 'footnote-key')]"));
42 41

  
43 42
		// --- using the full xpath
44
		RenderedWebElement element = (RenderedWebElement)driver.findElement(By.xpath("/html/body/div/div/div[2]/div[2]/div/div/div/ul/li/span[contains(@class, 'footnote-key')]"));
43
		WebElement element = driver.findElement(By.xpath("/html/body/div/div/div[2]/div[2]/div/div/div/ul/li/span[contains(@class, 'footnote-key')]"));
45 44
		Assert.assertNull("result set entries must not have footnote keys", element);
46 45
	}
47 46

  

Also available in: Unified diff