on click UI elements

Applescript dictionary of System Events says:

click will do the same as you click on the UI elements, but I encouter problem when I try click text field 1, I could not see the text field get focused and ready for input after I run the applescript, while I click the text field using mouse I can make the text field focused and ready for input.

Do you really need “click” the text field, or input data into it? Then:

set value of text field [...] to "blah"

I hope my script can really simulate user operation, so need to operate click text field to make it focused and then use keystroke to input something. I like Applescript in that it makes me simulate user operation and make a lot of sense in testing the GUI.

So is there a way to solve the problem in my first post or maybe Applescript staff can add the function like that.