Page 1 of 1

How to make the Test Case Name textbox greater?

PostPosted: Tue Jul 19, 2011 1:50 am
by ryanfung
How to make the Test Case Name's textbox greater?

Every time I try to create a test case, the title is
bounded within 75 words approximately. Is there any way to make the textbox larger?

Please help!

Re: How to make the Test Case Name textbox greater?

PostPosted: Wed Jul 20, 2011 2:37 am
by TurboPT
ryanfung wrote:How to make the Test Case Name's textbox greater?

... Is there any way to make the textbox larger?

Please help!

Greater/larger how?

1. increase the display width of the textbox?
2. increase the amount of text input for the title?

Those are two different things.
If #1, that is more easily done, because it it would simply involve changing the 'size' property of the textbox in the template, and then reloading the page.

if #2, then the situation is more involved, as the database field size would need to change along with the input max of the textbox. [as well as any handling restrictions within the code base for that input]

Re: How to make the Test Case Name textbox greater?

PostPosted: Fri Jul 22, 2011 10:17 am
by ryanfung
I would like to know the detail steps for both display more text for each test case, and how to make each test case's title longer (being able to input more text inside the test case title box)

Could you please be specific in what are the steps to do this because I tried a lot of times with different solution on this forum, but none of those works.

Anyways, thank you so much for helping!

Re: How to make the Test Case Name textbox greater?

PostPosted: Sun Jul 24, 2011 8:15 pm
by TurboPT
Which 1.8.x TestLink version do you have?

Re: How to make the Test Case Name textbox greater?

PostPosted: Mon Jul 25, 2011 1:42 am
by ryanfung
i got version 1.8.4.

Thanks for the help! Really appreciated.

Re: How to make the Test Case Name textbox greater?

PostPosted: Tue Jul 26, 2011 2:04 am
by TurboPT
To item #1 of my first post in this topic: increase the display width.

First, a few disclaimers:

  • know that I am a forum contributor and NOT a member of the TestLink development team.
    [although, I DO like to help in that area if/when I can :D ]
  • this would be considered a custom modification, NOT subject to TestLink support
  • being a custom modification, this change will have be manually applied, by you, to future versions
In the path to /gui/templates/
1. there is a file named: input_dimensions.conf
2. the setting within that file, for the testcase title's display width, is: TESTCASE_NAME_SIZE [currently set at 50]
3. change that value to the desired setting
4. save the file, and reload
5. navigate back to the Testcase Edit area to check the title's input display size
6. repeat steps 3 through 5 until the desired width is achieved

Be aware that it IS possible to make the width wider than the input that can be accepted.
[because of the limit mentioned by item #2, in my first post of this topic, that has NOT yet been covered]

That is all for #1.