Assert.contains

Oct 8, 2010 at 11:12 PM

can someone please prvoide me an example for the Assert.Contains method.  I know it takes Assert.Contains(string, object collection), however i want to know how to use that in example. for instance i There are two items (testA & testB) in the combo box and i want to confirm the both items are in the combo box. how do i do that. That is why i thought of using

Assert.Contains("testA",   do not knowwhat to use here)

 &

Assert.Contains("testB",   do not knowwhat to use here)

can someone please help.

 

Thanks,