I use QTP 9.5 on web application
and I want to do right click without specific X and Y coordinates, I use this code, sometimes it is work and sometimes does not. I run automation on remote servers and the script is possible only on VNC and not on Remote Desktop, Someone can help me?

set CellForClick=Browser("MainBrowser").Page("[Actimize] DART").WebTable("tblInvestResult").ChildItem(i,Col umnIndex,"WebElement",0)
hWnd = Browser("MainBrowser").Object.HWND
Window("hwnd:=" & hWnd).Maximize
replaytype = Setting.WebPackage("ReplayType")
' Change replay type to mouse replay..
Setting.WebPackage("ReplayType") = 2
CellForClick.click micNoCoordinate , micNoCoordinate ,micRightBtn
Setting.WebPackage("ReplayType") = replaytype