Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fdc3 e2e test #754

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,19 @@ The necessary solutions have to be built in the following order:
1. Open the Shell Solution
2. Choose "Shell" as the startup project
3. Run

### Running FDC3 sikuli e2e tests
#### Prerequisite
1. Java version 8 or later

#### IDE setup
1. [Download](https://launchpad.net/sikuli/+download) sikuli IDE jar file.
2. [Download](https://repo1.maven.org/maven2/org/python/jython-standalone/2.7.1/jython-standalone-2.7.1.jar) jython standalone jar file.
ZKRobi marked this conversation as resolved.
Show resolved Hide resolved
3. Have Sikuli IDE jar file and the jython standalone jar file in the same directory.
4. Launch the IDE with a double click on the sikuli IDE jar file

#### Run tests
1. Launch FDC3-Chart-and-Grid
2. On the Sikuli IDE click on file -> open
3. Locate the test file and select
4. Click on run(Make sure FDC3-Chart-and-Grid is running in the background and the next application after the IDE)
ZKRobi marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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")

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading