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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Web testing (3/3)<br />

<strong>Application</strong>-specific abstractions<br />

public HtmlPage goToSubmissionPage(HtmlPage homePage) {<br />

List l = homePage.getByXPath(<br />

"//a[contains(., 'Click here to go to the submission page')]");<br />

Iterator it = l.iterator();<br />

anchor = (HtmlAnchor) it.next();<br />

return anchor.click();<br />

}<br />

Page 19

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

Saved successfully!

Ooh no, something went wrong!