Forum Discussion

chetnatiw1's avatar
chetnatiw1
Occasional Visitor
3 years ago
Solved

TestComplete click event is not happening at correct position on screen

In one of our testcomplete script, we are identifying tab & link menu items and then calling click event on it but during execution time, it is not able to click on correct location. It is able to identify the correct element (using xpath /getElement) but the actual click is not on identified element but little above it as in screenshot below

We are using chrome browser and Test complete 14.x version 

 

Anyone experienced similar issue or know how to resolve it ?  

 

 

  • Hi chetnatiw1 

     

    I'd suggest re-mapping the button in either your test or NameMapping, but if you're still having trouble an easy work-around is to use an image-based action.

     

    If you right-click the TestComplete operation and click "Show object in NameMapping", can you post a screenshot here?

    Also, can you confirm if your system DPI settings are at 100%?

     

    Thanks

     

     

1 Reply

  • Hi chetnatiw1 

     

    I'd suggest re-mapping the button in either your test or NameMapping, but if you're still having trouble an easy work-around is to use an image-based action.

     

    If you right-click the TestComplete operation and click "Show object in NameMapping", can you post a screenshot here?

    Also, can you confirm if your system DPI settings are at 100%?

     

    Thanks