Skip to main content

GUI plugin for extensiveautomation server

Project description

GUI plugin for ExtensiveAutomation server

This plugin enable to interact with user interface Selenium, sikulix or adb for android mobile are used to do that.

Table of contents

Installing from pypi

  1. Run the following command

     pip install extensiveautomation_plugin_gui
    
  2. Execute the following command to take in account this new plugin

     ./extensiveautomation --reload
    
  3. Samples are deployed on data storage

Installing from source

  1. Clone the following repository

     git clone https://github.com/ExtensiveAutomation/extensiveautomation-plugin-gui.git
    
  2. Copy the folder sutadapters to /home/extensiveautomation/ and overwrite-it

     cp -rf sutadapters /home/extensiveautomation/
    
  3. Copy the folder var to /home/extensiveautomation/ and overwrite-it

     cp -rf var /home/extensiveautomation/
    
  4. Finally execute the following command to install depandencies

     cd /home/extensiveautomation/
     python3 extensiveautomation.py --install-adapter GUI
     python3 extensiveautomation.py --reload
    

About actions

Selenium

selenium/openbrowser.yml

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)

selenium/closebrowser.yml

Close the browser

Parameter(s):

  • agent (text): agent name

selenium/typetext.yml

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

selenium/waitelement.yml

Wait html element to appear on the page.

Parameter(s):

  • agent (text): agent name
  • xpath (text): xpath expression to find the html element

selenium/clickelement.yml

Click on html element.

Parameter(s):

  • agent (text): agent name
  • xpath (text): xpath expression to find the html element

Sikulix

sikulix/run_code.yml

Run sikulix code

Parameter(s):

  • agent (text): agent name
  • code (text): sikulix code

sikulix/type_path.yml

Type path text

Parameter(s):

  • agent (text): agent name
  • text (text): path text

selenium/type_text.yml

Type text

Parameter(s):

  • agent (text): agent name
  • text (text): text to send

sikulix/type_shortcut.yml

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

sikulix/get_text_clipboard.yml

Get the text from the clipboard

Parameter(s):

  • agent (text): agent name
  • key-cache (text): save result on cache with the provided name

About workflows

Selenium

selenium/google_search.yml

This workflow shows how to use selenium actions

selenium/google_create_account.yml

This is a more advanced worflow to use selenium actions

Sikulix

sikulix/keyboard.yml

This workflow shows how to use sikulix actions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extensiveautomation_plugin_gui-1.5.0.tar.gz (99.8 kB view details)

Uploaded Source

File details

Details for the file extensiveautomation_plugin_gui-1.5.0.tar.gz.

File metadata

File hashes

Hashes for extensiveautomation_plugin_gui-1.5.0.tar.gz
Algorithm Hash digest
SHA256 233c8dc0b1b8d020c5a2fad7d71c910567f13d6baaebd52fed257f6b7a3b944d
MD5 c134cfa1a7951edf0d3b4daf847d2b4f
BLAKE2b-256 8352d2f5a96139904d8809bed57d088dc019b1aba1f157905359467aa74edf38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page