Forum Discussion

sridharp_mcf's avatar
sridharp_mcf
Contributor
16 years ago

Through Script How to Find the TextBoxes in a page and enter text to that Boxes

Hi,



I have a page with different TextBoxes, I have to enter a text in to particular TextBox Using Script



Thanks in Advance





Sridhar

3 Replies

  • Hi David





    Can't we do this through VBScript, is the recording only way to do this



    Sridhar

  • Hi Sridhar,





    You can create a test manually. To do this, you need to find the path to the needed text box in the object tree (you can do this in the Object Browser), after that, you need to determine the property that you can use to set some text to the control. The easiest way is to record a script (you can record a script in VBScript as well) - in this case, TestComplete performs all these actions automatically.