title: Integration test for Application that interacts with web
body: <p>How do I write integration test for an application that interacts with website ?
  More specifically I have an application that interacts with Flickr website.During the OAuth authorization process flickr website display's the verifier code which the user has to copy and paste into my application. Now how do I automate this process so that I can test the application automatically.I am using swing for GUI.</p>