diff --git a/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/grid-and-chat-display-automated-test.py b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/grid-and-chat-display-automated-test.py new file mode 100644 index 000000000..1bd97cd32 --- /dev/null +++ b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/grid-and-chat-display-automated-test.py @@ -0,0 +1,13 @@ +if exists("./screenshots/modules"): + click(Pattern("./screenshots/datagrid-button.png").similar(0.69)) + chart = wait("./screenshots/open-chart-button.png", 20) + click(chart) + if exists("./screenshots/chart-opened.png"): + click(Pattern("./screenshots/goog-symbol.png").exact()) + wait(10) + else: + popup("Chart not available to proceed") + exit() +else: + popup("Module not found, can't continue") + diff --git a/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/chart-opened.png b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/chart-opened.png new file mode 100644 index 000000000..e161c1282 Binary files /dev/null and b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/chart-opened.png differ diff --git a/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/datagrid-button.png b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/datagrid-button.png new file mode 100644 index 000000000..d2d848435 Binary files /dev/null and b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/datagrid-button.png differ diff --git a/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/goog-symbol.png b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/goog-symbol.png new file mode 100644 index 000000000..e4d6027c1 Binary files /dev/null and b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/goog-symbol.png differ diff --git a/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/modules.png b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/modules.png new file mode 100644 index 000000000..9259da050 Binary files /dev/null and b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/modules.png differ diff --git a/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/open-chart-button.png b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/open-chart-button.png new file mode 100644 index 000000000..0f62be5e6 Binary files /dev/null and b/examples/fdc3-chart-and-grid/fdc3-chart-and-grid.sikuli/screenshots/open-chart-button.png differ