Lakshmanakumar
Lakshmanakumar

Reputation: 1

Execution of Robot test case is not ending when sleep of 300seconds is added in test case

There is a 300-second wait time in the test case during which the test execution does not communicate with the target and waits for the session to timeout.

Robot Test Case
    [Documentation]  Test case to verify the session timeout
    [Tag]  session-timeout
    [Timeout]  900 seconds
    [Teardown]  Disconnect And Unregister If Session Exist
    
    Register With Target
    Connect
    ...
    Sleep  300s  Wait for session timeout
    Verify Session Unregistered

But when I tried running my test case from Pycharm, the test execution did not end even after all the test steps were executed. When I tried reducing the 300-second delay to 200 seconds, the test case execution ended after all the test steps were executed.

I even tried Terminate All Processes in the Suite Teardown. But still, the test process did not end. Any advice would be of great help!

Upvotes: 0

Views: 319

Answers (0)

Related Questions