Reputation: 1225
i want to improve my selenium2library robotframework testsuite catching javascript error and calls that returns http status different from 200.
Even i think this is a common problem, google cannot help me.
Some advices?
Upvotes: 0
Views: 388
Reputation: 386220
If you want to test http responses, you need another library such as RequestsLibrary or HTTPLibrary. You can also write your own keywords in python using urllib2
or urllib3
.
You can use Selenium2Library's ExecuteJavascript keyword to test javascript functions.
Upvotes: 1