Forum Discussion

Louis's avatar
Louis
Contributor
14 years ago

loop text entry action

I wish to perform an action where text is entered into an on screen cell then tab is pressed to select the next cell and text is entered and so on. The problem i have is each cell is been given a unique id by test complete so it looks like i will have to data drive each individual cell of which there are 500. is there a quicker way to do this?

1 Reply


  • Hi Louis,





    If you can move to the next cell by just pressing Tab, do this without relying to the object name. You can make TestComplete to type text to the currently active editor by using the Sys.Keys method.





    If this solution does not suite your needs, please describe your situation in detail. Let me know what kind of application you are working with, in which programming language it is written, which grid control you are working with and what exactly names are given to cells by TestComplete.