The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Max Lenght of Characters in a textfield
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
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.