What generates line breaks when recording?
What causes new lines to be generated in a script? For example, one person's script may look like this:
While another one gets this (recording the same keystrokes):
(Assume in both situations that the Pause Threshold is zero.)
I've tried tweaking various record settings, but haven't come up with anything. Any ideas? Seems like I heard someone say once that it's a very obscure setting somewhere, but can't recall having heard any more than that.
Re: What generates line breaks when recording?
What kind of app are you recording against? (i.e. .NET, Web, Java, etc). If tp see's the controls as EditBox you should be getting the .SetText Method.
The SetText method is ideal as it is more "intelligent" than type. When TP is recording setText it will not capture extra keystrokes, as it just notes what you left in the editbox when you move off of it. Furthermore, it will clear out anytext in the field before typing to it.