From 014e07d3d3dc658a6423c26df5161cb3e44a5b3b Mon Sep 17 00:00:00 2001 From: Zitrax Date: Fri, 17 Jul 2015 16:43:25 +0200 Subject: [PATCH] Fix selectitem(...). Fixing issue #17. --- Ldtpd/Combobox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);