Reply
Highlighted
Occasional Contributor
Posts: 5
Registered: ‎02-28-2017

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: 3,255
Topics: 29
Kudos: 865
Solutions: 170
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
Community Leader
Posts: 301
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?

_______________________________________
Thanks,
Shankar R
Occasional Contributor
Posts: 5
Registered: ‎02-28-2017

Re: Action for SwingPopupMenu is very slow

Popup menu will display after i doing click action. 

Register Now