Forum Discussion

sheetalhir's avatar
sheetalhir
Established Member
5 years ago
Solved

Control Click using cordinates

How to click on a control using coordinates . In codedui we get the control .Then do Mouse.click(new point(control.x,control.Y). Is there a similar method in testcomplete .
  • Wamboo's avatar
    5 years ago

    Hi,

     

    In TestComplete You are able to map Your control into NameMapping Repository and use .Click() method on it without coordinates.

     

    example:

     

    button.Click()

     

    You can also refer to this object by using Sys. object

     

    Spy object -> add it into nameMapping repository -> use its properties and methods.