xiaofans / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

why tha api which is getting webelement's location is not exact? #450

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i want to get the element coords in webview
so i use the api such as : webElement.getLocationX() and 
webElement.getLocationY()
but i found that the api return result is not the same althrough it's the same 
element

Original issue reported on code.google.com by xiaofei0...@gmail.com on 9 May 2013 at 5:39

GoogleCodeExporter commented 9 years ago
when i debug my code,the api result is correct
but when i run my code , ths api result is wrong

Original comment by xiaofei0...@gmail.com on 9 May 2013 at 6:14

GoogleCodeExporter commented 9 years ago
getLocationX and getLocationY return the locations that the elements are 
returning. 

Original comment by renasr...@gmail.com on 9 May 2013 at 5:38