You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILD.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@ JavaFXLibrary uses Apache Maven as a build tool.
16
16
are being used by both JavaFXLibrary and the AUT. It's not uncommon that a specific version is needed for AUT and another
17
17
version of the same dependency is required for JavaFXLibrary(e.g. TestFX dependency for Google Guava). Not always are these
18
18
dependencies backwards compatible and therefore JavaFXLibrary has adopted Apache Maven Shade Plugin to cope with this issue.
19
-
Currently the package com.google.common has been renamed in JavaFXLibrary as shaded.com.google.common to avoid version
20
-
mismatches with Google Guava dependencies. See https://maven.apache.org/plugins/maven-shade-plugin/ for more info.
19
+
Currently the package com.google.common has been renamed in JavaFXLibrary as shaded.com.google.common and org.apache.commons as shaded.org.apache.commons to avoid version
20
+
mismatches with dependencies in AUT and internally. See https://maven.apache.org/plugins/maven-shade-plugin/ for more info.
21
21
22
22
23
23
## Releasing
@@ -58,8 +58,12 @@ JavaFXLibrary uses Apache Maven as a build tool.
58
58
</settings>
59
59
````
60
60
* Release snapshot or actual release (depending what is in version tag in pom.xml)``mvn clean deploy -P release``
61
+
* In case of release log in to https://oss.sonatype.org:
62
+
* from left choose `Staging repositories` and scroll down, choose `robotframework-*` repository and review
63
+
* choose from top toolbar `Release`, add to reason field `x.y.z release` and submit
64
+
* sync takes typically hours before visible in Maven Central
61
65
* snapshots can be found from https://oss.sonatype.org/content/repositories/snapshots/org/robotframework/javafxlibrary/
62
-
* actual releases can be found from https://search.maven.org/ and typing `javafxlibrary` in the search field.
66
+
* actual releases can be found from https://search.maven.org/ and typing `javafxlibrary` in the search field.
Copy file name to clipboardExpand all lines: README.md
+30-3
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@ JavaFXLibrary works with both Jython (local and remote use) and Python (remote o
7
7
JavaFXLibrary is tested to work with Robot Framework 3.0.2 or later.
8
8
9
9
## Keyword documentation
10
-
See keyword [documentation](https://eficode.github.io/JavaFXLibrary/javafxlibrary.html).
10
+
See keyword [documentation](https://repo1.maven.org/maven2/org/robotframework/javafxlibrary/0.5.3/javafxlibrary-0.5.3.html).
11
+
12
+
For editors (IDEs) keyword documentation can be obtained from [here](https://repo1.maven.org/maven2/org/robotframework/javafxlibrary/0.5.3/javafxlibrary-0.5.3.xml).
11
13
12
14
## Taking the library into use
13
15
### As a local library
@@ -17,7 +19,7 @@ See keyword [documentation](https://eficode.github.io/JavaFXLibrary/javafxlibrar
17
19
*** Settings ***
18
20
Library JavaFXLibrary
19
21
```
20
-
3. Add library jar to Jython [module search path](http://robotframework.org/robotframework/3.0b1/RobotFrameworkUserGuide.html#configuring-where-to-search-libraries-and-other-extensions) and run your tests:
22
+
3. Add library jar to Jython [module search path](http://robotframework.org/robotframework/3.1.2/RobotFrameworkUserGuide.html#configuring-where-to-search-libraries-and-other-extensions) and run your tests:
@@ -70,4 +72,29 @@ Library's acceptance test suite can be used as a JavaFXLibrary demo. Running the
70
72
71
73
Executing _test.sh_ runs the acceptance suite twice: first using JavaFXLibrary as a local Robot Framework library on Jython, and after that using the library in remote mode executing the same tests on python version of Robot Framework.
72
74
73
-
If you want the suite to run only once, you can define which type of library to use by including **local** or **remote** as an argument. For example command `test.sh remote` will execute the suite only in remote mode.
75
+
If you want the suite to run only once, you can define which type of library to use by including **local** or **remote** as an argument. For example command `test.sh remote` will execute the suite only in remote mode.
76
+
77
+
## Experimental: Headless support
78
+
Library supports headless operation utilizing [Monocle](https://wiki.openjdk.java.net/display/OpenJFX/Monocle). The support for this is still at experimental level.
79
+
80
+
### Main issues with headless function
81
+
* Scrolling doesn't work same way as with screen
82
+
* "Tick" (amount of scrolling) is much smaller in headless than normally
83
+
* Vertical (left/right) scrolling is not working
84
+
* Separate app windows' can't be closed (unless app offers that functionality itself)
85
+
* Swing applications can't be tested in headless mode.
86
+
87
+
### Enabling headless mode
88
+
Headless mode can be enabled by setting first library initialization to "True".
89
+
90
+
Locally:
91
+
```
92
+
*** Settings ***
93
+
Library JavaFXLibrary ${True}
94
+
```
95
+
96
+
Remote:
97
+
```
98
+
*** Settings ***
99
+
Library Remote http://127.0.0.1:8270 ${True} WITH NAME JavaFXLibrary
0 commit comments