Hello,
I am testing soap services and would like to record xml request/response in my test case execution. However, the Text Area size limitation (255 chars) is quite limiting and I cannot copy larger xml request/response in these custom field.
Any way to change this?
Maybe have a new custom type SOAP Message / XML/ etc
Thanks
Can CustomField (Text Area) be greater than 255 ?
Moderators: Amaradana, TurboPT, TL Developers
-
- TestLink user
- Posts: 10
- Joined: Thu Nov 26, 2009 7:25 am
- Location: Guangzhou China
- Contact:
I have gotten the method to fix this text length limit,
1. Change DB, cfield_design_values, set the type of value as TEXT.
2. Edit lib\functions\cfield_mgr.class.php
a. Find the follow code
Replaced with
here, the max size of text area is 1000,
you can change the max size number you want it to be.
b. Find the following code
Replaced it with
c. Find the following code
Replaced it with
All set, you can play with unlimited text area, happy everyday guys.
1. Change DB, cfield_design_values, set the type of value as TEXT.
2. Edit lib\functions\cfield_mgr.class.php
a. Find the follow code
Code: Select all
const TEXTAREA_MAX_SIZE = 255;
Code: Select all
const TEXTAREA_MAX_SIZE = 1000;
you can change the max size number you want it to be.
b. Find the following code
Code: Select all
var $max_length_value=255;
Code: Select all
var $max_length_value=0;
Code: Select all
var $max_length_possible_values=255;
Code: Select all
var $max_length_possible_values=0;
Re: Can CustomField (Text Area) be greater than 255 ?
Hi TestLink Team,
I have created one custom location field with "text" type. Then I have increase the size of textbox from default 255 char to 1000 char. On entering more than 255 char, text are showing in truncated manner(not showing the full text) at the time of executing that particular test case. Is there any way to resolve this problem?
Thanks in Advance !!!!
I have created one custom location field with "text" type. Then I have increase the size of textbox from default 255 char to 1000 char. On entering more than 255 char, text are showing in truncated manner(not showing the full text) at the time of executing that particular test case. Is there any way to resolve this problem?
Thanks in Advance !!!!