ItestStepOM null

Oct 8, 2008 at 1:25 PM

 

BizUnitTestCase testCase = new BizUnitTestCase("TestFileCreate");
TestStepBuilder tsb;
object[] args;
tsb =

new TestStepBuilder("BizUnit.FilesExistStep");
// Set the properties on the test step...
args = new object[1];
args[0] = 3000;
tsb.SetProperty(
"Timeout", args);
args =
new object[1];
args[0] =
@"TestFiles";
tsb.SetProperty(
"DirectoryPath", args);
args =
new object[1];
args[0] =
@"*.xml";
tsb.SetProperty(
"SearchPattern", args);
args =
new object[1];
args[0] =
"1";
tsb.SetProperty(
"ExpectedNoOfFiles", args);
testCase.AddTestStep(tsb,
TestStage.Execution);

 

// Create and execute an instance of BizUnit...

 

 

BizUnit.

BizUnit bizUnit = new BizUnit.BizUnit(testCase);
bizUnit.RunTest();


I get null reference exceptionsItestStepOM is null . how do i pass ITestStepOM.?