Forum Discussion
yship
12 years agoOccasional Contributor
I'm afraid this returns the same results...
TestComplete is stalling on the line : w.PopupMenu.Click("Delete");
with the message: "Waiting for WPFObject("ComboBoxItem", "TestItem1", 12)"
After the delete button was clicked.
Here is the code used :
TestComplete is stalling on the line : w.PopupMenu.Click("Delete");
with the message: "Waiting for WPFObject("ComboBoxItem", "TestItem1", 12)"
After the delete button was clicked.
Here is the code used :
var itemTitle= "TestTitle";
Sys.Process("VS Forensics").FindChild("Name", "*testedComboBox", 100).Click();
PropArray = new Array("ClrClassName", "Content");
ValuesArray = new Array("ComboBoxItem", itemTitle);
Sys.Process("tested application").Refresh();
var w = Sys.Process("tested application").FindChild(PropArray, ValuesArray, 20);
if (w.Exists)
{
w.ClickR();
w.PopupMenu.Click("Delete");
Log.Message("Passed")
}
Related Content
Recent Discussions
- 22 hours agodhundley