Forum Discussion

mohamed_mansoor's avatar
mohamed_mansoor
Occasional Contributor
11 years ago
Solved

How to the get the unique properties of text box1 (if the window have two text boxes )

Hi All,



I am new in testcomplet tool i want to access the particular text box in some window but it has two text boxes so i have used "FindChild" method to to access the text box1(i used FindChlid("WndClass","Edit",100) ) but it is trying to access another textbox2 



Anyone please he[p me 
  • You should use FindChildren instead. It returns an array of controls and you will be able to get the necessary one by index.

1 Reply

  • karkadil's avatar
    karkadil
    Valued Contributor
    You should use FindChildren instead. It returns an array of controls and you will be able to get the necessary one by index.