Process Automation with the Human Emulator - Profit Hunter

Automation in the style of luxury or priority on important tasks

What are the associations of webmasters associated with earnings in the network, causes the word "Automation"? I will try to guess ... Button loot, every minute replenishing the bank account yachts, luxury cars, a seaside villa with a seaview pool and lots of beauties in it, in other words, life in a luxury style. Or, if viewed from a different angle, automation of routine processes is a great opportunity to focus on more important tasks in their work, shifting the routine "n shoulders "hard-working algorithms that perform everything exactly as described.
In this article I would like to consider one of the programs that allow you to free you from countless manual actions and thus save your valuable time for more important things. So, the hero of automation in the style of luxury - XWEB Human Emulator.

Will the Human Emulator

help me? What can a Human Emulator do and how to use it in my work, you ask. And what do you yourself can do in your browser window, what actions do you do every day or at least several times a week? The answer to this question for you and will be those opportunities that are incorporated in the Human Emulator. In short, using XHE, you can emulate absolutely any sequence of your actions in the browser, save it as a macro and perform when you need it and how much it needs .
Among such tasks can be as tasks for searching, parsing and placing content, monitoring specified parameters or sites (ay, competitors, big brother watching you), and tasks from the area of ​​development, testing, and other areas that cannot be taken into account here, since each user has his or her own range of unique tasks. If we add to this the possibility of using full-fledged PHP in the created macros, it becomes clear that the scope of this tool is quite extensive and is not limited only to tasks from white / black SEO. The main and most valuable feature that the Human Emulator provides is the software control of the Internet Explorer browser using PHP.

For each moneymaker on the button-loot

If everything is so simple and wonderful, then why does every webmaster who understands the possibilities of this program have no button on their loot? Here lies the main feature in working with Human Emulator - to automate any process, it is not enough just to buy a Human Emulator, but you also need to spend some amount of time studying the built-in functions, creating and debugging scripts. When creating simple scripts to perform simple actions — registering a mailbox, creating an account, or filling out a form, it is possible to record the actions performed by the user. However, when creating complex scripts with branching logic, time and knowledge may be required to create and debug scripts.

No knowledge - no money - no funny

