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/Wiki/ENG_Guide/markdown/Studio/02_HowToUse.md

105 lines
2.7 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](\uploads/2c27be5bdde20b5d062cbb40e74eaec5/image.png)
## 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
MARKDOWN CODE
![image](https://gitlab.com/UnicodeLabs/OpenRPA/-/raw/master/Wiki/uploads/d3d6ad14a7e50843bd89d2b14a092fee/image.png)
### GUI Screenshot 2
## 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](\uploads/2c27be5bdde20b5d062cbb40e74eaec5/image.png)
## Result
![image](\uploads/2c27be5bdde20b5d062cbb40e74eaec5/image.png)
# 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”
### Action: Turn mouse on the UI object you are interested and hold the “Ctrl” key for 3 seconds
### Result: The interested UI object will be shown in `UI tree viewer`
## 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](\uploads/2c27be5bdde20b5d062cbb40e74eaec5/image.png)
### Result: The UI object property list will be shown in `Selected UI object property list`