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.
Source: Read More