Development

I have a scenario, where I want to Assert the UI is displaying ‘Active’.
When debugging the assertion, I am trying different methods.
This is what I started with:
Assert.IsTrue(webdriver.Text.Contains(“Active”))

but it is throwing an exception;
Assert.IsTrue failed

Any recommendations for properly verifying, that the UI displays Active?
Picture attached for reference.

Today, we have an interesting one. It’s not technically a Code SOD, because it doesn’t have any code. It isn’t…