This plugin enable to interact with user interface Selenium, sikulix or adb for android mobile are used to do that.
-
Run the following command
pip install extensiveautomation_plugin_gui
-
Execute the following command to take in account this new plugin
./extensiveautomation --reload
-
Samples are deployed on data storage
-
Clone the following repository
git clone https://github.com/ExtensiveAutomation/extensiveautomation-plugin-gui.git
-
Copy the folder
sutadapters
to /home/extensiveautomation/ and overwrite-itcp -rf sutadapters /home/extensiveautomation/
-
Copy the folder
var
to /home/extensiveautomation/ and overwrite-itcp -rf var /home/extensiveautomation/
-
Finally execute the following command to install depandencies
cd /home/extensiveautomation/ python3 extensiveautomation.py --install-adapter GUI python3 extensiveautomation.py --reload
Open a browser like firefox or chrome
Parameter(s):
- agent (text): agent name
- url (text): url to load
- browser (text): type of browser to open (firefox, chrome or edge)
Close the browser
Parameter(s):
- agent (text): agent name
Type text on the html element.
Parameter(s):
- agent (text): agent name
- xpath (text): xpath expression to find the html element
- text (text): text to send in the element
Wait html element to appear on the page.
Parameter(s):
- agent (text): agent name
- xpath (text): xpath expression to find the html element
Click on html element.
Parameter(s):
- agent (text): agent name
- xpath (text): xpath expression to find the html element
Run sikulix code
Parameter(s):
- agent (text): agent name
- code (text): sikulix code
Type path text
Parameter(s):
- agent (text): agent name
- text (text): path text
Type text
Parameter(s):
- agent (text): agent name
- text (text): text to send
Send keyboard shorcut
Parameter(s):
- agent (text): agent name
- key (text): press on key (KEY_WIN, etc..)
- other-key (text): press on a second key
Get the text from the clipboard
Parameter(s):
- agent (text): agent name
- key-cache (text): save result on cache with the provided name
This workflow shows how to use selenium actions
This is a more advanced worflow to use selenium actions
This workflow shows how to use sikulix actions