clicking by coordinates?
Is there a way in QTP to click on a specific place on the screen based on coordinates? Say I wanted to click on the same spot on the screen regardless what was there. Is there a comman in QTP to tell it to click on the following screen coordinates?
Thanks in Advance
Re: clicking by coordinates?
First you need to get the co-ordiantes where you want to click. If you want to click on any text Then GetTextLocation will give you the co-ordinate of that location.
Then with the objects Click method you can click on that location
object.Click x,y,<mouse button click>
<mouse button click>
0 - For Left Mouse Button Click
1 - For Right Mouse Button Click
Hope this will be helpful