getting error The action may be performed incorrectly, because the control is disabled
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2023
10:05 PM
03-28-2023
10:05 PM
getting error The action may be performed incorrectly, because the control is disabled
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
Labels:
- Labels:
-
Test Creation
-
Test Results
-
Test Run
-
Web Testing
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023
12:35 AM
03-29-2023
12:35 AM
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.
