You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Sources/GuideSphinx/Studio/02_HowToUse.rst

124 lines
4.0 KiB

####################################
2. How to use
####################################
Content
=======
- `How to run <#how-to-run>`__
- `UI Description <#ui-description>`__
- `How to extract UI tree <#how-to-extract-ui-tree>`__
- `How to search UI object by mouse
hover <#how-to-search-ui-object-by-mouse-hover>`__
- `How to extract UI object
properties <#how-to-extract-ui-object-properties>`__
How to run
==========
- For OS x32
- Run (double click): OpenRPA\_32.cmd (for OS x32)
- For OS x64
- Run (double click): OpenRPA\_64.cmd (for OS x64)
- Wait text "running server" in console. Default browser will be open
automatically
- **Attention!** The studio tool does not support the Internet explorer
(any version) for GUI rendering (lol) |image|
UI Description
==============
**The studio tool GUI contains of:** - 1. UI tree viewer - 2. Selected
UI object hierarchy list - 3. Selected UI object property list - 4. UIO
selector editor - 5. UIO action panel - 6. Another Python activity panel
- 7. Action/activity list
*Look it on the GUI screenshots are listed below*
GUI Screenshot 1
----------------
.. only:: html
HTML CODE
.. figure:: img/d3d6ad14a7e50843bd89d2b14a092fee.png
:alt: image
image
.. only:: markdown
MARKDOWN CODE
.. image:: https://gitlab.com/UnicodeLabs/OpenRPA/-/raw/master/Wiki/uploads/d3d6ad14a7e50843bd89d2b14a092fee/image.png
:alt: code_quality
.. figure:: https://gitlab.com/UnicodeLabs/OpenRPA/-/raw/master/Wiki/uploads/d3d6ad14a7e50843bd89d2b14a092fee/image.png
:alt: image
image
GUI Screenshot 2
----------------
.. figure:: uploads/65b7d51c0a5b21e6b27dc23d4062d3ca/image.png
:alt: image
image
How to extract UI tree
======================
In order to extract the UI tree do the following: in ``UI tree viewer``
choose the object you are interested and click the button "Expand". ##
Action: Click the button "Expand" |image| ## Result |image| # How to
search UI object by mouse hover In order to search UI object do the
following: in ``UI tree viewer`` choose the parent object, where you are
want to search UI object, and click the button "Mouse search". The mouse
search mode will start. Turn mouse on the UI object you are interested
and wait when the studio will highlight the UI object. After the
hightlight hold the "Ctrl" key and wait 3 seconds. The interested UI
object will be shown in ``UI tree viewer``.
Action: Click the button "Mouse search"
---------------------------------------
.. figure:: uploads/84d7e4de0c840631f87cf7b325b53ad8/image.png
:alt: image
image
Action: Turn mouse on the UI object you are interested and hold the "Ctrl" key for 3 seconds
--------------------------------------------------------------------------------------------
.. figure:: uploads/b7c38d622bf5b7afa5b26d1686d7302a/image.png
:alt: image
image
Result: The interested UI object will be shown in ``UI tree viewer``
--------------------------------------------------------------------
.. figure:: uploads/629bbf4db2c01b9c640194230949fcd2/image.png
:alt: image
image
How to extract UI object properties
===================================
In order to extract UI object properties do the following: in
``Selected UI object hierarchy list`` choose the UI object you are
interested and click it. The UI object property list will be shown in
``Selected UI object property list`` ## Action: Choose the UI object you
are interested and click it |image|
Result: The UI object property list will be shown in ``Selected UI object property list``
-----------------------------------------------------------------------------------------
.. figure:: uploads/f235ae29099a713e0246cd574ac3a17c/image.png
:alt: image
image
.. |image| image:: uploads/504b98f76747f63900a2943532a946bb/image.png
.. |image| image:: uploads/6effc376ff6ea928840674bd744caced/image.png
.. |image| image:: uploads/18b9ab36126c8c32168bf5bbb9330701/image.png
.. |image| image:: uploads/2c27be5bdde20b5d062cbb40e74eaec5/image.png