Skip to content

Commit b6f612e

Browse files
committed
Use /RPC2 as remote library path
1 parent 73395ce commit b6f612e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ See keyword [documentation](https://eficode.github.io/JavaFXLibrary/javafxlibrar
3232
Import the library:
3333
```
3434
***Settings***
35-
Library Remote http://localhost:8270/ WITH NAME JavaFXLibrary
35+
Library Remote http://127.0.0.1:8270 WITH NAME JavaFXLibrary
3636
```
3737
Now the keywords can be used as usual:
3838
```
@@ -46,8 +46,8 @@ In case of duplicate keywords(multiple keywords found with same name) use e.g. `
4646
If you need to use the Remote library multiple times in a test suite, or just want to give it a more descriptive name, you can import it using the WITH NAME syntax.
4747
```
4848
***Settings***
49-
Library Remote http://localhost:8270/ WITH NAME client1
50-
Library Remote http://localhost:8272/ WITH NAME client2
49+
Library Remote http://127.0.0.1:8270 WITH NAME client1
50+
Library Remote http://127.0.0.1:8270 WITH NAME client2
5151
```
5252
5353
Now the keywords can be used as `client1.List Windows` and `client2.List Windows`

src/main/java/JavaFXLibrary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static void main(String[] args) throws Exception {
155155
JavaFXLibraryRemoteServer.configureLogging();
156156
System.out.println("-------------------- JavaFXLibrary --------------------- ");
157157
RemoteServer server = new JavaFXLibraryRemoteServer();
158-
server.putLibrary("/", new JavaFXLibrary());
158+
server.putLibrary("/RPC2", new JavaFXLibrary());
159159
int port = 8270;
160160
InetAddress ipAddr = InetAddress.getLocalHost();
161161

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
*** Keywords ***
22
Import JavaFXLibrary
33
Run Keyword If sys.platform.startswith('java') Import Library JavaFXLibrary
4-
... ELSE Import Library Remote http://javafxcompile:8270/ WITH NAME RemoteJavaFXLibrary
4+
... ELSE Import Library Remote http://javafxcompile:8270 WITH NAME RemoteJavaFXLibrary

0 commit comments

Comments
 (0)