Ask a Question

Action for SwingPopupMenu is very slow

danalu
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?

3 REPLIES 3
tristaanogre
Esteemed Contributor

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
[Hall of Fame]
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.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

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

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

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

Extension Available

Popup menu will display after i doing click action. 

cancel
Showing results for 
Search instead for 
Did you mean: