I'm inviting you to a new Community challenge which we are starting next Monday (April 2)! Earn badges to get more points. Read more information
Occasional Contributor

Action for SwingPopupMenu is very slow

i record the action like :


function Test1()
var jideButton;
jideButton = Aliases.Test.OrderPanelFloating.selectionProviderButton;
jideButton.Click(35, 12);
jideButton.SwingPopupMenu.Click("Static - search");


and try to play it, but found the SwingPopupMenu.click action delay 2 mins to complete. Any clue for this?

Posts: 5,193
Topics: 42
Kudos: 2,208
Solutions: 439
Registered: ‎11-30-2009

Re: Action for SwingPopupMenu is very slow

Is "SwingPopupMenu" the actual mapped item for what you're working with?  Is it marked with "Extended Find"? What it sounds like is that there is an object recognition process going on where it's taking some time to actually get the popup to come up.  I'd start looking at the object mapping of the menu and making sure it's optimized.

Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Extensions available
Community Leaders Program
Posts: 862
Kudos: 551
Solutions: 85
Registered: ‎10-21-2016

Re: Action for SwingPopupMenu is very slow

SwingPopupMenu is a general popup menu for all applicable JSwing Objects. If the particular object contains popup menu then we will have it in Object Properties (thru Object Browser).


SwingPopupMenu is only have value when the Popup menu displaying. Best way to capture this is Recording.


@danaluwhen will popup menu come after clicking button or when it will get display?

Shankar R

“You must expect great things from you, before you can do them”

Occasional Contributor

Re: Action for SwingPopupMenu is very slow

Popup menu will display after i doing click action.