Skip to main content

Python sdk which enables GUI automation for all type of applications.

Project description

Introduction

locator ref Clicknium python package provides methods to automate various types of applications, such as Web browser, Windows Desktop application, Java application and Sap windows GUI app, etc.

Follow this tutorial to start automation in one minute.

System Requirements

  • Python 3.7 or above
  • Windows 7 SP1 or above

Install

# python version is 3.8 or below
pip install clicknium

# python version is 3.9 or above
pip install --pre pythonnet
pip install clicknium

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()

Contact

Email: clicknium@clickcorp.com

Project details


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

clicknium-0.1.0-py3-none-win_amd64.whl (36.5 MB view hashes)

Uploaded Python 3 Windows x86-64

clicknium-0.1.0-py3-none-win32.whl (27.7 MB view hashes)

Uploaded Python 3 Windows x86

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