Question
Accenture Solutions Pvt Ltd
IN
Last activity: 16 Oct 2018 12:03 EDT
How to automate mouse Right click operations(for Web & windows) in Openspan
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Are you working on windows or a web application?
If you are working with a windows app, please look in Help on Adding Context Menu Items.
Help is located at: http://help.openspan.com
Cognizant
AU
Is this possible in a web application?
Accenture Solutions Pvt Ltd
IN
What about Web Applications?
Pegasystems Inc.
US
Normally on a Web application, you can capture the right-click menu during interrogation. Once you have it, most web applications will not require the right-click to happen before the interrogated link may be called.
1) during interrogation, right-click on the item to get the menu to appear.
2) Drag the interrogation bullseye over the menu to capture the link you are needing
3) Create an automation, that calls the link once the page is created.
Cognizant
AU
I tried this but when i am trying to drag the bullseye the menu is disappearing.
Can u please give me a detailed explanation, it would be very helpful.
Thanks,
lekha
Cognizant
AU
Not able to interrogate the menu using bull's eye.
Accenture Solutions Pvt Ltd
IN
Yes please provide some snapshot or Example for this,
Regards,
Pravallika,
Pegasystems Inc.
US
Is the right-click menu you are looking for generated by the page or by Internet Explorer? Can you provide a screenshot?
Cognizant
AU
I opened a web page which has image, and I want to save the image from the right-click menu save image. And I am not able to interrogate this menu with the bull's eye. Taking screenshot wasn't possible because the right-click menu disappeared when I tried to take a screenshot.
ANZ
IN
When you do a right click take a screen shot by pressing "PrintScreen" key available in your key board. Then you can pent it on a mspaint and save.
Provide a screen shot, it will help us to understand how the control looks like so that we can support.
Pegasystems Inc.
US
To save an image from a web page will require writing custom code. There is no built-in functionality to do this. Unfortunately, this is a complicated operation and would require more time than I can devote to it at the moment.
I was asking about the right-click menu because for Windows applications, you can sometimes capture the context menu items by right-clicking the control in Object Explorer and selecting Capture Context Menu Items. A new form will appear. Next, you can right-click the control and any menu items we detect will be added to the new form. This would likely not help you with this use case though.
-
Rajashekar Manne Bheemaiah
Banco Colpatria Multibanca Colpatria
CO
What about context menú ítems that I was not able to capture by this method? What I mean is that when right clicking in the control with the pega form openned, no ítems are loaded. Is there another way to achieve that?
Accenture Solutions Pvt Ltd
IN
How to capture mouse right click options for a windows Applications. Am working on windows application where I have to capture the options which comes when mouse right click on particular gridview or application . but unable to capture using interrogation .please give some example & provide snapshot if possible.
Accenture
IN
Accenture Solutions Pvt Ltd
IN
But am trying to capture Right click options in Windows Application.
Accenture
IN
CIBC
CA
Hi Sivaraj
would it be possible to add a customized items to the context menu item list?
Thank you
Liza
-
kuramochi takahiro
CJSC i-teco
RU
Hi. this metod https://collaborate.pega.com/question/right-click-web-page-using-openspan helped me, Sendkeys to pass Shift+F10 to simulate right click.