Forum Discussion

jeremy_1's avatar
jeremy_1
New Contributor
12 years ago

TestComplete says action at point (20,17) was outside window bounds

I am a new user trying to construct my first test.  I am having trouble entering data into any field on a screen.  The error log says that there was an attempt to perform an action at point (20,17) which was outside the window bounds. Yet, the point is well within the visible screen and is the point picked up by the recording.



I am using TestComplete 9.31...  and Google Chrome.



The additional info says:

The window size is (1, 1); screen rectangle: the left top corner is (0, 61), the right bottom corner is (0, 61).

The screen coordinates of the point is (20, 78).



I note that the initial message talks of 20,17 and the additional info talks of 20,78.



Can you advise me on this.   Note: I am not the Jeremy who posted recently, I'm another Jeremy. Call me JeremyB.



3 Replies

  • jose_pita's avatar
    jose_pita
    Super Contributor
    Hi Jeremy,



    Try to use the object browser to check the properties of the object you're trying to access.

    Those coordinates are from the object, not the screen. TC is trying to click inside the object.



  • jeremy_1's avatar
    jeremy_1
    New Contributor
    Thanks very much for replying, Jose. I have to ask some dumb questions:

    Is the object browser a part of TC?
    Is a field on the screen an example of an object?
    If I look at it with the object browser, what should I look for?

    Sorry to be so ignorant.

    Regards,
    Jeremy
  • jose_pita's avatar
    jose_pita
    Super Contributor
    Dude, I don't want to be an asshole, but, google that stuff or, on TC, press F1 and search for it. After that, if you still can't find it, I'll help you.



    I don't want to be mean, but it is a very valuable lesson I learned ... It makes you a better professional and a better coder if it is the case.