this xpath will keep on changing and maybe thats why its not working.
what is the text you want to get from Google.
It's the google example which u gave on friday.
1.Go to google.com web page.
4.get text of the first link on the page.
WebDriver driver = FirefoxDriver();
List<WebElement> elements = driver.findElements(By.tagName("a"));