Skip to content Skip to sidebar Skip to footer

Selenium With Python-unittest - Test Returns Process Finished With Exit Code 0 And No Action Is Performed

Could someone helping me to understand why the following code is executed, but no action is performed? Returned code is 0 but browser is not opened or no action is performed. it is

Solution 1:

Are you calling your unittest with:

if __name__ == '__main__':
    unittest.main()

If you do not, then you are just defining the test, not actually executing anything.

Post a Comment for "Selenium With Python-unittest - Test Returns Process Finished With Exit Code 0 And No Action Is Performed"