print(app.open('http://localhost:8080/AUT/000000A/http/www.amazon.com/'))
print(app.verifyTitle('Amazon.com: Welcome'))
print(app.verifySelected('url', 'All Products'))
print(app.select('url', 'Books'))
print(app.verifySelected('url', 'Books'))
print(app.verifyValue('field-keywords', ''))
print(app.type('field-keywords', 'Python Cookbook'))
print(app.clickAndWait('Go'))
print(app.verifyTitle('Amazon.com: Books Search Results: Python Cookbook'))
print(app.verifyTextPresent('Python Cookbook', ''))
print(app.verifyTextPresent('Alex Martellibot, David Ascher', ''))
print(app.testComplete())
How to parse html that includes javascript code