Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2013

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

Videos Downloads Documentation Buy Free Trial