tengel
13 years agoContributor
Finding Dynamically Generated Textboxes
I've been using the FInd method to find dynamically generated textboxes in the application I am testing. These textboxes are typically located 20 to 30 levels deep, most levels being dynamically constructed, it seems. I am looking for a stable and quick method of reliably finding these textboxes. Based on the properties I have chosen to use to find, sometimes the textbox is found, sometimes not, and sometimes the wrong textbox is selected. I have also put in delays to be sure the object is there when it is sought for. But there is no guarantee that the script that worked yesterday will work today. Frustration is building. What properties are reliably stable from run to run? What am I missing?