A new generation GUI automation framework for Web and Desktop Application Testing and Automation.

Overview

PyPI version GitHub issues PyPI - Python Version Slack Status

Clicknium-docs

Clicknium is a new generation GUI automation framework for all types of applications. It provides easy and smooth developer experience with high-level API for automating GUI application and intelligent plug-ins. It provides you a new way to build your automation world. It also supports for web scraping bots, browser automation, testing for web and desktop applications.

Requirements

Main version
Python 3.7, 3.8, 3.9, 3.10
OS Windows 7 SP1 or above

Code Editor

  • Visual Studio Code

Getting Started

Get a sample script showing automation of web page and notepad.

Installation​

Install Clicknium Python Package

# Python version is 3.8 or below
pip install clicknium

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

Setup Clicknium VS Code Extension

install VS Code Extension and sign in your Clicknium account.

login

Install and Enable Browser Extension

  • Click CLICKNIUM EXPLORER in Visual Studio Code Activity Bar.
  • Show AUTOMATION EXTENSIONS view in Visual Studio Code Side Bar.
  • Choose the Edge browser and click the Install button.
  • Open Edge browser, type edge://extensions/ into address bar and enable Clicknium Recorder extension as below.

enable edge extension

Setup Sample Project

  • In Visual Studio Code, open the Command Palette: Ctrl+Shift+P
  • Input: Clicknium: Sample
  • Choose a path to locate sample project

The sample.py contains two automation samples, one is Edge web automation, and the other is notepad automation.

import subprocess
from time import sleep
from clicknium import clicknium as cc, locator, ui

def main():
    # sample code to demo web automation and desktop application
    tab = cc.edge.open("https://www.bing.com/")
    tab.find_element(
        locator.new_store.sample.bing.search_sb_form_q).set_text('clicknium')
    tab.find_element(locator.new_store.sample.bing.svg).click()
    sleep(3)
    tab.close()

    process = subprocess.Popen("notepad")
    ui(locator.new_store.sample.notepad.document_15).set_text("clicknium")
    sleep(3)

if __name__ == "__main__":
    main()

Run the Sample

In Visual Studio Code, open sample.py and press Ctrl+F5 to run the script. It will do:

  • Open a search engine page
  • Input a keyword and click search button
  • Open a notepad
  • Input text to notepad

Next .

Learn how to start an automation project from zero.

Contact

Welcome to create a Github Issue or join Clicknium Slack if you have any question.

You might also like...

Javascript-testing-practical-approach-2021-course-v3 - Javascript Testing, a Practical Approach (v3)

Javascript-testing-practical-approach-2021-course-v3 - Javascript Testing, a Practical Approach (v3)

Javascript Testing, a Practical Approach Description This is the reference repository with all the contents and the examples of the "Javascript Testin

Nov 14, 2022

Get a desktop notification every time a new correction slot is available for your 42 project.

42_slot_watcher A simple node.js corrections slots watcher for 42, working on Windows - MacOS - Linux. What is this I was bored of having to refresh t

Dec 20, 2022

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Phaser - HTML5 Game Framework Phaser is a fast, free, and fun open source HTML5 game framework that offers WebGL and Canvas rendering across desktop a

Jan 7, 2023

An app to manage tasks. A user can add, delete and edit a task and mark it as completed, It uses simple GUI and relies on DOM manipulation in pure JS and using local storage.

An app to manage tasks. A user can add, delete and edit a task and mark it as completed, It uses simple GUI and relies on DOM manipulation in pure JS and using local storage.

An app to manage tasks. A user can add, delete and edit a task and mark it as completed, It uses simple GUI and relies on DOM manipulation in pure JS and using local storage.

Aug 20, 2022

Digispark Overmaster : free IDE TOOL allows to create and edit Digispark Scripts by the drag and drop technique,with cool GUI and easy to use it

Digispark Overmaster : free IDE TOOL allows to create and edit Digispark Scripts by the drag and drop technique,with cool GUI and easy to use it

Digispark_Overmaster Digispark Overmaster : free IDE TOOL allows to create and edit Digispark Scripts by the drag and drop technique,with cool GUI and

Nov 14, 2022

🛠️ A simple GUI of Ethereum tools and utilities for debugging

Ethereum DevTools GUI A simple GUI of Ethereum tools and utilities for debugging Demo https://lab.miguelmota.com/ethereum-devtools Tools ABI viewer sh

