Ask a Question

How to check button is disabled

bababoom
New Member

How to check button is disabled

Hi all,

 

I want to check during my test that when a field is set to one thing,

the save button is disabled.

 

I'm not sure how to do this, and haven't been able to find any questions on it.

 

I was thinking something like:

Object.IsEnabled(false)

 

Thanks!

1 REPLY 1
rraghvani
Super Contributor

Use the Object Spy tool to check the properties of the button, which will show whether the button is enabled or disabled, and read About Property Checkpoints

 

cancel
Showing results for 
Search instead for 
Did you mean: