yship
12 years agoOccasional Contributor
After right clicking and deleting an item from a dropdown menu, TestComplete stalls
Hi everyone,
Sorry for the confusing title but it's a bit of a strange problem.
In my test I open a dropdown menu (wpf comboBox) right click one of the items, and press delete.
The script is :
Sys.Process("TestedApp").FindChild("Name", "*ComboBoxItem*" + ItemTitle + "*" ,100).ClickR();
Sys.Process("TestedApp").FindChild("Name", "*ComboBoxItem*" + ItemTitle + "*" ,100).PopupMenu.Click("Delete")
//A "are you sure you want to delete ItemTitle confirmation message appears here and disables the main application window.
//The test stalls for a few minutes here.
Log.Message("test passed");
after clicking delete, the delete confirmation message pops up, and TestComplete stalls for a few minutes with the message "Waiting for WPFObject("ComboBoxItem", "ItemTitle", 6)" before continuing to the Log.Message line.
I don't understand why it keeps looking for the item in the dropdown menu after deleting. is it some kind of hidden feature in the popupmenu / findchild methods?
The same happens when I try to run a recorded test.
Thanks ahead,
Y. Shippin
Sorry for the confusing title but it's a bit of a strange problem.
In my test I open a dropdown menu (wpf comboBox) right click one of the items, and press delete.
The script is :
Sys.Process("TestedApp").FindChild("Name", "*ComboBoxItem*" + ItemTitle + "*" ,100).ClickR();
Sys.Process("TestedApp").FindChild("Name", "*ComboBoxItem*" + ItemTitle + "*" ,100).PopupMenu.Click("Delete")
//A "are you sure you want to delete ItemTitle confirmation message appears here and disables the main application window.
//The test stalls for a few minutes here.
Log.Message("test passed");
after clicking delete, the delete confirmation message pops up, and TestComplete stalls for a few minutes with the message "Waiting for WPFObject("ComboBoxItem", "ItemTitle", 6)" before continuing to the Log.Message line.
I don't understand why it keeps looking for the item in the dropdown menu after deleting. is it some kind of hidden feature in the popupmenu / findchild methods?
The same happens when I try to run a recorded test.
Thanks ahead,
Y. Shippin