Forum Discussion
RickAlmeida
Staff
11 years agoHello,
This can happen when the name mapping entry points to an HTML element that has it's height or width attribute set to zero. TestComplete cannot click on it, because it does not occupy any space on the screen. Web developers will often set the height of a <DIV> tag or other element to zero instead of setting it's visible property to false. Your name mapping may also be targeting the wrong element. You should use the object spy on the item that should be clicked, and verify that it's properties in the application match the ones that you defined in the name mapping properties for that object.
Thanks,
Rick
SmartBear Customer Care
This can happen when the name mapping entry points to an HTML element that has it's height or width attribute set to zero. TestComplete cannot click on it, because it does not occupy any space on the screen. Web developers will often set the height of a <DIV> tag or other element to zero instead of setting it's visible property to false. Your name mapping may also be targeting the wrong element. You should use the object spy on the item that should be clicked, and verify that it's properties in the application match the ones that you defined in the name mapping properties for that object.
Thanks,
Rick
SmartBear Customer Care