I have a <span> tag that when a button is clicked has its css style set to display:none
How can i create an assert to verify this?
You should be able to add the Span control when it is visible on the screen; You can write code where you assert on TryGetClickablePoint for you <span> control;
Yes...I agree with aditya...you should be able to add a control and then u can use..Assert.IsFalse(control.Exists)...as well
You can also check it's width property if it is positive it is visible as in not hidden although it might be scrolled off screen.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?