vb.net - How to check button is enabled or disabled in selenium -


i trying check whether button enabled or disabled. doing following

assert.istrue(browser.iseditable(button)) 

but gives me error expression not produce value. 1 know how achieve this. using vs2010 mstest in vb.net.

can assert presence of "disabled" property of button?

assert.istrue(selenium.iselementpresent("css=input[disabled]")); 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

java - where to store the user credentials in an enterprise application(EAI)? -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -