From 724d9270f1fce8f6727ae80cf9ab165eb5aa7738 Mon Sep 17 00:00:00 2001 From: agyen Date: Fri, 6 Sep 2024 09:28:48 +0000 Subject: [PATCH] Readme to run sikuli test from cli --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2e587ad54..30b7da7d4 100644 --- a/README.md +++ b/README.md @@ -159,8 +159,13 @@ The necessary solutions have to be built in the following order: 1. [Download](https://launchpad.net/sikuli/+download) sikuli IDE jar file. 2. Launch the IDE with a double click on the sikuli IDE jar file -#### Run tests +#### Run tests from sikuli IDE 1. Launch [FDC3 Chart and Grid Example](####FDC3-Chart-and-Grid-Example) 2. On the Sikuli IDE click on file -> open 3. Locate the test file and select. -4. Click on the "Run" button in sikuli IDE to execute the script. Ensure that [FDC3 Chart and Grid Example](####FDC3-Chart-and-Grid-Example) is running in the background as Sikuli script will interact with it directly. \ No newline at end of file +4. Click on the "Run" button in sikuli IDE to execute the script. Ensure that [FDC3 Chart and Grid Example](####FDC3-Chart-and-Grid-Example) is running in the background as Sikuli script will interact with it directly. + +#### Run tests from CLI +1. Launch [FDC3 Chart and Grid Example](####FDC3-Chart-and-Grid-Example) +2. Open your terminal and run `java -jar PATH-TO-SIKULI/sikuli-ide.exe -r PATH-TO-TEST_FILE` +3. Example `java -jar ./sikulixide-2.0.5-win.jar -r ./grid-and-chat-display-automated-test.py` \ No newline at end of file