Forum Discussion

czpqwerty's avatar
czpqwerty
Occasional Contributor
11 years ago

how to get click()

there is a list view, and i can get the focus on the rows, but i need to click this row. gladcial list view is not supported in testcomplete, so how can i use scipt to click the rows as expected.

2 Replies

  • For the most part, custom controls are typically containers that hold objects that employ either subsets of .Net framework methods and properties, or for older controls, Win32 APIs. That means that if TestComplete does not specifically recognize the class/container of the control, then you simply have to work a little harder in order to simulate user actions like mouse clicks and keystrokes on the window/control so I would suggest you take a look at the Working with Custom Child Controls support article. 

    • czpqwerty's avatar
      czpqwerty
      Occasional Contributor

      so, in that case, can i move the cursor to the focus of the test object? not using the point, like w.Click 30, 40