diff --git a/Ldtpd/Combobox.cs b/Ldtpd/Combobox.cs index 96e3ac6..38dd47a 100644 --- a/Ldtpd/Combobox.cs +++ b/Ldtpd/Combobox.cs @@ -259,7 +259,7 @@ private int InternalComboHandler(String windowName, String objName, utils.InternalWait(1); LogMessage("Handle name: " + childHandle.Current.Name + " - " + childHandle.Current.ControlType.ProgrammaticName); - bool typeExist = utils.InternalWaitTillChildControlTypeExist(childHandle, comboTtype); + bool typeExist = utils.InternalWaitTillChildControlTypeExist(childHandle, type); LogMessage("Control type exist: " + typeExist); AutomationElementCollection c = childHandle.FindAll(TreeScope.Subtree, Condition.TrueCondition);