Python package which enables GUI automation for all type of applications.
Project description
Introduction
Clicknium python package provides methods to automate various types of applications in Windows, such as Web browser, Windows Desktop application, Java application and Sap Windows GUI app, etc.
- No need to learn XPath or selector knowledge in advance;
- Capture UI locators by just clicking UI controls with VSCode extension;
- Same API for web and desktop applications;
Install Clicknium Visual Studio Code Extension to start automation with Clicknium python package now.
Examples
- Automate Edge web browser, visit here for capturing locators in Visual Studio Code.
from clicknium import clicknium as cc, locator, ui
tab = cc.edge.open("https://www.bing.com/")
tab.find_element(locator.new_store.bing.search_sb_form_q).set_text('clicknium')
tab.find_element(locator.new_store.bing.svg).click()
result_elements = tab.find_elements(locator.new_store.bing.a_search_result)
for elem in result_elements:
print(elem.get_text())
elem.highlight(duration=1)
tab.close()
- Automate Windows desktop application 'notepad', visit here for capturing locators in Visual Studio Code.
from clicknium import clicknium as cc, locator, ui
import subprocess
process = subprocess.Popen("notepad")
ui(locator.new_store.notepad.document_15).set_text("clicknium")
ui(locator.new_store.notepad.document_15).clear_text('set-text')
process.kill()
More
- Documentation : Learn everything about clicknium
- API Reference : Learn the python APIs
- Explore more in Clicknium.com
- More samples in GitHub
Contact
Email: clicknium@clicknium.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for clicknium-0.1.10-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f6dfe7fbf2a2bf8645881c9c50830d9ac365aac100c5787b273a226e6f8eb6 |
|
MD5 | 747db42b983d7409e4b675e53288b362 |
|
BLAKE2b-256 | 1dee832f472e4e9d4707c9f102e6bd6337a06930b2e3c4a8ee041ac8cc4043f4 |
Close
Hashes for clicknium-0.1.10-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ea4046519703deb30280fc8901ccd80ef575fee8ee6c64af67c288949015840 |
|
MD5 | 20acb126c0dabcd85c823fe730ff15c0 |
|
BLAKE2b-256 | 9fbaded7f9be738370ae6ea4d02dac579b6450cdc0fb69e0a7eb4c5c1ee636a0 |