Automate filling web form with excel data
Overview In the web automation, it is a common scenario that we need to fill data on the web page. Here I would like to use two different ways (Selenium and Clicknium) to automate filling data in web form. The steps overview are as below: Here is the data in the excel file that we […]
Automate upload file dialog in web automation
Overview Sometimes there could be a dialog that needs to be handled when doing web automation, like file upload dialog, print dialog, or save as dialog. The problem is that the libraries that we use to do web automation normally do not support automating these dialogs. I will introduce two different ways of handling file […]
Scrape images from the website_Similar Elements
Overview This article describes how to extract numerous related images from a website. It is a basic necessity to download all images from a web page and store them to a local folder. It is also a necessary to preserve the titles of the images so that they may be managed or processed more easily […]
3 Ways of Attaching to Existing Browsers in Web Automation
For partial web automation that part of the work is prepared by human, and part of the work is automated. Attaching to existing browser is then required in this case. This blog introduces 3 ways of attaching to browser by different automation libraries. Overview For web automation, there are common scenarios containing end-to-end automation without […]
Java application automation by Clicknium
Background Java is an extremely popular programming language that is used to create many desktop GUI applications. It has become a typical demand to automate these Java GUI applications. Clicknium is perfectly suited to the task. This blog takes SwingSet.jar as an example to introduce how to use Clicknium to automate Java application. Let’s start to learn […]
Generate reliable locators for web UI testing or data scraping
If you are spending a large chunk of development time finding elements on a web page, such as input, checkbox, submit button, table, and divs. It can be challenging to locate the correct elements, especially when they lack unique attributes, such as id, name, and class names; it is even worse if the attributes are […]
Using Clicknium project packaging
Quick and easy project packaging with Clicknium Background After creating an automated Python script, you must run it every time in Visual Studio Code or with a command like “Python app.py.” When running the script on a new computer, you must install the Python environment, etc., which might be a big nuisance if you have […]