Oct 31, 2022

A GUI to browse and restore restic backup repositories.

A GUI to browse and restore restic backup repositories.

A simple, cross-platform restic backup GUI for browsing and restoring restic repositories. Built with Wails2, based on leaanthony's Restoric PoC. Down

Dec 29, 2022

EasyPen is a GUI program which helps pentesters do target discovery, vulnerability scan and exploitation

EasyPen is a GUI program which helps pentesters do target discovery, vulnerability scan and exploitation

EasyPen Alpha 1.0.5 Do not use EasyPen for illegal purposes, this tool is for research only 查看中文 EasyPen is a GUI program which helps pentesters do ta

Dec 25, 2022

Gatsby-Formik-contact-form-with-backend-panel - Full working contact form with backend GUI panel.

Gatsby minimal starter 🚀 Quick start Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the minimal starter. # create a new Ga

Jan 2, 2022
Comments
  • clicknium.send_text does not support str with

    clicknium.send_text does not support str with "+"?

    i use clicknium for windows desktop software called wxworklocal, like QQ. When working with the password, i found it can not input the correct password, It always miss one letter, i thought it's because my password has symbol "+" in it. But when i input password manually, it's correct. How can i fix this bug? I've looking for the document but found nothing image

    opened by phoenixor 2
  • cc.edge.browsers memory leak

    cc.edge.browsers memory leak

    Hello, I'm using the clicknium in some of my projects and I have found something disturbing there. To show this I have prepared some simple script like below:

        from clicknium import clicknium as cc
        from time import sleep
    
        if not cc.edge.extension.is_installed():
            cc.edge.extension.install_or_update()
    
        while True:
            cc.edge.browsers
            sleep(0.2)
    

    Running this script will increase memory usage continuously.

    Same if I will use script below:

          from clicknium import clicknium as cc
    
          if not cc.edge.extension.is_installed():
              cc.edge.extension.install_or_update()
    
          cc_browsers = cc.edge.browsers
          while True:
              for browser in cc_browsers:
                  for tab in browser.tabs:
                      print(tab.title)
    

    Could you give me any update about this?

    Have a nice day!

    opened by CzakuGim 2
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Prisma ORM. Deploys to Fly.io

Live Demo · Twitter A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Pris

Remix Stacks 18 Oct 31, 2022
Purple hats Desktop is a customisable, automated web accessibility testing tool that allows software development teams to find and fix accessibility problems to improve persons with disabilities (PWDs) access to digital services.

Purple HATS Desktop Purple hats Desktop is a desktop frontend for Purple HATS accessibility site scanner - a customisable, automated web accessibility

Government Digital Services, Singapore 6 May 11, 2023
This provides an extension integration with Docker Desktop to run k9s quickly and easily through the Docker Desktop interface.

k9s extension for Docker Desktop This provides an extension integration with Docker Desktop to allow k9s quickly and easily through the Docker Desktop

James Spurin 14 Dec 16, 2022
Desktop App for mdSilo: Tiny Knowledge silo on your desktop.

mdSilo A mind silo for storing ideas, thought, knowledge with a powerful writing tool. built with React and Tauri. Demo Discord This is desktop app, a

D.Loh 203 Dec 27, 2022
No-code test automation solution for end-to-end testing

No-code test automation tool for end-to-end testing Table of Contents About Features Installation Usage Creating tests Running tests Roadmap Our Team

OSLabs Beta 63 Oct 18, 2022
Web GUI for youtube-dl (using the yt-dlp fork) with playlist support

MeTube Web GUI for youtube-dl (using the yt-dlp fork) with playlist support. Allows you to download videos from YouTube and dozens of other sites (htt

Alex 1.3k Jan 1, 2023
A web GUI for inpainting with Stable Diffusion using the Replicate API.

?? Inpainter A web GUI for inpainting with Stable Diffusion using the Replicate API. Try it out at inpainter.vercel.app cherries-oranges-bananas.mp4 H

Zeke Sikelianos 158 Dec 27, 2022
AREX: It is a “Differential Testing” and “Record and Replay Testing” Tool.

AREX: It is a “Differential Testing” and “Record and Replay Testing” Tool. Test restful API by record, replay and stub request/response. Differential

ArexTest 15 Nov 1, 2022