Timeouts while running batch file
Posted: Thu Oct 01, 2015 8:21 am
Hello,
I have a problem while running my tests one after each other. I have like 30 tests, when they are runned individually they all pass, but when I put them into batch file and run by that, some of them fail (not the same each time, sometimes one test passes sometimes it doesn't) because they do not find elements in my test desktop application (I believe the reason are timeouts). Is there any simple way to fix this? Is it PC's fault? I've added many delays to make sure PC has time to process everything but errors still occur.
I have a problem while running my tests one after each other. I have like 30 tests, when they are runned individually they all pass, but when I put them into batch file and run by that, some of them fail (not the same each time, sometimes one test passes sometimes it doesn't) because they do not find elements in my test desktop application (I believe the reason are timeouts). Is there any simple way to fix this? Is it PC's fault? I've added many delays to make sure PC has time to process everything but errors still occur.