BizUnit.TestSteps.File.ExistsStep:Directory does not contain the correct number of files!Found: 0 files matching the pattern

Feb 3, 2012 at 6:53 PM

Hi,

I am writing unit test for BizTalk 2010 application using BizUnit4.0 framework. The unit test is written for testing to check file is received at the output fileshare.  I am getting the below error  "System.ApplicationException: Directory does not contain the correct number of files!
 Found: 0 files matching the pattern ".
But the same test passes while i am debugging via BizUnit source code. I have tried specifing the timeout via .Timeout and increased it to 3 minutes. But still no luck.

Any help is greatly apprecieated.

Thanks,
Basawa