SmartBear Connect 2018
Join us at SmartBear Connect 2018 on October 29th & 30th in Boston, MA.
Come meet the team behind your tools – get your ticket today!
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 action delay 2 mins to complete. Any clue for this?

Posts: 5,584
Topics: 43
Kudos: 2,469
Solutions: 499
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: 897
Kudos: 585
Solutions: 89
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.