Max length for test case fields?

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
fishfan77
TestLink user
Posts: 11
Joined: Fri Feb 05, 2010 9:16 pm

Max length for test case fields?

Post by fishfan77 »

I did do a search on this topic and got a lot of results but none of them really had the answers i needed. We have a couple testers that are saying that the test case text box is limited and keeps cutting off at a certain point. 1)What is the length limit 2) where/what is the setting to change (if possible) to change this?

Thanks for the help. We have just setup testlink and are trying to get full team "buy in" and little issues like this i would like to have an answer/fix for...
difool
Advanced user
Posts: 16
Joined: Wed Jan 13, 2010 9:08 am

Post by difool »

The answer depends of the editor chosen.

Look at the configuration file of the editor used.
fishfan77
TestLink user
Posts: 11
Joined: Fri Feb 05, 2010 9:16 pm

Post by fishfan77 »

FCK editor. There wasnt much in the config file. I was able to set the editor window size and enable the spell checker, I am looking to change the test case field size.
fishfan77
TestLink user
Posts: 11
Joined: Fri Feb 05, 2010 9:16 pm

Post by fishfan77 »

To further clarify, I am talking about the actual field that has STEPS and the field that has EXPECTED RESULTS. It looks like it got cut off with about 3,591 characters in STEPS.
difool
Advanced user
Posts: 16
Joined: Wed Jan 13, 2010 9:08 am

Post by difool »

Currently we have the 1.8.5 in production use with FCKeditor.
We have some test cases longer than 3500 characters (actually 10kl characters) and no problem on this side.
fishfan77
TestLink user
Posts: 11
Joined: Fri Feb 05, 2010 9:16 pm

Post by fishfan77 »

We are using 1.8.3 and i am definitely seeing this.. Dont know whats going on. I just created a test case with 3,700 characters (including spaces) and it got truncated.

I did copy and paste the test case form another document but made sure i dumped it to notepad first to strip out any "funky" characters.
difool
Advanced user
Posts: 16
Joined: Wed Jan 13, 2010 9:08 am

Post by difool »

At first glance i didn't see any configuration option managing the length of text box of Fckeditor.

Perhpas it exists but as nobody replies you should open an issue onto the tracker of testlink after asked directly on the FckEditor forum.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

TestLink has not configuration as much I know. There is open issue regarding the problem when text is longer than DB field limit. I added it on roadmap for 1.9.
Micha
TestLink user
Posts: 6
Joined: Mon Jul 12, 2010 10:02 am

Re: Max length for test case fields?

Post by Micha »

The text limit is 65,535 bytes for MySQL DB, because the data type of the test case fields is 'text''
See also http://mantis.testlink.org/view.php?id=2929
jakcam
Advanced user
Posts: 19
Joined: Mon Sep 28, 2009 3:08 pm

Re: Max length for test case fields?

Post by jakcam »

Hello,

i known this problem for Test Suite name and i fixed it, in doing this :

- Table nodes_hierarchy increase field "name" to 100 -> 255
- Modify testlink/gui/templates/input_dimensions.conf
- line 172 change : SRS_TITLE_MAXLEN = 75 -> SRS_TITLE_MAXLEN = 255
- line 174 change : SRS_SPEC_TITLE_MAXLEN = 75 -> SRS_SPEC_TITLE_MAXLEN = 255

I hope this post can give you some clue to resolve your issue.

Best regards,
Guillaume
Locked