Tip:
Highlight text to annotate it
X
First, lets navigate to the "Configuration Manager" to define a new configuration.
Select a folder and hit "Learn"
Now we will need to give this configuration a new name as well as defined it's initial URL
Once done, hit "Learn" and the facebook page should show up pretty soon.
Ok, let's start defining the fields. Simply right-click on any of the elements to define them.
More information on how to define fields and the meanings of all options can be found in the help file.
Note that we are identifying a drop down menu with two options now, "Female" and "Male" respectively.
We will use the "Drop Down Menu by Text" control option to identify this element.
Please take note of the spin tag syntax. The Automator will randomly choose between "Male" and "Female" here.
A similar procedure occures when identifying the other drop down menus.
The "Day" drop-down menu has 31 elements. One for each day in a month.
However, instead of using the "Drop Down Menu by Text" action control, we can use the "Generic Drop Down Menu" control and simply specify the
number of options available. Lets tell the Automator to consider 28 elements (in order to account for leap years).
A small problem, we need to click on the "sign- up" button to procede to the next step. However, we can't identify the button directly since it is not
part of the regular form. We have several options now, however the easiest one is to find out facebook's javascript code and simply simulate it.
Let's gater some info on the submit button.
We have chosen to look for specific elements, which will allow us to identify the button by its tag name.
We will look for all elements now, since this is the HTML tag used with most form elements.
We can take a look at the information gathered by simply hovering over any element that has been identified.
The "code" section is automatically copied into your clip-board for easy copy&pasting. Let's now add the relevant JavaScript code.
We are now done with identifying all web elements and can proceed to the next step, identifying the "submit button". The same
JavaScritp exctraction procedure applies here too.
We are done, lets load our new configuration. A few more steps and we will be ready to execute it.
Please take note of the CAPTCHA configuration screen. This is an additional measure serving CAPTCHA recognition. We are simply telling the
application to look for the CAPTCHA based on it's width value in case the conventional method of CAPTCHA recognition fails.
We will be running in "Debug" mode, a recommended setting when executing the configuration for the first time.
In "Debug" mode, the application will open a new browser window, showing you what exactly is going on behind the curtain.