fkr717
10 years agoOccasional Contributor
How to use CTRL-A (select all) when recording test
Brand New to TestComplete, using version 10. Testing a windows form application written in C#. Using .NET v4.5.
This is my first day working with Test Complete so I am writing a simple test to open a form, remove all the data that is in a text field (Ctrl-A, Backspace) then enter some new data and validate that the text field is filled in properly. Unfortunately Ctrl-A does not work in the test recorder. Any thoughts on how to accomplish this? Thanks, Kurt
My 2 cents on this older request. I've learned my lesson with using the setText method, as you may skip some validations on some controls.
Use the Keys method, and start the keys with ^a and then your text. IE "^atext"