I have taken a click activity on button and it is working fine. but when that button is disabled even then it is clicking on that. So how can I avoid it , I mean it should not click on that button if it is disabled.
Hi @shivyadav - one idea would be to check for state, before clicking.
thanks for replying but how can I check the state ? are you talking about aastate? if yes then please provide an example for that in detail.
Use get attributes and in that u will get the properties of that element including disable or not so u can use if disable then leave or whatever u want
Hi @shivyadav
When enabled, the button will have aastate = focusable ; when not enabled aastate = unavailable . At runtime use Get Attribute activity to query the status.
Hope this helps,if it works mark as solution.
Thanks
Latika
