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
First time I am using this library/server, and I had difficulties in running the example. If I start with default values, then I can only test using 127.0.0.1:8270, not from other machines in my network.
Now if I start using the IP address of my server machine, I can run the example as intended. See below:
robot@linux-techno:~/test> python -m robotremoteserver test 192.168.2.10:8270
Remote server running at http://192.168.2.10:8270.
robot@linux-techno:~/test> python -m robotremoteserver test 127.0.0.1:8270
No remote server running at http://127.0.0.1:8270.
robot@linux-techno:~/test> python -m robotremoteserver test 127.0.0.1
No remote server running at http://127.0.0.1.
robot@linux-techno:~/test> python -m robotremoteserver test localhost
No remote server running at http://localhost.
On client machines:
[helio@localhost remote]$ python -m robotremoteserver test 192.168.2.10:8270
Remote server running at http://192.168.2.10:8270.
[helio@localhost remote]$ python -m robotremoteserver test techno:8270
Remote server running at http://techno:8270.
[robot@candy-house test]$ python -m robotremoteserver test 192.168.2.10:8270
Remote server running at http://192.168.2.10:8270.
[robot@candy-house test]$ python -m robotremoteserver test techno:8270
Remote server running at http://techno:8270.
Running the tests (in the test file the positive test is using ${CURDIR}, this is always at client's side, is this the desired behavior?):
a) I had to create at server "techno" a same path from client @CANDY-HOUSE.
[robot@candy-house test]$ robot -v ADDRESS:techno -v PORT:8270 example_tests.robot
==============================================================================
Example Tests
==============================================================================
Count Items in Directory | PASS |
------------------------------------------------------------------------------
Failing Example | FAIL |
Given strings are not equal.
------------------------------------------------------------------------------
Example Tests | FAIL |
2 critical tests, 1 passed, 1 failed
2 tests total, 1 passed, 1 failed
==============================================================================
Output: /home/robot/test/output.xml
Log: /home/robot/test/log.html
Report: /home/robot/test/report.html
b) I did not have a matching path at server, so first test fails
[helio@localhost remote]$ robot -v ADDRESS:techno -v PORT:8270 example_tests.robot
==============================================================================
Example Tests
==============================================================================
Count Items in Directory | FAIL |
OSError: [Errno 2] No such file or directory: '/home/helio/Test/Robot/remote'
------------------------------------------------------------------------------
Failing Example | FAIL |
Given strings are not equal.
------------------------------------------------------------------------------
Example Tests | FAIL |
2 critical tests, 0 passed, 2 failed
2 tests total, 0 passed, 2 failed
==============================================================================
Output: /home/helio/Test/Robot/remote/output.xml
Log: /home/helio/Test/Robot/remote/log.html
Report: /home/helio/Test/Robot/remote/report.html
The text was updated successfully, but these errors were encountered:
First time I am using this library/server, and I had difficulties in running the example. If I start with default values, then I can only test using 127.0.0.1:8270, not from other machines in my network.
Now if I start using the IP address of my server machine, I can run the example as intended. See below:
On client machines:
Running the tests (in the test file the positive test is using
${CURDIR}
, this is always at client's side, is this the desired behavior?):a) I had to create at server "techno" a same path from client @CANDY-HOUSE.
b) I did not have a matching path at server, so first test fails
The text was updated successfully, but these errors were encountered: