What is the object you are trying to right click on? Is it just on the page?
Something I could remember of...
Method 1:
Method 2:
And then there is the crude way...But you have to find your way through it..the below is the clue to the puzzle
Something I could remember of...
Method 1:
Code:
Setting.WebPackage("ReplayType") = 2
browser().page().webelement().Click ,,micRightBtn
'Setting.WebPackage("ReplayType") = 1 'Default 1
Method 2:
Code:
Set obj = CreateObject("mercury.devicereplay").
getX = webElem.GetROProperty("abs_x")
getY = webElem.GetROProperty("abs_y")
obj.MouseClick getX, getY,RIGHT_MOUSE_BUTTON
And then there is the crude way...But you have to find your way through it..the below is the clue to the puzzle

Code:
Extern.Declare micVoid, "mouse_event", "user32.dll", "mouse_event", micLong, micLong, micLong, micLong, micLong
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.