This depends entirely on the object type in which you are attempting to send the right click operation to. Some of the control types include a rightclick method within the list of methods available after interrogation. While others may not, (i.e. web controls).
Can you share what type of control you are attempting to send a right click call to?
Normally you do not have to perform this type of task when building an automation. Normally you perform the take from the automation that is performed by the Right Click. Please provide more details around your challenge.
I want to automate right click operations in a web page for e.g., I have attached a screenshot & in that image there are options which comes on right click options like copy paste, In OpenSpan how can I interrogate or capture these fields on web page & how to automate this right click mouse operations, please provide some example with explanation.
Thanks for reply Kishore,but how to Select text & perform right click using Sendkeys & how to select the particular option available in Rightclcik Menu(like Copy,Paste etc).Can you provide some example?