Ask a Question

getting error The action may be performed incorrectly, because the control is disabled

Jainsoumya
Contributor

getting error The action may be performed incorrectly, because the control is disabled

@rraghvani 

 

getting error in web application for if object operation .I have if object operation exist then click should take place but then also click action is happening and getting error :

The action may be performed incorrectly, because the control is disabled. 

below is code 

Jainsoumya_0-1680066277123.png

 

1 REPLY 1
rraghvani
Trusted Contributor

Objects have Properties and Methods - in your case, the object exists and the property value is disabled. Therefore, it's going to perform the click method.

 

You need to check the property value before performing a click.

cancel
Showing results for 
Search instead for 
Did you mean: