Forum Discussion

baxatob's avatar
baxatob
Community Hero
9 years ago
Solved

TC losing popup forms in new version (11.2)

I have the popup form on the page.

In previous version of TC it always was recognized.

In new version it recognize ocasionly. In most of cases I receive the following error:

 

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

 

What I have tried:

1. Wait for object - unsuccessful

2. Use .Refresh() method - unsuccessful

 

The popup becomes visible only after I do a refresh in Object Browser (Ctrl+R).

 

Does anybody face the same trouble?

5 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Baxatob,

     

    It’s strange that the Refresh method didn’t help. May be you’ve called it from a wrong parent. If you specify Sys.Refresh() in your code, does this affect the object tree update?

     

    • baxatob's avatar
      baxatob
      Community Hero

      Hi Tanya,

       

      Thank you for reply.

       

      I am calling Refresh() with the root page object: Aliases.browser.MyPage.Refresh()

       

      Another strange that my test works fine under 11.1 version without any refreshing.