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 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -