Forum Discussion

michael_jenning's avatar
13 years ago

IE CSS





Alternate way to click an object? Whenever I go to click and object using test complete it clicks just off to the right or left of it, same when I use the spy tool, it's like all my objects are off a little. I'm told by my developers that it's the CSS. Any thoughts?
  • Hi Mahekaru,



    I don't know if this is a solution but... If you are currently using coordinates, perhaps you can add and subtract values from your X and Y coordinates for each time you want to click.



    I.E. Say you have a square of size (100,100). But everytime you click on the center point (50,50), the program thinks you are clicking on the top left of the square (0,0). At that point, you could add (50,50) to all testing coordinates after recording the test.



    Good luck!



    -Sean

  • Hi Mahekaru,


     


    Maybe the zoom of your browser isn't set to 100% - this may affect such behavior. Check that.


    If this is due to the CSS settings indeed, Sean's suggestion should help you.