Another interesting question that occupies the minds of webmasters - is it necessary to have knowledge of the PHP programming language to work with the Human Emulator? In my opinion, they are not needed to start working with the program and even to automate the many tasks that most webmasters face daily, since the developers already have a large number of built-in functions necessary to automate the work of the webmaster. But if you are more interested in the idea of ​​creating your own “loot button” using this software, then you will certainly need some PHP programming skills.
I would like to elaborate on the features of using built-in functions created by developers for facilitating the construction of scripts. Of course, this is a great opportunity for those users who do not have PHP programming skills to start using a program called out of the box. However, in the debate between webmasters on the subject of “pros and cons of using built-in functions in the Human Emulator”, one may come across not very flattering reviews like “there is no point in programming on surrogates when you can use pure PHP”. Of course, if you have the knowledge and time, write and debug PHP scripts, but for example me, with my rather meager knowledge of PHP (I would rate my level of PHP as a beginner) the ability to use ready-made functions with the most popular actions in my work I liked it, although it took some time to study them on the website of online help on the functions of the Human Emulator (http: // www. humanemulator. net). I especially liked the class of functions for working with text files (and this is without knowledge of working with PHP functions like fopen, fread, fwrite, fclose), as well as ready-made functions for randomization.

Methods of constructing scripts

So, in the Human Emulator you can select 2 main ways of constructing scripts:

  1. Interactive recording of user actions. This method will help beginners or unwilling to deal with PHP users to begin familiarization with the program. When using this method, it is necessary to control those functions that the Human Emulator adds to the script while you are performing actions on the page, since the operation of this function is not always predictable - sometimes it can replace functions already added to the script, insert an incorrect function or its parameter or not to insert a function or parameter at all for a user-executed action (for example, when a field in a form has an autocomplete function based on other fields, but for some reason this value does not suit you). It is possible that the behavior of the script recording function can be somehow controlled by switching commands receiving modes (the button with the icon in the form of a green square with a white arrow in the toolbar of the script editor window is responsible for this) and you can still do sane work from it, but I decided not to waste my time on it, since there is no exact certainty about how accurately the program will determine my actions on the page, and, accordingly, will select the desired function. Therefore, having played around briefly with the function of recording macros, I realized that I needed a more accurate and at the same time more flexible scripting mode, so I switched to the second, advanced method ...
  2. Manual scripting using context menu of element functions and element inspector. This method can also be successfully applied by those users who still stubbornly do not want to deal with PHP. To get all the functions available for an element on the page (in fact, it is not always ALL AVAILABLE for an element of a function, see the section on the observed oddities) just hover the cursor on the element on the page, press the right button and select the lowest item in the context menu which usually indicates the type of element ($ input, $ listbox, $ button, etc.). This item hides a huge list of functions that allow interaction with an element (moreover, many functions with the same action are implemented in several instances so that the action with the element can be performed by accessing the element through its different attributes):
    • Setting the focus on the element;
    • Click on the element;
    • Sending a certain event to the element;
    • Counting elements of this type on the page;
    • Checking the existence of an element on the page;
    • Adding / deleting element attributes ;
    • Setting / getting element value;
    • Getting item coordinates on a page.

    If you decide to use the manual construction of scripts, then you will need the attributes and values ​​of the attributes of the element. To get a list of attributes and their values ​​for an element, you need to use the element inspector. To do this, select the item “View In Element Inspector” in the context menu of the element (or simply use the shortcut “Ctrl + Right mouse button”) and all necessary information on working with this element will be displayed in the element inspector window to the right of the window browser (unless, of course, you have not closed it by that time or moved it to another place). This window contains all the parameters of the element that you can use in the functions for interacting with this element on the page, listing the main ones:

    • Type, name and identifier of the element;
    • Number element (automatic numbering of page elements);
    • Attributes and values ​​of element attributes.

    The window of the element inspector has several modes of displaying information, but the most useful of them are the two - the first one I mentioned just above is “view properties of element”, when the attributes of the selected element are displayed in the inspector window and their values, and the second mode - “view comands of element”, when the window displays functions with a text description available for the selected element.
    Thus, the construction of scripts in the Human Emulator is simplified to the task "to find the desired function from the list for this element and pass it the desired parameter value."

Solution is nontrivial of tasks with the Human Emulator

In this section I would like to touch on the topic of advanced work with the Human Emulator. Why only touching on this topic is the fact that, as I noted above, each user has his own circle tasks and it is impossible to consider all the features of the program in the light of the tasks of all users, but without even knowing these tasks, you can confidently Steam to assert that the possibilities inherent in the Human Emulator is enough to solve 90% of them.
For example, on one fairly large mail service, I ran into a form in which I could not access one of the drop-down lists to put in it the value I needed by programmatically passing the desired parameter. I came to the aid of the function of setting the focus on the desired element and emulation of pressing the desired keyboard keys.
However, when using mouse and keyboard emulation functions, you need to keep track of exactly which emulation functions are used in scripts, since there are functions (for example, $ keyboard-. Press_key_by_code ();) for which in the scripts it is necessary that the Human Emulator be active and have focus, otherwise, the emulated keys will be pressed in the active program. To emulate the mouse and keyboard in the collapsed mode, there are other functions that will work without the Human Emulator having focus (for example, $ keyboard-. Send_key (), which I used to fill in the “capricious” drop-down list).
In general, I want to say that there are no unsolvable problems or there are few of them, you only need to find the functions that will help you solve these problems using the functionality available in the program. In addition, it is worth noting that for more or less serious Automation using Human Emulator, you still need the knowledge of the PHP language, the cat They will bring your routine automation to a new level, and this, in my opinion, is a good incentive to raise your knowledge of PHP, since it’s one of the most widely used languages ​​on the web.


How can be understood from the article, the program has a fairly rich functionality for automating many tasks, but on the other hand it has its drawbacks (and which actively developing product does not have its drawbacks?). Nevertheless, I would still recommend this program to be bought for those who, while performing a routine task, at least once caught themselves thinking, "How tired I am of doing this stupid monotonous work. I wonder if it is possible to automate it somehow ? ”And I have an answer to your question - I am sure that with the Human Emulator you can automate your task, freeing you for the most valuable resource of our time - time.

A little about weird things

As afterwords I allow myself to chat a little and list some noticed Minuses by program functionality, built-in functions and help site:

  • The drop-down list of functions that can be used for an element that appears when you right-click on an element on a page does not always contain the entire list of functions possible to use with this element.Therefore, to get the most complete picture of the functions existing for an element, it is better to refer to the help site and examine the entire list of functions available for the element, then use the necessary one (not the fact that it will be tekstnom menu, perhaps it will have to fit into the script handles). The idea of ​​quickly creating scripts through the use of a context list of functions by clicking on the right button is good, but due to the incompleteness of the displayed context list of functions, the speed and convenience of operation may decrease.
  • The name of functions that have the same action for different elements does not always coincide in different classes, for example, there are functions in the name of which “... by_num” is used, but there is “… by_number”. Due to the presence of such differences, one often has to be distracted by the help site to clarify the name of the function for the necessary element in the desired class, which also reduces the speed and convenience of work.
  • According to the description of the function on the help site, it is not always clear what the function does and in solving which tasks it can help. It would be more convenient if the developers indicated approximate areas of application of each function.
  • From the obvious blunders of the help site - use in the example of another function than the one that is mentioned on the page.

Do you like articles? Subscribe to the newsletter!


Related Articles