I'm trying to write a simple test to find out whether a page is a read-only by checking if the attribute 'disable' is a part of a control's attribute (checkbox in this case).
I've got 3 disabled check-boxes on the page I'm testing. They look like this:
So I 'Collecting' all 3....
var checkBox = Manager.ActiveBrowser.Find.AllByAttributes<HtmlInputCheckBox>(
And then try to verify that 'disable' is an existing attribute of each one of the check boxes elements.
Assert.True(checkBox.All(item => item.Attributes.Contains( ?
Could you pls advice what is the iAttribute value as I'm not able to complete the above assertion....