darmstrong
15 years agoOccasional Contributor
web app element identified with ID attribute is found but not clicked
I have a web element in my app that has an ID attribute. In my script I call
all.gwt_debug_add_report_component_button_MenuItem.Click();
but the following error:
Type Message Time Link
There was an attempt to perform an action at point (0, 0), which is out of the window bounds. 15:51:42
So TC is finding the web element, but not successfully clicking on it. Any suggestions on what might be causing this?
HTML snippet:
<td class="gwt-MenuItem ImageMenuItem-FF gwt-MenuItem-selected" id="gwt-debug-add-report-component-button-MenuItem" role="menuitem" aria-haspopup="true" title="Add Component to Report" style="">
<table class="MenuItem-InnerTable">
<tbody>
<tr>
<td>
<div class="ImageMenuItem-Icon add-report-component-button"></div></td><td><div class="MenuItem-Text" style="display: none;"></div>
</td>
</tr>
</tbody>
</table>
</td>
all.gwt_debug_add_report_component_button_MenuItem.Click();
but the following error:
Type Message Time Link
There was an attempt to perform an action at point (0, 0), which is out of the window bounds. 15:51:42
So TC is finding the web element, but not successfully clicking on it. Any suggestions on what might be causing this?
HTML snippet:
<td class="gwt-MenuItem ImageMenuItem-FF gwt-MenuItem-selected" id="gwt-debug-add-report-component-button-MenuItem" role="menuitem" aria-haspopup="true" title="Add Component to Report" style="">
<table class="MenuItem-InnerTable">
<tbody>
<tr>
<td>
<div class="ImageMenuItem-Icon add-report-component-button"></div></td><td><div class="MenuItem-Text" style="display: none;"></div>
</td>
</tr>
</tbody>
</table>
</td>