Skip to content

Run Agent by Headless (Integration with CICD)

  • Step 1: Open "agent_core" folder (C:\Users\{username}\AppData\Local\Programs\akaatstudio\resources\agent-core)

image-ccmd_WindowOS_1

  • Step 2: Run cmd on agent_core folder

*Note: only run with java of akaAT Studio tool (not use your java in your PC)*

Before running headless you should run cmd update driver

test -quick -updr

For example:

test --headless -pj “D:\Project\aka-test\akatest” -tid c143708c-cbce-4475-a477-5c7dee43ae87 -pf "Window10-Chrome" -zip "D:\headless"

Or:

test --headless -pj “D:\Project\aka-test\akatest" -tp “test-cases\example.tc” -pf "Window10-Chrome" -zip "D:\headless"

Where

-pj / --project: Project path

-tp / --testpath: relative path of test case, test suite or test plan

-tid / --testId: testcase/testsuite/testplan ID

-pf / --profile: Profile Name

-zip / --zipPath: Folder to save all files for zipping report after run test