07-14-2008, 03:40 PM
(This post was last modified: 07-14-2008, 03:41 PM by blanchedsouza.)
QTP never records, right click events.
for that either you need to configure the xml file and import, which is a time consuming process OR simply add the syntax of right click to your code.
e.g.
And then select your item from the context menu
above code will solve your problem.
for that either you need to configure the xml file and import, which is a time consuming process OR simply add the syntax of right click to your code.
e.g.
Code:
Browser("abc").Page("abc").frame("xyz").Link("opq").Click 5,3,micRightBtn '(where 5, 3 are x, y co-ordinates)
Browser("abc").Page("abc").frame("xyz").webtable("ghi").FireEvent "oncontextmenu"
above code will solve your problem.