Ask a Question

Correctly identifying disabled buttons

SOLVED
nicholasg
Visitor

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Correctly identifying disabled buttons

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

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

1 REPLY 1
Marsha_R
Community Hero

Re: Correctly identifying disabled buttons

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

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: