dan_qa
7 years agoNew Contributor
Unable to Use ObjectLabel Property in FindChild to Set Textbox to Object
I am using:
page.FindChild(new Array("ObjectLabel"), new Array("*Solicitation Quantity:*"), 1000);
page is a variable referencing the system explorer and current webpage. I instantiate two new Arrays, and spied the textbox properties to determine the ObjectLabel as 'Solicitation Quantity:'. The depth is just a large enough value to ensure we dive deep enough into the hierarchy.
I have had no trouble using FindChild in a very similar way to find buttons and text on a webpage, it seems to be an issue specific to textboxes.
Any help is appreciated.