For most of us the obvious action that we would want to take on a menu list item is to select it. From what I am reading, you are able to select the items in the menu just fine, and instead you simply want to put the mouse pointer over the menu item. Is that correct?
If it is correct, and you are indeed able to select a menu item, then you can use .GetROProperty() for abs_x, abs_y, height, width and with those four numbers you can calculate the boundaries of the menu item. With the boundaries, you can then calculate the center of the menu item. With that information would it not be possible to use .Click() and specify the coordinates. Beyond this, I would specify the center mouse button as the button to be clicked, as 99% of web systems I know of don't do anything with a center mouse button. At that point, you should have your mouse pointer dead center over your menu item. I am not sure what it is you want to do from that point, but at least you are there. What exactly are you trying to accomplish? There may be an easier way. mikePietsch On Wednesday, August 19, 2009, at 10:14PM, "Madhu" <[email protected]> wrote: > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
