Actually the error message why we are getting is in our application the object is itself disabled. So in such cases we can't enable the object.
Probably that may be in the Enabled state when you are recording or running for first time.
First of all check whether the object is enabled or disabled in the application by putting break point at the specified position or to use sync statement or wait statement.
Reason:Synchronization issue
Probably that may be in the Enabled state when you are recording or running for first time.
First of all check whether the object is enabled or disabled in the application by putting break point at the specified position or to use sync statement or wait statement.
Reason:Synchronization issue