Forum Discussion

rresmi's avatar
rresmi
Occasional Contributor
8 years ago

Not able to access certain controls in a window

Not able to access certain controls in a window

I am having some trouble in creating scripts for one of the windows in our WPF application.

We have a window with multiple layers of controls.

There are a number of controls in the first child of the main window. The second child of teh window overlaps the first child.

I am able to add the children of the first child controls to the name mapping using the option 'Map child object'.

But when I use these controls in a test, it does not identify the object and says 'There was an attempt to perform action at (x,y) point, which is out of window bounds'

Kindly suggest what I can do to call these hidden controls

  • sanjay0288's avatar
    sanjay0288
    Frequent Contributor

    Hi,

       The question is too generic. Can you provide a snapshot of what control you are trying to identify along with the properties and methods

  • rresmi's avatar
    rresmi
    Occasional Contributor

    I guess it was an issue with the trial version of TestComplete. Was not recognising some objects

    When I uninstalled and installed a licensed version it worked correctly.

    Not sure what the issue was. Thanks anyways for offering to help