I have gone through the below link:
Selenium WebDriver - How to Holds down the RIGHT mouse button?
I know this task is easily possible by using Robot class in Selenium but the main disadvantage of Robot class is that: Keyword/mouse event will only works on current instance of Window. E.g. suppose a code is performing any robot class event, and during the code execution user has moved to some other screen then keyword/mouse event will occur on that screen.
Since my test suites are running on some virtual machine so this is not useful to me.I have to test pan operation on Right mouse button press and mouse middle button press.
Please provide a better solution for this other than Robot class because I have searched everywhere but m not getting a good solution.