Question: I need help with writing python script. The script will run the test and check the result of the test, if PASS, it will end.
I need help with writing python script.
The script will run the test and check the result of the test, if PASS, it will end.
If FAIL, the test will run again, if the test PASS or FAIL from second time, it will end.
To check the test result, it needs to run following command, "tail test.log", it will print the test result.
The script needs to read the result weather it pass or fail.
If, then, else can be used.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
