@@ -0,0 +1,714 @@
+%0A/**%0AAuthor : bhordupur%0ADate : Septem 2014%0ATurku University%0A*/%0A%0A%0Apackage Software_Testing_UTU;%0A%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0Aimport org.testng.annotations.Test;%0A%0Apublic class NeewsFeed  extends OpenBrowser%7B%0A%09%0A%09%0A%09@Test%0A%09public void getNewsFeed()%7B%0A%09%09%0A%09%09%0A%09%09//driver.get(%22http://www.matkahuolto.fi/fi/index.html%22);%0A%09%09//WebElement newsLink1 = driver.findElement(By.xpath(%22//div%5B@id='news'%5D//ul/li%22));%0A%09%09%0A%09%09while(true)%7B%0A%09%09%09%0A%09%09%09driver.get(%22http://www.matkahuolto.fi/fi/index.html%22);%0A%09%09%09WebElement newsLink1 = driver.findElement(By.xpath(%22//div%5B@id='news'%5D//ul%22));%0A%09%09%09System.out.print(newsLink1.getText());%0A%09%09%09System.out.print(newsLink1.getCssValue(%22href%22));%0A%09%09%09break;%0A%09%09%7D%0A%09%0A%09%7D%0A%0A%7D%0A

Create NeewsFeed.java