How to make the Test Case Name textbox greater?

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
ryanfung
TestLink user
Posts: 3
Joined: Tue Jul 19, 2011 1:44 am

How to make the Test Case Name textbox greater?

Post 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!
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

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

Post 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]
ryanfung
TestLink user
Posts: 3
Joined: Tue Jul 19, 2011 1:44 am

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

Post 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!
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

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

Post by TurboPT »

Which 1.8.x TestLink version do you have?
ryanfung
TestLink user
Posts: 3
Joined: Tue Jul 19, 2011 1:44 am

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

Post by ryanfung »

i got version 1.8.4.

Thanks for the help! Really appreciated.
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

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

Post 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
[/color]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.
Locked