Forum Discussion

DIMWSH's avatar
DIMWSH
New Contributor
7 years ago
Solved

Testobject.Click doesnt always work

I'm testing a web application and I have a few actions on test objects that involve clicking a button or a link to navigate to a different page, or to click a radio button on a page. All of these test objects are mapped in the Name Mapping repository.

 

I'm using a modular framework for this project, and sometimes when I execute the click action on these test objects, TestComplete will show that it clicks the object on the screenshots, but the expected action of navigating to another page (or selecting a radio button) doesn't always happen. 

 

I've tried alternate measures of identifying these objects using TestObject.NativeWebObject.Find, and I'm still experiencing this problem. I changed some project properties to slow down test execution and the problem still occurs. 

 

Any suggestions for ensuring that an objects is clicked when it's specified in the scripts? I'd provide some scripts, but the issue really is just with a simple TestObject.Click.