FindAllChildren finds a particular object, but unable to navigate to them
I am trying to find objects in a .NET 4.5 client server application developed using Infragistic controls. I am trying to find a control as follows
ObjectName = "txtBudgetID_EmbeddableTextBox"
ObjectId = "WinFormsObject"&"(""" & ObjectName & "" &""")"
PropArray = Array("ClrClassName", "Name")
ValuesArray = Array("EmbeddableTextBoxWithUIPermissions", ObjectId)
TBoxBudget = PanelMain.FindAllChildren(PropArray, ValuesArray, 5)
The FinallChildren method finds the object. I am using the click method to click the object, but it doesn't click the object. I am using setfocus method and again it doesn't work. Both methods click and setfocus doesn't give any error, but the control doesn't go the item. Because the control doesn't go to the object, my set_text method fails.
The set_text method works if manually click at the object and then run my automation script.
Appreicate your help
Thanks in advance
- Hi -
It works better for us if we don't go all the way down to the Embeddable Text Box level. We work with the objects one level up from there, usually it's a _textbox. See my screenshot for an example.