Skip to main content

Project Management

Overview

Clicknium project encapsulates Python automation files to guarantee the automation scripts having same result in developing, debugging, execution and distribution.

Create Project

In Visual Studio Code, press Ctrl+Shift+P to show the Command Palette, input or select Clicknium: Create Project, and then select a folder where the project is stored according to the pop-up window. project create

When the project is created, a pop-up window in the lower right corner shows the general project intialization information and the output panel shows details. After initialization, the current Python virtual enviroment can be seen when you open app.py.
project create

Run/Debug Project

Run the project

In Visual Studio Code, press "Ctrl+Shift+P" to show the Command Palette, input or select "Clicknium: Run Project". The clicknium extension will deploy and run the project based on clicknium.yaml. project run

Debug the project

Basics

In Visual Studio Code, set a breakpoint to the code where you want to pause, press Ctrl+Shift+P to show the Command Palette, input or select "Clicknium: Debug Project". The clicknium extension will start projec debugging with debug buttons shown at the top of Visual Studio Code.
project debug
Continue (F5) / Pause (F6)
Step over (F10)
Step in (F11)
Step out (Shift + F11)
Restart (Ctrl+Shift+F5)
Stop (Shift + F5)
project debug

Monitor Variables

In the upper left corner of Visual Studio Code, you can see the variables is debugging the running values.

project debug

Debug Console

In Visual Studio Code, open the debug console by "View -> Debug Console"

project debug console

Project Package

In Visual Studio Code, press Ctrl+Shift+P to show the Command Palette, input or select Clicknium: Package Project, then select the path to save the executable file.

The detailed package log Output displays in the Output in Visual Studio Code.

Once the package is done, the saving folder will be opened to show the target executable file.

pack project result

If you want to replace the Exe icon, replace the logo.ico file in the project file.