ComboBoxPopupListBox.ClickItem("ComboBoxMenuItem1") does not work
Hello, I want to test an standalone desktop application, which is written in C#.
For this, I recorded some test steps and while replaying I've seen that
TestComplete can recognize UI elements like EditBox, PushButton etc. ,
but it cannot click into ComboBox object to select its items.
Recorded test steps are as following:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
//Clicks at the point (178,7) of the FormElementobject.
Aliases.appX.FormElementContainingComboBoxPopUpForm.Click(178,7) ; -> pass
Delay(2000);
//Clicks the ComboBoxMenuItem1.
Aliases.appX. appXComboBoxPopupForm.ComboBoxPopUpListBox.ClickItem("ComboBoxMenuItem1"); ->FAIL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In the test run log:
Unable to find the object ClickItem("Bilinmiyor ").
Additional Info:
The object with the specified attributes does not exist.
Tested object:
Aliases.hskks.HskksComboBoxPopupForm.ComboBoxPopupListBox
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In order to get rid of blank chars in ClickItem("Bilinmiyor "),
we used ClickItem("Bilinmiyor*"); but it does not help.
I am using a trial version, so C# is not supported there; therefore I had to choose Javascript as scripting language. May this cause this object-recognition problem?