Forum Discussion

pepollet's avatar
pepollet
New Contributor
12 years ago

Problem with Rect Top attribute in chrome

Hi,



I have a problem after running the Find method to locate a Picture object on my tested webpage.

The Rect object resulting from the Find method gives me the correct attributes for all available web browsers except for Chrome (32.0.1700.107 m) that gives me incorrect Top and Bottom values.

This implies that I can't get the exact coordinates of the located Picture and I can't generate a proper click action.



(after doing some more testing it seems that for chrome, testcomplete returns a Top attribute with 61 more pixels than the other browsers)



Any ideas ?


Thanks in advance
  • pepollet's avatar
    pepollet
    New Contributor
    So after doing some more digging, it appears that the problem is not with the top attribute as i mentoned in my previous post.



    The problem I have is with the PagePicture method :

    sometimes this method also captures the top of chrome UI giving me an incorrect representation of the web page and wrong page coordinates.



    Is it a common problem with the chrome support ?