Hi,
I tried to force my test to throw FindException, so I misspelled one of the IDs, to find element which in fact will be null. And indeed object is null, but FindException is not thrown (but test throws NullReferenceException due to following function, which tries to execute Click() on that element). What could be possible cause of that behavior and how to avoid it?
I'm running tests under .NET Framework 3.5 and nUnit 2.5.1 with WebAii 2011.2.1117.0
I tried to force my test to throw FindException, so I misspelled one of the IDs, to find element which in fact will be null. And indeed object is null, but FindException is not thrown (but test throws NullReferenceException due to following function, which tries to execute Click() on that element). What could be possible cause of that behavior and how to avoid it?
I'm running tests under .NET Framework 3.5 and nUnit 2.5.1 with WebAii 2011.2.1117.0