xuerzj
10 years agoNew Contributor
Is there a way to close all open excel drivers?
Sometimes the test is failed and then stopped before closing the excel driver. Then it starts to run the next test. The next test also creats a driver with same name, as a result it uses wrong excel file which is for the previous test.
How should I handle this situation? Is there a way to check if there are open excel drivers and close them? I may need to put the check in Event Handler onlogerror.
Thank you.