Skip to main content

Hybrid Robot Framework library for web and desktop automation

Project description

DeskWebLib

DeskWebLib is a custom Robot Framework library that combines web automation using Selenium and desktop automation using image-based techniques with PyAutoGUI. It is designed for hybrid test scenarios involving both browser and desktop applications.

Features

  • Web automation using Selenium
    • Open browser, navigate, click, input text, verify elements, etc.
  • Desktop automation using PyAutoGUI and image recognition
    • Launch applications, send text, image-based clicking, log checking

Installation

pip install Deskweblib==0.1.4

Folder Structure

DeskWebLib/
├── DesktopKeywords/
│   ├── __init__.py
│   └── keywords.py
├── WebKeywords/
│   ├── __init__.py
│   └── keywords.py
├── DeskWebLib/
│   └── DeskWebLib.py
├── setup.py
├── README.md
└── LICENSE

How to Import in Robot Framework

*** Settings ***
Library    DeskWebLib    browser=chrome    implicit_wait=5

Available Keywords

Web Keywords

Open Browser

Go To

Click Element

Input Text

Get Text

Maximize Browser Window

Close Browser

Desktop (Image-Based) Keywords

Image Based MouseClick

Launch Application

Send Text

Check Log Entries

Clear Log File

To generate complete keyword documentation:

python -m robot.libdoc DeskWebLib.DeskWebLib output.html

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

deskweblib-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deskweblib-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file deskweblib-0.1.0.tar.gz.

File metadata

  • Download URL: deskweblib-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for deskweblib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 37907e6822884aa466e64074faf691c16361e718615f94f5f9cb91ce3fab7340
MD5 47fb5391bf9f2c03a60effd94fb259a0
BLAKE2b-256 d5dfa44e5eca1e5070a6b20989fa1597bf9b9442b5a62e4aaca45c93c9c35573

See more details on using hashes here.

File details

Details for the file deskweblib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: deskweblib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for deskweblib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a18abdcda244dfaeb299ca8cf73783c86efdeaff8ea712126b87de93d41d422e
MD5 98b96a895b317bf6ea813e50b41cde82
BLAKE2b-256 e925eba587f4701f8807c20614b8afcace3b3266f94358b7e178d79ad8f1d434

See more details on using hashes here.

Supported by

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