09-26-2008, 01:35 AM
Hi,
Can anyone help me how to perform right click operation using QTP.
There is a webelement on a web page. If we right click on that particular WebElement then I get a small window based on which I can select from the available options. But I am not able to perform the right click operation on that webelement. I have tried using the following code.
br().page().webelement().FireEvent "onclick", 1
But this piece of code is not working always.
Can anyone help me on this. I am attaching a screenshot for reference.
Thanks,
Nishikanth Reddy
Can anyone help me how to perform right click operation using QTP.
There is a webelement on a web page. If we right click on that particular WebElement then I get a small window based on which I can select from the available options. But I am not able to perform the right click operation on that webelement. I have tried using the following code.
br().page().webelement().FireEvent "onclick", 1
But this piece of code is not working always.
Can anyone help me on this. I am attaching a screenshot for reference.
Thanks,
Nishikanth Reddy