Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where can i find these values for other objects?
#4
Not Solved
object.Select Item, [BUTTON], [Offset]

object : A test object of type WinList.

Item : Required. A Variant value. The item to select from the list. The item value (with quotes) or numeric index (without quotes) can denote the item. The first item in a list is numbered 0.

BUTTON : Optional. A predefined constant or number. See the Constants table, below. The mouse button used to click the object. Default = micLeftBtn (0).

Offset : Optional. An Integer value. The horizontal offset (in pixels) of the click location relative to the left margin of the item’s text. This argument can be used only if the BUTTON argument is defined. Default = -1 (middle of the object).

The possible values for the BUTTON argument are:

Constant Value Description
micLeftBtn 0 The left mouse button.
micRightBtn 1 The right mouse button.
micMiddleBtn 2 The middle mouse button.

These all information is from QTP help. Hope this will help you.
Reply


Messages In This Thread
RE: Where can i find these values for other objects? - by guin.anirban - 08-03-2010, 11:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)