28.06.2015 Views

Automated Testing of a Converged Conferencing Application

Automated Testing of a Converged Conferencing Application

Automated Testing of a Converged Conferencing Application

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Web <strong>Testing</strong> (1/3)<br />

HtmlUnit provides API for web testing<br />

WebClient wc = new WebClient();<br />

HtmlPage page = (HtmlPage) wc.getPage("http://ast2009.com");<br />

HtmlAnchor anchor = page.getAnchorByHref(<br />

anchor.click();<br />

Need to navigate to the<br />

submission page<br />

"http://www.easychair.org/conferences/?conf=ast2009");<br />

Page 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!