Forum Discussion
AlexanderM
Staff
14 years agoHello Tomas,
I've created a sample page and checked how this can be worked around - in my case, adding a delay (I intentionally did so that the "select" element would not be updated immediately) after the action that triggers the element's update solved the issue.
Can you post here the code that doesn't work? In the meantime, try calling the RefreshMappingInfo method of the mapped object that corresponds to the "<select>...</select>" object after clicking the parent control.
However, when the parent control is clicked, the disabled attribute is simply removed..not set to "false".
I've created a sample page and checked how this can be worked around - in my case, adding a delay (I intentionally did so that the "select" element would not be updated immediately) after the action that triggers the element's update solved the issue.
I've tried all the prescribed Delays and Wait methods..but nothing matters. It's disabled as far as TestComplete is concerned.
Can you post here the code that doesn't work? In the meantime, try calling the RefreshMappingInfo method of the mapped object that corresponds to the "<select>...</select>" object after clicking the parent control.