Code Example ============ Process data to ERP ------------------- | An example how to use Aiviro to create a story, which at first reads emails from a mailbox and extracts the data from the email's attachment, then it continues by adding this data into the ERP. In the end, all opened windows are closed by robot and a report is sent. Main Story ~~~~~~~~~~ | An example how to use Aiviro, which handles the main loop with all the required actions and steps. To see more information about used classes, please see :class:`~.BaseScenario`, :class:`~.ShellCommands`, :class:`~.InvoiceReader`. | Download here :download:`main_story_example.py <../../code_examples/main_story_example.py>` .. literalinclude:: ../../code_examples/main_story_example.py ERP Handler ~~~~~~~~~~~ | An example how to use Aiviro to handle actions in ERP system. In this case, Aiviro robot is used to add parsed data from the pdf file to the ERP system. | Download here :download:`erp_handler_example.py <../../code_examples/erp_handler_example.py>` .. literalinclude:: ../../code_examples/erp_handler_example.py Simple scripts -------------- | Example how to automate login testing. | Download here :download:`simplehq_login.py <../../code_examples/simple/simplehq_login.py>` .. literalinclude:: ../../code_examples/simple/simplehq_login.py | Example how to check the alignment of elements. | Download here :download:`todo_mvc_alignment.py <../../code_examples/simple/todo_mvc_alignment.py>` .. literalinclude:: ../../code_examples/simple/todo_mvc_alignment.py | Example of filling up the registration forms. | Download here :download:`eshop_registration.py <../../code_examples/simple/eshop_registration.py>` .. literalinclude:: ../../code_examples/simple/eshop_registration.py