nicholasg
4 years agoVisitor
Correctly identifying disabled buttons
Hi,
Our web software is mostly user permission based. Based on your defined permissions you will see either a full list of options on the menus and screens or a limited number of options. What is the best method to test when buttons or properties are not displayed after a user profile is downgraded or buttons and properties are now displayed after a user profile is upgraded?
Thanks.
You can look for the Exists property first, then for Enabled or Visible.
https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/checking-existence.html