Forum Discussion

heidi_n's avatar
heidi_n
Regular Contributor
11 years ago

Window Relative LLP - Cannot obtain the rectangle of the window with handle?

I am recording a Window Relative LLP in a keyword test that hits the print button in a window and then the window closes and I am getting this error:



Cannot obtain the rectangle of the window with handle 51645310



How can I fix this?

5 Replies

  • murugans1011's avatar
    murugans1011
    Regular Contributor
    this error msg occurs whn the window doent exist. make sure the window  is currenly exist on screen
  • heidi_n's avatar
    heidi_n
    Regular Contributor
    As soon as I click the print button, the window dissappears. Do you have any suggestions for this scenario?



    P.S. I am using Keyword tests.
  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    Does it close if you manually click it? Or just if Test Complete clicks it?
  • heidi_n's avatar
    heidi_n
    Regular Contributor
    When I manually click the print button in my program, the program window closes.
  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    Ok gotcha. After the LLP click do you call any other methods of the window?

    It sounds like it's still trying to perform a click or key method on the form still.

    Can you check this and/or post a screencap (bigger than previous one) of the keyword test?