Changing xpath for the google search box
parent
743ed9db50
commit
9dd2a07f9a
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue