Since so many sites use Facebook login/connect for authentication, does Facebook or others have a standard recommendation on how to automate clicking Facebook button to bring up popup, then switch to popup and login and go back to main window and check login successful and proceed from there?
While each website is different, the login process and FB button is pretty much the same for all. So I would think there should be boilerplate code that everyone can use to automate FB login for their site as part of their automated testing and save headaches trying to automate themselves.
I have experienced and see posts on having issues with FB connect trying to select the popup window to login, etc. for IE (and perhaps Safari).
If we don't, be nice to offer a recommended process on how to do the automation
- with Selenium RC
- with WebDriver
- with the different bindings (Java, Python, Ruby, PHP, Perl, etc.)
- with watir, watin, etc.