List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Max Lenght of Characters in a textfield

  • Subject: Re: [QF-Test] Max Lenght of Characters in a textfield
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 27 May 2013 16:48:51 +0200

Hello Gonzalo,

since JTextArea doesn't have a simple maxlength attribute that you can
check at script level, you should implement the check from an end-users
point of view:

If, for example, the maximum length is 20 characters, replay a Text
input node with a text of length 21 and the 'Clear textfield first'
and 'Replay single events' attributes checked, then follow it with a
check that verifies that only the first characters were accepted.

Best regards,

Gonzalo Parra <gonzalo.parra@?.com> writes:

> Hello,
> Im testing a Java application and I would like to know if there is any way to check the maximum
> length allowed by a text field.
> Thanks in advance
> Regards
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833