Dear Viswanath,
Many thanks a lot for all your help.
I tried using the simple way ie., using "--exitonfailure " as below on
my above code snippet, as soon as my wifi connectivity fails, I see
the messages "Critical failure occured and exit-on-failure mode is in
use" for the remaining test cases, are these messages are expected
whenever if we use "--exitonfailure " in the command line for the
remaining test cases?
logs:
"root:~# python3 -m robot --nostatusrc --exitonfailure --variable
SSID:"NIFunkloch" --variable PW:"T.f.o.s.1996!" --outputdir results
qa/robot_tests/wifi_testing.robot
==============================================================================
Wifi Testing :: This is the Maschine Native OS Build Wi-Fi Test.
==============================================================================
Connect Wi-Fi to SSID | FAIL |
'False' should be true.
------------------------------------------------------------------------------
Check for Wi-Fi Connectivity | FAIL |
Critical failure occurred and exit-on-failure mode is in use.
------------------------------------------------------------------------------
Get Gateway IP and Check Whether Wi-Fi is Pingable | FAIL |
Critical failure occurred and exit-on-failure mode is in use.
------------------------------------------------------------------------------
Check for Wi-Fi Signal Strength with Threshold | FAIL |
Critical failure occurred and exit-on-failure mode is in use.
------------------------------------------------------------------------------
Wifi Testing :: This is the Maschine Native OS Build Wi-Fi Test. | FAIL |
4 critical tests, 0 passed, 4 failed
4 tests total, 0 passed, 4 failed
==============================================================================
Output: /home/root/results/output.xml
Log: /home/root/results/log.html
Report: /home/root/results/report.html
root:~#