Changing xpath for the google search box

pull/1/head
Raymond Yee 2012-02-23 14:49:27 -08:00
parent 743ed9db50
commit 9dd2a07f9a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def run_google_rc():
def test_google_rc(self):
sel = self.selenium
sel.open("/")
sel.type("id=lst-ib", "Bach")
sel.type("//input[@type='text']", "Bach")
sel.click("name=btnG")
time.sleep(3)
try: self.failUnless(sel.is_text_present("Wikipedia"))