March 8, 2015

How to Automate the Web

When testing web applications, circa 2015, one needs to keep in mind the presence of ajax forms, DHTML, etc. Indeed, were someone to use the straightforward way of writing an http client using requests, it would only solve half the problem, html parsing alone is good, circa 1995. Now, html has evolved to the point where ajax and javascript have matured to not make a simple libcurl script enough. Enter selenium. Selenium starts up an instance of your browser and lets you script the interaction. Here, I use it for testing the nowkash web application:

No comments:

Post a Comment