List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


[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,
    Greg

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                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833